Use node_modules/.bin for binary executions in scripts of package.json

This commit is contained in:
Mohsen Azimi
2015-03-25 12:50:23 -07:00
parent 445e0353ca
commit 70114fe48a

View File

@@ -6,10 +6,10 @@
"homepage": "http://swagger.io",
"license": "Apache 2.0",
"scripts": {
"build": "./node_modules/gulp/bin/gulp.js;",
"serve": "./node_modules/gulp/bin/gulp.js serve;",
"build": "gulp.js;",
"serve": "gulp.js serve;",
"pretest": "jshint .",
"test": "./node_modules/gulp/bin/gulp.js; ./node_modules/mocha/bin/mocha",
"test": "gulp; mocha",
"postinstall": "cd node_modules/swagger-client/; npm install; gulp"
},
"repository": {