Merge pull request #335 from steven-supersolid/master
Add support for running tests on Windows
This commit is contained in:
@@ -32,6 +32,7 @@
|
||||
"babel-preset-es2015": "^6.5.0",
|
||||
"babel-register": "^6.5.1",
|
||||
"codecov": "^1.0.1",
|
||||
"cross-env": "^1.0.7",
|
||||
"deep-diff": "^0.3.3",
|
||||
"gaze": "^0.5.2",
|
||||
"jasmine": "^2.3.2",
|
||||
@@ -41,8 +42,8 @@
|
||||
"scripts": {
|
||||
"dev": "npm run build && bin/dev",
|
||||
"build": "./node_modules/.bin/babel src/ -d lib/",
|
||||
"pretest": "MONGODB_VERSION=${MONGODB_VERSION:=3.0.8} mongodb-runner start",
|
||||
"test": "NODE_ENV=test TESTING=1 ./node_modules/.bin/babel-node ./node_modules/.bin/babel-istanbul cover -x **/spec/** ./node_modules/.bin/jasmine",
|
||||
"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 ./node_modules/babel-istanbul/lib/cli.js cover -x **/spec/** ./node_modules/jasmine/bin/jasmine.js",
|
||||
"posttest": "mongodb-runner stop",
|
||||
"start": "./bin/parse-server",
|
||||
"prepublish": "npm run build"
|
||||
|
||||
Reference in New Issue
Block a user