|
14 | 14 | "lint": "tslint --project tsconfig.json -c tslint.json 'src/**/*.ts'",
|
15 | 15 | "test": "yarn lint && tsc && ts-mocha --paths 'src/**/test_*.ts' --exit",
|
16 | 16 | "test:watch": "yarn lint && ts-mocha --paths 'src/**/test_*.ts' -w --watch-extensions ts",
|
17 |
| - "coveralls": "istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage", |
| 17 | + "coverage": "nyc --reporter=text npm run test", |
| 18 | + "coveralls": "nyc report --reporter=text-lcov | coveralls", |
18 | 19 | "precommit": "yarn lint",
|
19 | 20 | "semantic-release": "semantic-release",
|
20 | 21 | "prettier": "prettier --config package.json src/**/*.ts",
|
|
27 | 28 | "cron-parser": "^2.7.3",
|
28 | 29 | "get-port": "^5.0.0",
|
29 | 30 | "ioredis": "^4.3.0",
|
30 |
| - "node-uuid": "^1.4.8", |
31 | 31 | "lodash": "^4.17.11",
|
| 32 | + "node-uuid": "^1.4.8", |
32 | 33 | "semver": "^6.3.0",
|
33 | 34 | "uuid": "^3.3.3"
|
34 | 35 | },
|
35 | 36 | "devDependencies": {
|
36 | 37 | "@commitlint/cli": "^8.1.0",
|
37 | 38 | "@commitlint/config-conventional": "^8.1.0",
|
| 39 | + "@istanbuljs/nyc-config-typescript": "^0.1.3", |
38 | 40 | "@semantic-release/changelog": "^3.0.4",
|
39 | 41 | "@semantic-release/commit-analyzer": "^6.3.0",
|
40 | 42 | "@semantic-release/git": "^7.0.16",
|
|
51 | 53 | "@types/uuid": "^3.4.5",
|
52 | 54 | "chai": "^4.2.0",
|
53 | 55 | "copyfiles": "^2.1.1",
|
54 |
| - "coveralls": "^3.0.2", |
| 56 | + "coveralls": "^3.0.7", |
55 | 57 | "delay": "^4.3.0",
|
56 | 58 | "husky": "^3.0.3",
|
57 | 59 | "istanbul": "^0.4.5",
|
58 | 60 | "mocha": "^6.1.4",
|
59 | 61 | "mocha-lcov-reporter": "^1.3.0",
|
| 62 | + "nyc": "^14.1.1", |
60 | 63 | "p-reflect": "^2.1.0",
|
61 | 64 | "prettier": "^1.18.2",
|
62 | 65 | "semantic-release": "^15.13.2",
|
63 | 66 | "sinon": "^7.2.2",
|
64 | 67 | "ts-mocha": "^6.0.0",
|
| 68 | + "ts-node": "^8.4.1", |
65 | 69 | "tslint": "^5.12.0",
|
66 | 70 | "tslint-config-prettier": "^1.18.0",
|
67 | 71 | "tslint-eslint-rules": "^5.4.0",
|
68 | 72 | "tslint-plugin-prettier": "^2.0.1",
|
69 | 73 | "typedoc": "^0.15.0",
|
70 | 74 | "typescript": "^3.2.2"
|
71 | 75 | },
|
| 76 | + "nyc": { |
| 77 | + "extends": "@istanbuljs/nyc-config-typescript", |
| 78 | + "all": true, |
| 79 | + "check-coverage": true |
| 80 | + }, |
72 | 81 | "config": {
|
73 | 82 | "commitizen": {
|
74 | 83 | "path": "node_modules/cz-conventional-changelog"
|
|
0 commit comments