Modified the npm dev script to support Windows

Windows does not support shebangs/hashbangs. Added the node command to run the bin/dev script. Extension of #831
This commit is contained in:
Aneesh Devasthale
2016-03-05 10:47:27 +05:30
parent fb9f784a87
commit 7cc059973b

View File

@@ -55,7 +55,7 @@
"nodemon": "^1.8.1"
},
"scripts": {
"dev": "npm run build && bin/dev",
"dev": "npm run build && node bin/dev",
"build": "./node_modules/.bin/babel src/ -d lib/",
"pretest": "cross-env MONGODB_VERSION=${MONGODB_VERSION:=3.0.8} ./node_modules/.bin/mongodb-runner start",
"test": "cross-env NODE_ENV=test TESTING=1 ./node_modules/.bin/babel-node $COVERAGE_OPTION ./node_modules/jasmine/bin/jasmine.js",