Skip to content
This repository was archived by the owner on Jun 27, 2019. It is now read-only.

Commit 3b69b34

Browse files
fixed damn stupid package.json issue. note to the univers: package.json vars are mostly useless.
1 parent c06f6df commit 3b69b34

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@
3434
},
3535
"scripts": {
3636
"clear": "rm -Rf tmp",
37-
"test": "$npm_package_config_nyc npm run mocha",
38-
"test:mongo": "$npm_package_config_nyc npm run mocha:mongo",
37+
"test": "npm run eslint && cross-env NODE_ENV=test nyc --reporter=lcovonly --reporter=text-summary npm run mocha",
38+
"test:mongo": "npm run eslint && cross-env NODE_ENV=test nyc --reporter=lcovonly --reporter=text-summary npm run mocha:mongo",
3939
"eslint": "eslint server/. test/. --config .eslintrc.json",
4040
"start": "concurrently 'mongod' 'wait-on tcp:27017 && cross-env NODE_ENV=production node server/'",
4141
"dev:debug": "npm run clear && concurrently '$npm_package_config_mongoDev &>/dev/null' 'wait-on tcp:27017 && cross-env DEBUG=feathers && cross-env NODE_ENV=development nodemon --inspect server/'",
@@ -47,7 +47,6 @@
4747
"mocha:mongo": "$npm_package_config_concurrently '$npm_package_config_mongoDev &>/dev/null' 'wait-on tcp:27017 && npm run mocha'"
4848
},
4949
"config": {
50-
"test": "npm run eslint && cross-env NODE_ENV=test nyc --reporter=text-summary --reporter=lcovonly",
5150
"mongoDev": "mongod --dbpath data --quiet",
5251
"mocha": "cross-env NODE_ENV=test node_modules/mocha/bin/_mocha test/ --recursive --timeout 10000 --exit",
5352
"concurrently": "concurrently --kill-others --success first"

0 commit comments

Comments
 (0)