Подпилил husky
Showing
| ... | ... | @@ -16,8 +16,7 @@ |
| "deploy": "cross-env NODE_ENV=production ./node_modules/.bin/gulp build && cross-env ./node_modules/.bin/gulp deploy", | ||
| "build": "cross-env NODE_ENV=production npm start build", | ||
| "img-opt": "cross-env folder=src/img npm start img:opt", | ||
| "lint-staged": "lint-staged", | ||
| "precommit": "lint-staged" | ||
| "lint-staged": "lint-staged" | ||
| }, | ||
| "browserslist": [ | ||
| "> 1%", | ||
| ... | ... | @@ -86,5 +85,10 @@ |
| "jquery": "^3.1.1", | ||
| "object-fit-images": "^3.2.3", | ||
| "svg4everybody": "^2.1.8" | ||
| }, | ||
| "husky": { | ||
| "hooks": { | ||
| "pre-commit": "lint-staged" | ||
| } | ||
| } | ||
| } |
Please
register
or
sign in
to comment