We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c6406b9 commit f5926bfCopy full SHA for f5926bf
package.json
@@ -56,7 +56,7 @@
56
"dev": "npm run build && bin/dev",
57
"build": "./node_modules/.bin/babel src/ -d lib/",
58
"pretest": "cross-env MONGODB_VERSION=${MONGODB_VERSION:=3.0.8} ./node_modules/.bin/mongodb-runner start",
59
- "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",
+ "test": "cross-env NODE_ENV=test TESTING=1 ./node_modules/.bin/babel-node $([[ $COVERAGE == 1 ]] && echo './node_modules/babel-istanbul/lib/cli.js cover -x **/spec/**') ./node_modules/jasmine/bin/jasmine.js",
60
"posttest": "mongodb-runner stop",
61
"start": "./bin/parse-server",
62
"prepublish": "npm run build"
0 commit comments