|
14 | 14 | "@types/eslint": "^4.16.2",
|
15 | 15 | "@types/mocha": "^5.2.2",
|
16 | 16 | "@types/node": "^10.3.3",
|
| 17 | + "coveralls": "^3.0.1", |
17 | 18 | "dts-bundle": "^0.7.3",
|
18 | 19 | "eslint": "^4.19.1",
|
19 | 20 | "eslint-plugin-mysticatea": "^5.0.0-beta.15",
|
20 | 21 | "mocha": "^5.2.0",
|
21 | 22 | "npm-run-all": "^4.1.3",
|
| 23 | + "nyc": "^12.0.2", |
22 | 24 | "rimraf": "^2.6.2",
|
23 | 25 | "rollup": "^0.60.7",
|
24 | 26 | "rollup-plugin-node-resolve": "^3.3.0",
|
|
35 | 37 | "build:rollup": "rollup -c",
|
36 | 38 | "build:dts": "dts-bundle --name regexpp --main .temp/index.d.ts --out ../index.d.ts",
|
37 | 39 | "clean": "rimraf .temp index.*",
|
| 40 | + "coveralls": "nyc report --reporter=text-lcov | coveralls", |
38 | 41 | "lint": "eslint scripts src test --ext .ts",
|
39 | 42 | "pretest": "run-s build lint",
|
40 |
| - "test": "_mocha --require ts-node/register --reporter dot --timeout 10000 \"test/*.ts\"", |
| 43 | + "test": "nyc _mocha \"test/*.ts\" --reporter dot --timeout 10000", |
41 | 44 | "update:test": "ts-node scripts/update-fixtures.ts",
|
42 | 45 | "update:ids": "ts-node scripts/update-unicode-ids.ts",
|
43 | 46 | "preversion": "npm test",
|
44 | 47 | "version": "npm run -s build",
|
45 | 48 | "postversion": "git push && git push --tags",
|
46 | 49 | "prewatch": "npm run -s clean",
|
47 |
| - "watch": "npm run -s test -- --watch-extensions .ts --watch --growl" |
| 50 | + "watch": "_mocha \"test/*.ts\" --require ts-node/register --reporter dot --timeout 10000 --watch-extensions .ts --watch --growl" |
48 | 51 | },
|
49 | 52 | "repository": {
|
50 | 53 | "type": "git",
|
|
0 commit comments