From 0ba4c161c362da6b7a3aa3ae66318a262bf5da96 Mon Sep 17 00:00:00 2001 From: Daniel Lee Date: Mon, 23 Oct 2017 12:59:50 +0200 Subject: [PATCH] build: fix all npm run commands for Windows Adds node before each command otherwise Windows does not understand commands starting with ./ --- package.json | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/package.json b/package.json index f8730c9bf9c..93c1a22f7af 100644 --- a/package.json +++ b/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": {