Skip to content

Commit 9fe6137

Browse files
author
Robert-Jan Huijsman
authored
Merge pull request #76 from FirebasePrivate/rjh-entrypoint
Introduce the basic scaffolding for a testing-only entry point
2 parents b681186 + 126dcf7 commit 9fe6137

26 files changed

+58
-15
lines changed

.npmignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
.tmp
22
coverage
33
.vscode
4+
5+
# The SDK's internal unit tests might confuse users looking for the testing/ module.
6+
spec

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
"scripts": {
77
"build": "node_modules/.bin/tsc",
88
"build:pack": "npm prune --production && npm install typescript && node_modules/.bin/tsc && npm pack && npm install",
9-
"lint": "node_modules/.bin/tslint src/{**/*,*}.ts test/{**/*,*}.ts",
10-
"pretest": "node_modules/.bin/tsc test/index.spec.ts --target es5 --outDir .tmp && cp -r test/fixtures .tmp/test",
11-
"test": "npm run lint && mocha .tmp/test/index.spec.js",
9+
"lint": "node_modules/.bin/tslint src/{**/*,*}.ts spec/{**/*,*}.ts",
10+
"pretest": "node_modules/.bin/tsc spec/index.spec.ts --target es5 --outDir .tmp && cp -r spec/fixtures .tmp/spec",
11+
"test": "npm run lint && mocha .tmp/spec/index.spec.js",
1212
"posttest": "rm -rf .tmp"
1313
},
1414
"repository": {
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)