Ver código fonte

build: fix all npm run commands for Windows

Adds node before each command otherwise Windows does not understand
commands starting with ./
Daniel Lee 8 anos atrás
pai
commit
0ba4c161c3
1 arquivos alterados com 9 adições e 9 exclusões
  1. 9 9
      package.json

+ 9 - 9
package.json

@@ -95,15 +95,15 @@
     "zone.js": "^0.7.2"
   },
   "scripts": {
-    "dev": "./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",
-    "build": "./node_modules/.bin/grunt build",
-    "test": "./node_modules/.bin/grunt test",
-    "test:coverage": "./node_modules/.bin/grunt test --coverage=true",
-    "lint": "./node_modules/.bin/tslint -c tslint.json --project tsconfig.json --type-check",
-    "karma": "./node_modules/grunt-cli/bin/grunt karma:dev",
-    "jest": "./node_modules/jest-cli/bin/jest.js --notify --watch",
-    "precommit": "./node_modules/grunt-cli/bin/grunt precommit"
+    "dev": "node ./node_modules/.bin/webpack --progress --colors --config scripts/webpack/webpack.dev.js",
+    "watch": "node ./node_modules/.bin/webpack --progress --colors --watch --config scripts/webpack/webpack.dev.js",
+    "build": "node ./node_modules/.bin/grunt build",
+    "test": "node ./node_modules/.bin/grunt test",
+    "test:coverage": "node ./node_modules/.bin/grunt test --coverage=true",
+    "lint": "node ./node_modules/.bin/tslint -c tslint.json --project tsconfig.json --type-check",
+    "karma": "node ./node_modules/grunt-cli/bin/grunt karma:dev",
+    "jest": "node ./node_modules/jest-cli/bin/jest.js --notify --watch",
+    "precommit": "node ./node_modules/grunt-cli/bin/grunt precommit"
   },
   "license": "Apache-2.0",
   "dependencies": {