Skip to content

Commit 7cc0599

Browse files
committed
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 parse-community#831
1 parent fb9f784 commit 7cc0599

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
"nodemon": "^1.8.1"
5656
},
5757
"scripts": {
58-
"dev": "npm run build && bin/dev",
58+
"dev": "npm run build && node bin/dev",
5959
"build": "./node_modules/.bin/babel src/ -d lib/",
6060
"pretest": "cross-env MONGODB_VERSION=${MONGODB_VERSION:=3.0.8} ./node_modules/.bin/mongodb-runner start",
6161
"test": "cross-env NODE_ENV=test TESTING=1 ./node_modules/.bin/babel-node $COVERAGE_OPTION ./node_modules/jasmine/bin/jasmine.js",

0 commit comments

Comments
 (0)