Skip to content

Commit d5573ff

Browse files
authoredJul 3, 2018
Adding Typescript support (#232)
1 parent 116c7e2 commit d5573ff

20 files changed

+452
-178
lines changed
 

‎.eslintrc.yml

+3
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,6 @@ rules:
1111
block-scoped-var: error
1212
eqeqeq: error
1313
no-warning-comments: warn
14+
node/no-missing-require: ["error", {
15+
"tryExtensions": [".js", ".ts", ".json"]
16+
}]

‎.nycrc

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
22
"report-dir": "./.coverage",
33
"exclude": [
4-
"src/*{/*,/**/*}.js",
5-
"src/*/v*/*.js",
6-
"test/**/*.js"
4+
"build/src/*{/*,/**/*}.js",
5+
"build/src/*/v*/*.js",
6+
"build/test/**/*.js"
77
],
88
"watermarks": {
99
"branches": [

‎conformance/runner.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ const duplexify = require('duplexify');
2626
const gax = require('google-gax');
2727
const grpc = new gax.GrpcClient().grpc;
2828

29-
const Firestore = require('../');
29+
const Firestore = require('../src');
3030
const reference = require('../src/reference')(Firestore);
3131
const document = require('../src/document')(reference.DocumentReference);
3232
const DocumentSnapshot = document.DocumentSnapshot;

‎package-lock.json

+300
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)
Please sign in to comment.