|
12 | 12 | },
|
13 | 13 | "scripts": {
|
14 | 14 | "postinstall": "ngcc",
|
| 15 | + "prepare": "husky install", |
15 | 16 | "ng": "ng",
|
16 | 17 | "build": "ng build --configuration production && yarn build:schematics && yarn copy:schematics && yarn copy:docs",
|
17 | 18 | "build:schematics": "tsc -p projects/spectator/schematics/tsconfig.json",
|
|
21 | 22 | "lint": "ng lint",
|
22 | 23 | "format": "prettier --write \"{projects,src}/**/*.ts\"",
|
23 | 24 | "commit": "git-cz",
|
24 |
| - "commitmsg": "commitlint -e $GIT_PARAMS", |
25 |
| - "precommit": "lint-staged", |
26 | 25 | "contributors:add": "all-contributors add",
|
27 | 26 | "contributors:generate": "all-contributors generate",
|
28 | 27 | "copy:docs": "cp *.md dist/spectator",
|
|
52 | 51 | "@angular/platform-browser": "^15.0.3",
|
53 | 52 | "@angular/platform-browser-dynamic": "^15.0.3",
|
54 | 53 | "@angular/router": "15.0.3",
|
55 |
| - "@commitlint/cli": "12.0.1", |
56 |
| - "@commitlint/config-angular": "12.0.1", |
57 |
| - "@commitlint/config-conventional": "12.0.1", |
| 54 | + "@commitlint/cli": "17.3.0", |
| 55 | + "@commitlint/config-angular": "17.3.0", |
| 56 | + "@commitlint/config-conventional": "17.3.0", |
58 | 57 | "@types/jasmine": "3.8.1",
|
59 | 58 | "@types/jest": "26.0.24",
|
60 | 59 | "@types/node": "16.3.1",
|
|
67 | 66 | "eslint": "^8.28.0",
|
68 | 67 | "git-cz": "^4.7.6",
|
69 | 68 | "helpful-decorators": "^2.1.0",
|
70 |
| - "husky": "^4.3.8", |
| 69 | + "husky": "^8.0.2", |
71 | 70 | "jasmine-core": "3.8.0",
|
72 | 71 | "jasmine-spec-reporter": "7.0.0",
|
73 | 72 | "jest": "28.0.0",
|
|
77 | 76 | "karma-coverage-istanbul-reporter": "3.0.3",
|
78 | 77 | "karma-jasmine": "4.0.1",
|
79 | 78 | "karma-jasmine-html-reporter": "1.7.0",
|
80 |
| - "lint-staged": "^10.5.3", |
| 79 | + "lint-staged": "^13.1.0", |
81 | 80 | "ng-packagr": "15.0.2",
|
82 | 81 | "prettier": "2.3.2",
|
83 | 82 | "rxjs": "6.6.3",
|
|
93 | 92 | },
|
94 | 93 | "lint-staged": {
|
95 | 94 | "*.ts": [
|
96 |
| - "prettier --write", |
97 |
| - "git add" |
| 95 | + "prettier --write" |
98 | 96 | ]
|
99 | 97 | }
|
100 | 98 | }
|
0 commit comments