|
9 | 9 | "bootstrap": "npm run compile", |
10 | 10 | "pretest": "npm run compile", |
11 | 11 | "install": "node-gyp rebuild", |
| 12 | + "prettier": "prettier", |
| 13 | + "typecheck": "tsc --noEmit", |
12 | 14 | "test": "mocha", |
13 | 15 | "test-cov": "nyc -x \"**/*.spec.*\" --reporter=lcov --reporter=text --reporter=html npm run test", |
14 | 16 | "test-ci": "npm run test-cov", |
15 | 17 | "lint": "eslint . && prettier --check .", |
16 | | - "check": "npm run lint && npm run test", |
| 18 | + "depcheck": "depcheck", |
| 19 | + "check": "npm run typecheck && npm run lint && npm run depcheck", |
17 | 20 | "prepublishOnly": "npm run compile", |
18 | | - "benchmark": "ts-node scripts/benchmark.ts" |
| 21 | + "benchmark": "ts-node scripts/benchmark.ts", |
| 22 | + "reformat": "npm run prettier -- --write ." |
19 | 23 | }, |
20 | 24 | "author": "Compass Team <[email protected]>", |
21 | 25 | "gypfile": true, |
|
50 | 54 | "@mongodb-js/mocha-config-devtools": "^1.0.5", |
51 | 55 | "@mongodb-js/prettier-config-devtools": "^1.0.2", |
52 | 56 | "@mongodb-js/tsconfig-devtools": "^1.0.3", |
53 | | - "@types/chai": "^4.2.21", |
54 | 57 | "@types/mocha": "^9.1.1", |
55 | 58 | "@types/node": "^17.0.35", |
56 | 59 | "@types/sinon-chai": "^3.2.5", |
57 | | - "chai": "^4.5.0", |
58 | 60 | "eslint": "^7.25.0", |
59 | 61 | "gen-esm-wrapper": "^1.1.1", |
60 | 62 | "mocha": "^8.4.0", |
| 63 | + "depcheck": "^1.4.7", |
61 | 64 | "node-machine-id": "^1.1.12", |
62 | | - "ts-node": "^10.9.2", |
63 | | - "typescript": "^5.0.4" |
| 65 | + "prettier": "^3.5.3", |
| 66 | + "typescript": "^5.0.4", |
| 67 | + "ts-node": "^10.9.2" |
64 | 68 | }, |
65 | 69 | "keywords": [ |
66 | 70 | "machine id", |
|
0 commit comments