Commit 0ba4c161 by Daniel Lee

build: fix all npm run commands for Windows

Adds node before each command otherwise Windows does not understand
commands starting with ./
parent 7863a041
...@@ -95,15 +95,15 @@ ...@@ -95,15 +95,15 @@
"zone.js": "^0.7.2" "zone.js": "^0.7.2"
}, },
"scripts": { "scripts": {
"dev": "./node_modules/.bin/webpack --progress --colors --config scripts/webpack/webpack.dev.js", "dev": "node ./node_modules/.bin/webpack --progress --colors --config scripts/webpack/webpack.dev.js",
"watch": "./node_modules/.bin/webpack --progress --colors --watch --config scripts/webpack/webpack.dev.js", "watch": "node ./node_modules/.bin/webpack --progress --colors --watch --config scripts/webpack/webpack.dev.js",
"build": "./node_modules/.bin/grunt build", "build": "node ./node_modules/.bin/grunt build",
"test": "./node_modules/.bin/grunt test", "test": "node ./node_modules/.bin/grunt test",
"test:coverage": "./node_modules/.bin/grunt test --coverage=true", "test:coverage": "node ./node_modules/.bin/grunt test --coverage=true",
"lint": "./node_modules/.bin/tslint -c tslint.json --project tsconfig.json --type-check", "lint": "node ./node_modules/.bin/tslint -c tslint.json --project tsconfig.json --type-check",
"karma": "./node_modules/grunt-cli/bin/grunt karma:dev", "karma": "node ./node_modules/grunt-cli/bin/grunt karma:dev",
"jest": "./node_modules/jest-cli/bin/jest.js --notify --watch", "jest": "node ./node_modules/jest-cli/bin/jest.js --notify --watch",
"precommit": "./node_modules/grunt-cli/bin/grunt precommit" "precommit": "node ./node_modules/grunt-cli/bin/grunt precommit"
}, },
"license": "Apache-2.0", "license": "Apache-2.0",
"dependencies": { "dependencies": {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment