diff options
| author | Priyansh <[email protected]> | 2022-01-18 19:55:27 -0500 |
|---|---|---|
| committer | Priyansh <[email protected]> | 2022-01-18 19:55:27 -0500 |
| commit | c84d1ebbc0dd8433b8277637e8e95561cfe45b9b (patch) | |
| tree | 8f95f3831bed28eab7cdabb3247bc8c73dc919ce /package.json | |
| parent | 80862bebc86ae2c81a180fe8203b695878eaef51 (diff) | |
| download | izuku.js-c84d1ebbc0dd8433b8277637e8e95561cfe45b9b.tar.xz izuku.js-c84d1ebbc0dd8433b8277637e8e95561cfe45b9b.zip | |
remove esno, picocolors and semantic script and add commit husky hook
Diffstat (limited to 'package.json')
| -rw-r--r-- | package.json | 21 |
1 files changed, 18 insertions, 3 deletions
diff --git a/package.json b/package.json index d7e40ec..ce30331 100644 --- a/package.json +++ b/package.json @@ -25,16 +25,16 @@ }, "homepage": "https://github.com/luciferreeves/izuku.js#readme", "devDependencies": { + "@commitlint/cli": "^16.0.2", + "@commitlint/config-conventional": "^16.0.0", "@types/node": "^17.0.10", "@typescript-eslint/eslint-plugin": "^5.10.0", "@typescript-eslint/parser": "^5.10.0", "eslint": "^8.7.0", "eslint-config-prettier": "^8.3.0", "eslint-plugin-prettier": "^4.0.0", - "esno": "^0.14.0", "husky": "^7.0.4", "nodemon": "^2.0.15", - "picocolors": "^1.0.0", "prettier": "^2.5.1", "rimraf": "^3.0.2", "ts-node": "^10.4.0", @@ -43,7 +43,22 @@ "husky": { "hooks": { "pre-commit": "npm run prettier-format && npm run lint", - "commit-msg": "npx esno husky/semantic.ts $1" + "commit-msg": "commitlint -E HUSKY_GIT_PARAMS" + } + }, + "commitlint": { + "extends": [ + "@commitlint/config-conventional" + ], + "rules": { + "subject-case": [ + 2, + "never", + [ + "start-case", + "pascal-case" + ] + ] } } } |
