'npm run' runs with node_modules/.bin in path

This commit is contained in:
Daniel Imhoff 2016-09-14 13:25:50 -05:00
parent c83b0437fa
commit abf3335415
No known key found for this signature in database
GPG Key ID: 661327B36B4B0C48

View File

@ -49,14 +49,14 @@
"test": "karma start",
"test:watch": "npm test -- --watch",
"start": "npm run test:watch",
"lint": "./node_modules/.bin/gulp lint",
"watch": "./node_modules/.bin/tsc -w",
"lint": "gulp lint",
"watch": "tsc -w",
"build": "npm run lint && npm run build:js && npm run build:esm && npm run build:bundle && npm run build:minify",
"build:js": "./node_modules/.bin/tsc",
"build:esm": "./node_modules/.bin/tsc -p ./tsconfig-esm.json",
"build:bundle": "./node_modules/.bin/browserify dist/index.js > dist/ionic.native.js",
"build:minify": "./node_modules/.bin/gulp minify:dist",
"changelog": "./node_modules/.bin/conventional-changelog -p angular -i CHANGELOG.md -s -r 0",
"build:js": "tsc",
"build:esm": "tsc -p tsconfig-esm.json",
"build:bundle": "browserify dist/index.js > dist/ionic.native.js",
"build:minify": "gulp minify:dist",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0",
"plugin:create": "gulp plugin:create"
},
"repository": {