|
16 | 16 | "release": "standard-version", |
17 | 17 | "release:major": "yarn release --release-as major", |
18 | 18 | "release:minor": "yarn release --release-as minor", |
19 | | - "release:patch": "yarn release --release-as patch" |
| 19 | + "release:patch": "yarn release --release-as patch", |
| 20 | + "prepare": "husky install", |
| 21 | + "lint-staged": "lint-staged", |
| 22 | + "commitlint": "commitlint" |
20 | 23 | }, |
21 | 24 | "devDependencies": { |
22 | | - "@boringcodes/prettier-config": "^1.3.0", |
23 | | - "eslint": "^7.17.0", |
24 | | - "eslint-config-prettier": "^7.1.0", |
25 | | - "eslint-config-standard": "^16.0.2", |
26 | | - "eslint-plugin-import": "^2.22.1", |
27 | | - "eslint-plugin-node": "^11.1.0", |
28 | | - "eslint-plugin-promise": "^4.2.1", |
29 | | - "husky": "^4.3.7", |
30 | | - "lint-staged": "^10.5.3", |
31 | | - "prettier": "^2.2.1", |
32 | | - "rimraf": "^3.0.2", |
33 | | - "standard-version": "^9.1.0" |
| 25 | + "@boringcodes/prettier-config": "1.3.1", |
| 26 | + "@commitlint/cli": "12.1.4", |
| 27 | + "@commitlint/config-conventional": "12.1.4", |
| 28 | + "eslint": "7.28.0", |
| 29 | + "eslint-config-prettier": "8.3.0", |
| 30 | + "eslint-config-standard": "16.0.3", |
| 31 | + "eslint-plugin-import": "2.23.4", |
| 32 | + "eslint-plugin-node": "11.1.0", |
| 33 | + "eslint-plugin-promise": "5.1.0", |
| 34 | + "husky": "6.0.0", |
| 35 | + "lint-staged": "11.0.0", |
| 36 | + "prettier": "2.3.1", |
| 37 | + "rimraf": "3.0.2", |
| 38 | + "standard-version": "9.3.0" |
34 | 39 | }, |
35 | 40 | "peerDependencies": { |
36 | | - "eslint": "^7.17.0", |
37 | | - "eslint-config-prettier": "^7.1.0", |
38 | | - "eslint-config-standard": "^16.0.2", |
39 | | - "eslint-plugin-import": "^2.22.1", |
| 41 | + "eslint": "^7.28.0", |
| 42 | + "eslint-config-prettier": "^8.3.0", |
| 43 | + "eslint-config-standard": "^16.0.3", |
| 44 | + "eslint-plugin-import": "^2.23.4", |
40 | 45 | "eslint-plugin-node": "^11.1.0", |
41 | | - "eslint-plugin-promise": "^4.2.1" |
| 46 | + "eslint-plugin-promise": "^5.1.0" |
| 47 | + }, |
| 48 | + "lint-staged": { |
| 49 | + "*.{js,json,md,yml}": "yarn format", |
| 50 | + "*.js": "yarn lint" |
| 51 | + }, |
| 52 | + "commitlint": { |
| 53 | + "extends": [ |
| 54 | + "@commitlint/config-conventional" |
| 55 | + ] |
42 | 56 | } |
43 | 57 | } |
0 commit comments