|
12 | 12 | "postinstall": "node _install_deps.js", |
13 | 13 | "lint": "eslint .", |
14 | 14 | "smoke": "lighthouse-cli/scripts/run-smoke-tests.sh", |
15 | | - "coverage": "istanbul cover -x \"**/third_party/**\" _mocha -- $(find */test -name '*.js') --timeout 60000", |
16 | | - "coverage:harmony": "node --harmony node_modules/istanbul/lib/cli.js cover -x \"**/third_party/**\" _mocha -- $(find */test -name '*.js') --timeout 60000", |
| 15 | + "coverage": "node $(echo $__node_harmony) $(npm bin)/istanbul cover -x \"**/third_party/**\" _mocha -- $(find */test -name '*.js') --timeout 60000", |
17 | 16 | "coveralls": "npm run coverage && cat ./coverage/lcov.info | coveralls", |
18 | | - "coveralls:harmony": "npm run coverage:harmony && cat ./coverage/lcov.info | coveralls", |
19 | 17 | "start": "node ./lighthouse-cli/index.js", |
20 | | - "test": "if [[ $(node -v) =~ ^v4.* ]]; then npm run test:harmony; else npm run test:sans-harmony; fi", |
21 | | - "test:sans-harmony": "npm run lint --silent && npm run unit && npm run closure", |
22 | | - "test:harmony": "npm run lint --silent && npm run unit:harmony && npm run closure", |
23 | | - "cli-unit": "mocha $(find lighthouse-cli/test -name '*.js') --timeout 60000", |
24 | | - "cli-unit:harmony": "mocha --harmony $(find lighthouse-cli/test -name '*.js') --timeout 60000", |
| 18 | + "test": "npm run lint --silent && npm run unit && npm run closure", |
| 19 | + "cli-unit": "mocha $(echo $__node_harmony) $(find lighthouse-cli/test -name '*.js') --timeout 60000", |
25 | 20 | "unit": "npm run cli-unit && npm --prefix ./lighthouse-core run unit", |
26 | | - "unit:harmony": "npm run cli-unit:harmony && npm --prefix ./lighthouse-core run unit:harmony", |
27 | 21 | "//": |
28 | 22 | "// passing through tasks to core", |
29 | 23 | "closure": "npm --prefix ./lighthouse-core run closure", |
|
0 commit comments