|
34 | 34 | }, |
35 | 35 | "scripts": { |
36 | 36 | "clear": "rm -Rf tmp", |
37 | | - "test": "npm run eslint && cross-env NODE_ENV=test nyc --reporter=text-summary npm run mocha", |
38 | | - "test:mongo": "npm run eslint && cross-env NODE_ENV=test nyc --reporter=text-summary npm run mocha:mongo", |
39 | | - "test:coverage": "npm run eslint && cross-env NODE_ENV=test nyc --reporter=lcovonly --reporter=text-summary npm run mocha", |
| 37 | + "test": "$npm_package_config_nyc npm run mocha", |
| 38 | + "test:mongo": "$npm_package_config_nyc npm run mocha:mongo", |
| 39 | + "test:coverage": "$npm_package_config_nyc --reporter=lcovonly npm run mocha", |
40 | 40 | "eslint": "eslint server/. test/. --config .eslintrc.json", |
41 | 41 | "start": "concurrently 'mongod' 'wait-on tcp:27017 && cross-env NODE_ENV=production node server/'", |
42 | | - "start:win": "concurrently \"mongod\" \"wait-on tcp:27017 &&SET NODE_ENV=production&& node server/\"", |
43 | 42 | "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/'", |
44 | 43 | "dev": "npm run clear && concurrently '$npm_package_config_mongoDev &>/dev/null' 'wait-on tcp:27017 && cross-env DEBUG=feathers && cross-env NODE_ENV=development nodemon server/'", |
45 | 44 | "dev:local": "sh scripts/run-local.sh", |
|
49 | 48 | "mocha:mongo": "$npm_package_config_concurrently '$npm_package_config_mongoDev &>/dev/null' 'wait-on tcp:27017 && npm run mocha'" |
50 | 49 | }, |
51 | 50 | "config": { |
| 51 | + "test": "npm run eslint && cross-env NODE_ENV=test nyc --reporter=text-summary", |
52 | 52 | "mongoDev": "mongod --dbpath data --quiet", |
53 | 53 | "mocha": "cross-env NODE_ENV=test node_modules/mocha/bin/_mocha test/ --recursive --timeout 10000 --exit", |
54 | 54 | "concurrently": "concurrently --kill-others --success first" |
|
108 | 108 | "devDependencies": { |
109 | 109 | "babel-eslint": "~8.2.3", |
110 | 110 | "concurrently": "~3.5.1", |
111 | | - "cross-env": "^5.1.5", |
| 111 | + "cross-env": "^5.2.0", |
112 | 112 | "eslint": "~4.19.1", |
113 | 113 | "istanbul": "1.1.0-alpha.1", |
114 | 114 | "mocha": "~5.2.0", |
|
0 commit comments