diff options
Diffstat (limited to 'package.json')
-rw-r--r-- | package.json | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/package.json b/package.json index 259e42bda..20375fe59 100644 --- a/package.json +++ b/package.json | |||
@@ -19,7 +19,6 @@ | |||
19 | "prebuild": "gulp build", | 19 | "prebuild": "gulp build", |
20 | "build": "node_modules/.bin/electron-builder --publish onTag", | 20 | "build": "node_modules/.bin/electron-builder --publish onTag", |
21 | "rebuild": "node_modules/.bin/electron-rebuild", | 21 | "rebuild": "node_modules/.bin/electron-rebuild", |
22 | "precommit": "npm lint", | ||
23 | "commit": "git-cz", | 22 | "commit": "git-cz", |
24 | "changelog": "conventional-changelog -p angular -i CHANGELOG.md -s" | 23 | "changelog": "conventional-changelog -p angular -i CHANGELOG.md -s" |
25 | }, | 24 | }, |
@@ -107,7 +106,9 @@ | |||
107 | "gulp-sass": "^4.0.2", | 106 | "gulp-sass": "^4.0.2", |
108 | "gulp-sass-variables": "^1.1.1", | 107 | "gulp-sass-variables": "^1.1.1", |
109 | "gulp-server-livereload": "^1.9.2", | 108 | "gulp-server-livereload": "^1.9.2", |
110 | "node-sass": "^4.7.2" | 109 | "husky": "^1.1.4", |
110 | "node-sass": "^4.7.2", | ||
111 | "prettier": "1.15.2" | ||
111 | }, | 112 | }, |
112 | "config": { | 113 | "config": { |
113 | "commitizen": { | 114 | "commitizen": { |
@@ -116,5 +117,10 @@ | |||
116 | }, | 117 | }, |
117 | "browserslist": [ | 118 | "browserslist": [ |
118 | "Chrome 66" | 119 | "Chrome 66" |
119 | ] | 120 | ], |
121 | "husky": { | ||
122 | "hooks": { | ||
123 | "pre-commit": "npm run lint" | ||
124 | } | ||
125 | } | ||
120 | } | 126 | } |