|
14 | 14 | ], |
15 | 15 | "scripts": { |
16 | 16 | "build": "NODE_ENV=production tsup", |
17 | | - "commit": "cz", |
18 | | - "commit:sign": "cz -s", |
19 | 17 | "commitlint": "commitlint --edit", |
20 | 18 | "coverage": "jest --coverage", |
21 | 19 | "dev": "NODE_ENV=development tsup", |
22 | 20 | "format:check": "prettier --check \"**/*.{ts,tsx,md}\" --config ./.prettierrc", |
23 | 21 | "format:write": "prettier --write \"**/*.{ts,tsx,md}\" --config ./.prettierrc", |
24 | | - "postinstall": "husky install", |
25 | 22 | "lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0", |
26 | 23 | "lint:fix": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0 --fix", |
| 24 | + "prepare": "husky install", |
27 | 25 | "test": "jest", |
28 | 26 | "versionup:major": "npm version major", |
29 | 27 | "versionup:minor": "npm version minor", |
30 | 28 | "versionup:patch": "npm version patch" |
31 | 29 | }, |
32 | | - "husky": { |
33 | | - "hooks": { |
34 | | - "pre-commit": "lint-staged", |
35 | | - "prepare-commit-msg": "exec < /dev/tty && yarn cz --hook || true" |
36 | | - } |
37 | | - }, |
38 | 30 | "lint-staged": { |
39 | 31 | "*.{ts,tsx,md}": [ |
40 | 32 | "prettier --write", |
|
43 | 35 | }, |
44 | 36 | "config": { |
45 | 37 | "commitizen": { |
46 | | - "path": "cz-conventional-changelog" |
| 38 | + "path": "./node_modules/cz-conventional-changelog" |
47 | 39 | } |
48 | 40 | }, |
49 | 41 | "devDependencies": { |
|
0 commit comments