|
8 | 8 | "build": "tsc",
|
9 | 9 | "lint": "tslint --project ./tsconfig.json",
|
10 | 10 | "prepublishOnly": "yarn build",
|
11 |
| - "test": "jest" |
| 11 | + "test": "nyc mocha" |
12 | 12 | },
|
13 | 13 | "repository": {
|
14 | 14 | "type": "git",
|
|
27 | 27 | "engines": {
|
28 | 28 | "node": ">=10.0.0"
|
29 | 29 | },
|
| 30 | + "dependencies": { |
| 31 | + "async-rwlock": "^1.0.0", |
| 32 | + "emittery": "^0.4.1" |
| 33 | + }, |
30 | 34 | "devDependencies": {
|
31 |
| - "@types/jest": "^23.3.12", |
| 35 | + "@types/chai": "^4.1.7", |
| 36 | + "@types/chai-as-promised": "^7.1.0", |
| 37 | + "@types/mocha": "^5.2.5", |
32 | 38 | "@types/node": "^10.12.18",
|
33 |
| - "@types/tmp": "^0.0.33", |
34 |
| - "jest": "^23.6.0", |
35 |
| - "null-writable": "^1.0.0", |
36 |
| - "random-readable": "^1.0.1", |
37 |
| - "tmp": "^0.0.33", |
38 |
| - "ts-jest": "^23.10.5", |
| 39 | + "@types/proxyquire": "^1.3.28", |
| 40 | + "@types/sinon": "^7.0.5", |
| 41 | + "@types/sinon-chai": "^3.2.2", |
| 42 | + "chai": "^4.2.0", |
| 43 | + "chai-as-promised": "^7.1.1", |
| 44 | + "mocha": "^5.2.0", |
| 45 | + "nyc": "^13.1.0", |
| 46 | + "proxyquire": "^2.1.0", |
| 47 | + "sinon": "^7.2.3", |
| 48 | + "sinon-chai": "^3.3.0", |
| 49 | + "source-map-support": "^0.5.10", |
| 50 | + "ts-node": "^8.0.2", |
39 | 51 | "tslint": "^5.11.0",
|
40 | 52 | "tslint-eslint-rules": "^5.4.0",
|
41 |
| - "typescript": "^3.2.2" |
| 53 | + "typescript": "^3.2.4" |
42 | 54 | },
|
43 |
| - "dependencies": { |
44 |
| - "async-rwlock": "^1.0.0" |
| 55 | + "nyc": { |
| 56 | + "extension": [ |
| 57 | + ".ts" |
| 58 | + ], |
| 59 | + "require": [ |
| 60 | + "ts-node/register" |
| 61 | + ], |
| 62 | + "include": [ |
| 63 | + "src/**/*.ts" |
| 64 | + ], |
| 65 | + "exclude": [ |
| 66 | + "**/*.d.ts" |
| 67 | + ], |
| 68 | + "reporter": [ |
| 69 | + "text", |
| 70 | + "html" |
| 71 | + ], |
| 72 | + "all": true |
45 | 73 | }
|
46 | 74 | }
|
0 commit comments