|
8 | 8 | "build:watch": "npm run clean && ./node_modules/.bin/babel src --out-dir dist -s -w", |
9 | 9 | "clean": "./node_modules/.bin/rimraf dist", |
10 | 10 | "commit": "./node_modules/.bin/git-cz", |
| 11 | + "coverage:report": "./node_modules/.bin/nyc report", |
| 12 | + "coverage:send": "./node_modules/.bin/nyc report --reporter=text-lcov | ./node_modules/.bin/coveralls", |
11 | 13 | "lint": "./node_modules/.bin/eslint --ignore-path=.gitignore --fix ./src", |
12 | 14 | "lint-prod": "NODE_ENV='production' npm run lint", |
13 | 15 | "version": " ./node_modules/.bin/conventional-changelog -i CHANGELOG.md -s && git add CHANGELOG.md", |
14 | 16 | "prepublish": "npm run build", |
15 | 17 | "precommit": "npm test", |
16 | 18 | "commitmsg": "./node_modules/.bin/validate-commit-msg", |
17 | | - "test": "npm run lint-prod && ./node_modules/.bin/ava --verbose", |
18 | | - "test:watch": "npm run lint && ./node_modules/.bin/ava --verbose --watch", |
| 19 | + "test": "npm run lint-prod && ./node_modules/.bin/nyc ./node_modules/.bin/ava --verbose", |
| 20 | + "test:watch": "npm run lint && ./node_modules/.bin/nyc ./node_modules/.bin/ava --verbose --watch", |
19 | 21 | "release:patch": "npm run commit && npm version patch && git push upstream master --tags && npm publish", |
20 | 22 | "release:minor": "npm run commit && npm version minor && git push upstream master --tags && npm publish", |
21 | 23 | "release:major": "npm run commit && npm version major && git push upstream master --tags && npm publish" |
|
58 | 60 | "babel-register": "^6.16.3", |
59 | 61 | "commitizen": "^2.8.6", |
60 | 62 | "conventional-changelog-cli": "^1.2.0", |
| 63 | + "coveralls": "^2.11.14", |
61 | 64 | "cz-conventional-changelog": "^1.2.0", |
62 | | - "husky": "^0.11.9", |
63 | 65 | "eslint": "^3.7.1", |
64 | 66 | "eslint-plugin-ava": "^3.1.0", |
| 67 | + "husky": "^0.11.9", |
| 68 | + "nyc": "^8.4.0", |
65 | 69 | "rimraf": "^2.5.4", |
66 | 70 | "validate-commit-msg": "^2.8.2" |
67 | 71 | }, |
|
0 commit comments