|
14 | 14 | "test": "tests"
|
15 | 15 | },
|
16 | 16 | "scripts": {
|
17 |
| - "test": "nyc tape ./tests/unit/*.tests.js && nyc tape ./tests/e2e/*.tests.js", |
| 17 | + "test": "npm run cover", |
18 | 18 | "posttest": "npm run report-coverage",
|
19 |
| - "test-unit": "nyc tape ./tests/unit/*.tests.js", |
20 |
| - "test-e2e": "nyc tape ./tests/e2e/*.tests.js", |
21 |
| - "report-coverage": "nyc report --reporter=text-lcov > coverage.lcov && codecov", |
| 19 | + "cover": "npm run cover:unit && npm run cover:e2e", |
| 20 | + "cover:unit": "nyc --reporter=lcov --silent npm run test-unit", |
| 21 | + "cover:e2e": "nyc --reporter=lcov --silent --no-clean npm run test-e2e", |
| 22 | + "test-all": "tape ./tests/unit/*.tests.js && tape ./tests/e2e/*.tests.js", |
| 23 | + "test-unit": "tape ./tests/unit/*.tests.js", |
| 24 | + "test-e2e": "tape ./tests/e2e/*.tests.js", |
| 25 | + "report-coverage": "codecov", |
22 | 26 | "patch-release-git": "git add . && git commit -a -m 'patch release' && git push && npm version patch && npm publish",
|
23 | 27 | "patch-release": "npm version patch && npm publish",
|
24 | 28 | "lint": "eslint --fix **/*.js ./"
|
|
75 | 79 | "devDependencies": {
|
76 | 80 | "babel-eslint": "^10.0.3",
|
77 | 81 | "clear-require": "^3.0.0",
|
78 |
| - "codecov": "^3.6.5", |
| 82 | + "codecov": "^3.7.0", |
79 | 83 | "decache": "4.5.1",
|
80 | 84 | "eslint": "^6.4.0",
|
81 | 85 | "eslint-config-prettier": "^6.3.0",
|
|
0 commit comments