aboutsummaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
Diffstat (limited to 'package.json')
-rw-r--r--package.json10
1 files changed, 9 insertions, 1 deletions
diff --git a/package.json b/package.json
index e6762b9..9b6cf5b 100644
--- a/package.json
+++ b/package.json
@@ -8,7 +8,10 @@
"start": "nuxt-ts start",
"generate": "nuxt-ts generate",
"lint:js": "eslint --ext .js,.vue --ignore-path .gitignore .",
- "lint": "yarn lint:js"
+ "lint": "yarn lint:js",
+ "prepare": "husky install",
+ "commit": "cz",
+ "commit:signed": "cz -S"
},
"dependencies": {
"@nuxt/content": "^1.9.0",
@@ -21,14 +24,19 @@
"nuxt": "^2.14.6"
},
"devDependencies": {
+ "@commitlint/cli": "^12.1.4",
+ "@commitlint/config-conventional": "^12.1.4",
"@nuxt/types": "^2.14.6",
"@nuxt/typescript-build": "^2.0.3",
"@nuxtjs/eslint-config": "^3.1.0",
"@nuxtjs/eslint-config-typescript": "^3.0.0",
"@nuxtjs/eslint-module": "^2.0.0",
"babel-eslint": "^10.1.0",
+ "commitizen": "^4.2.4",
+ "cz-conventional-changelog": "^3.3.0",
"eslint": "^7.10.0",
"eslint-plugin-nuxt": "^1.0.0",
+ "husky": "^6.0.0",
"node-sass": "^5.0.0",
"sass-loader": "^10.1.0"
},