File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ _
Original file line number Diff line number Diff line change 1+ #! /bin/sh
2+ . " $( dirname " $0 " ) /_/husky.sh"
3+
4+ npx lint-staged
Original file line number Diff line number Diff line change 77 "setup": "npm run clean && npm install",
88 "setup:yarn": "yarn run clean && yarn",
99 "setup:pnpm": "pnpm run clean && pnpm install",
10- "postinstall": "ts-patch install && nx run core:setup",
10+ "postinstall": "ts-patch install && husky install && nx run core:setup",
1111 "start": "nps",
1212 "changelog": "conventional-changelog -p angular -i CHANGELOG.md -s"
1313 },
4444 "eslint-config-prettier": "~6.11.0",
4545 "eslint-plugin-prettier": "^3.3.1",
4646 "gonzales": "^1.0.7",
47- "husky": "^4.2.5 ",
47+ "husky": "^5.1.3 ",
4848 "jest": "~26.2.2",
49- "lint-staged": "^10.2.11 ",
49+ "lint-staged": "^10.5.0 ",
5050 "mocha": "^8.0.1",
5151 "mocha-typescript": "^1.1.17",
5252 "module-alias": "^2.2.2",
6767 "webpack": "~4.44.1",
6868 "webpack-cli": "~3.3.12"
6969 },
70- "husky": {
71- "hooks": {
72- "pre-commit": "npx lint-staged"
73- }
74- },
7570 "lint-staged": {
7671 "**/*": [
7772 "nx format:write --files"
You can’t perform that action at this time.
0 commit comments