|
14 | 14 | "scripts": { |
15 | 15 | "clean": "rimraf .nyc_output coverage", |
16 | 16 | "lint": "node bin/index.js \">=4\" eslint bin lib test", |
17 | | - "coverage": "wait-on coverage/lcov-report/index.html && opener coverage/lcov-report/index.html", |
18 | | - "coveralls": "cat coverage/lcov.info | coveralls", |
19 | | - "preversion": "run-s clean test", |
| 17 | + "preversion": "npm test", |
20 | 18 | "postversion": "git push && git push --tags", |
21 | | - "test": "run-s clean lint test:main", |
22 | | - "test:main": "nyc --require babel-register --reporter=lcov mocha \"test/*.js\" --timeout 10000", |
23 | | - "watch": "npm run clean && run-p watch:main coverage", |
24 | | - "watch:main": "chokidar \"{bin,lib,test}/**/*.js\" --initial --command \"npm run test:main\"" |
| 19 | + "pretest": "run-s clean lint", |
| 20 | + "test": "nyc mocha \"test/*.js\" --timeout 30000 --compilers js:babel-register", |
| 21 | + "coverage": "nyc report -r lcov && opener coverage/lcov-report/index.html", |
| 22 | + "watch": "mocha \"test/*.js\" --timeout 30000 --compilers js:babel-register --watch --growl", |
| 23 | + "codecov": "nyc report -r lcovonly && codecov" |
25 | 24 | }, |
26 | 25 | "dependencies": { |
27 | 26 | "cross-spawn": "^4.0.0", |
|
31 | 30 | "babel-preset-power-assert": "^1.0.0", |
32 | 31 | "babel-register": "^6.9.0", |
33 | 32 | "chokidar-cli": "^1.2.0", |
34 | | - "coveralls": "^2.11.9", |
| 33 | + "codecov": "^1.0.1", |
35 | 34 | "eslint": "^3.0.0", |
36 | 35 | "eslint-config-mysticatea": "^5.0.0", |
37 | 36 | "mocha": "^2.5.3", |
|
40 | 39 | "opener": "^1.4.1", |
41 | 40 | "pinkie-promise": "^2.0.1", |
42 | 41 | "power-assert": "^1.4.1", |
43 | | - "rimraf": "^2.5.2", |
44 | | - "wait-on": "^1.5.2" |
| 42 | + "rimraf": "^2.5.2" |
45 | 43 | }, |
46 | 44 | "repository": { |
47 | 45 | "type": "git", |
|
0 commit comments