Skip to content

Commit 86b4b24

Browse files
fabien0102katowulf
authored and
katowulf
committed
fix(build): Fix npm test and test:watch commands for windows
Single quotes and semicolons don't work as expected on windows. Closes #217
1 parent 902ee8a commit 86b4b24

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@
55
"main": "bundles/angularfire2.umd.js",
66
"module": "index.js",
77
"scripts": {
8-
"test": "npm run build; karma start --single-run",
9-
"test:watch": "concurrently 'npm run build:watch' 'npm run delayed_karma'",
8+
"test": "npm run build && karma start --single-run",
9+
"test:watch": "concurrently \"npm run build:watch\" \"npm run delayed_karma\"",
1010
"delayed_karma": "sleep 10 && karma start",
1111
"delayed_rollup": "sleep 5 && rollup --watch -c rollup.test.config.js",
12-
"build:watch": "rm -rf dist && concurrently 'tsc -w' 'npm run delayed_rollup'",
12+
"build:watch": "rm -rf dist && concurrently \"tsc -w\" \"npm run delayed_rollup\"",
1313
"build": "rm -rf dist && tsc && rollup -c rollup.test.config.js",
1414
"build_npm": "rm -rf dist && ngc -p tsconfig.publish.es6.json && rollup -c rollup.publish.config.js && npm run postbuild_npm",
1515
"build_e2e": "rm -rf dist-test && npm run build && tsc -p test/ && cp test/e2e/firebase_object/index.html dist-test/e2e/firebase_object/ && cp test/e2e/firebase_list/index.html dist-test/e2e/firebase_list/ && cp test/e2e/auth/index.html dist-test/e2e/auth/",

0 commit comments

Comments
 (0)