|
19 | 19 | "format:json": "prettier --parser json --write './**/*.json'",
|
20 | 20 | "format:source": "prettier --config ./package.json --write './**/*.{js,ts}'",
|
21 | 21 | "format:yaml": "prettier --parser yaml --write './**/*.{yml,yaml}'",
|
22 |
| - "typecheck": "tsc -b tsconfig.project.json -verbose" |
| 22 | + "typecheck": "tsc -b tsconfig.project.json -verbose", |
| 23 | + "postinstall": "husky install" |
23 | 24 | },
|
24 | 25 | "devDependencies": {
|
25 |
| - "@napi-rs/cli": "^1.0.2", |
| 26 | + "@napi-rs/cli": "^1.0.3", |
26 | 27 | "@swc-node/register": "^1.0.4",
|
27 |
| - "@typescript-eslint/eslint-plugin": "^4.14.1", |
28 |
| - "@typescript-eslint/parser": "^4.14.1", |
| 28 | + "@typescript-eslint/eslint-plugin": "^4.16.1", |
| 29 | + "@typescript-eslint/parser": "^4.16.1", |
29 | 30 | "ava": "^3.15.0",
|
30 | 31 | "benchmark": "^2.1.4",
|
31 | 32 | "codecov": "^3.8.1",
|
32 | 33 | "cross-env": "^7.0.3",
|
33 |
| - "eslint": "^7.19.0", |
34 |
| - "eslint-config-prettier": "^7.2.0", |
| 34 | + "eslint": "^7.21.0", |
| 35 | + "eslint-config-prettier": "^8.1.0", |
35 | 36 | "eslint-plugin-import": "^2.22.1",
|
36 | 37 | "eslint-plugin-prettier": "^3.3.1",
|
37 | 38 | "eslint-plugin-sonarjs": "^0.6.0",
|
38 |
| - "husky": "^5.0.9", |
| 39 | + "husky": "^5.1.3", |
39 | 40 | "lerna": "^3.22.1",
|
40 |
| - "lint-staged": "^10.5.3", |
| 41 | + "lint-staged": "^10.5.4", |
41 | 42 | "npm-run-all": "^4.1.5",
|
42 | 43 | "nyc": "^15.1.0",
|
43 | 44 | "prettier": "^2.2.1",
|
44 |
| - "typescript": "^4.1.3" |
| 45 | + "typescript": "^4.2.2" |
45 | 46 | },
|
46 | 47 | "ava": {
|
47 | 48 | "extensions": ["ts"],
|
|
64 | 65 | "singleQuote": true,
|
65 | 66 | "arrowParens": "always",
|
66 | 67 | "parser": "typescript"
|
67 |
| - }, |
68 |
| - "husky": { |
69 |
| - "hooks": { |
70 |
| - "pre-commit": "lint-staged && cargo fmt --all" |
71 |
| - } |
72 | 68 | }
|
73 | 69 | }
|
0 commit comments