mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-06-27 19:53:36 +00:00
fix husky setup in prod environment
This commit is contained in:
parent
8b01ae08c5
commit
e2c9339ec4
@ -29,7 +29,7 @@ Special thanks to the following contributors: @B1gG, @codac, @ezeholz, @khassel,
|
|||||||
- Use node v16 in github workflow (replacing node v10)
|
- Use node v16 in github workflow (replacing node v10)
|
||||||
- Moved some files into better suited directories
|
- Moved some files into better suited directories
|
||||||
- Update dependencies in package.json, require node >= v12, remove `rrule-alt` and `rrule`
|
- Update dependencies in package.json, require node >= v12, remove `rrule-alt` and `rrule`
|
||||||
- Update dependencies in package.json and migrate husky to v6
|
- Update dependencies in package.json and migrate husky to v6, fix husky setup in prod environment
|
||||||
|
|
||||||
### Removed
|
### Removed
|
||||||
|
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
"lint:prettier": "prettier --write **/*.{js,css,json,md,yml}",
|
"lint:prettier": "prettier --write **/*.{js,css,json,md,yml}",
|
||||||
"lint:js": "eslint js/**/*.js modules/default/**/*.js clientonly/*.js serveronly/*.js translations/*.js vendor/*.js tests/**/*.js config/* --config .eslintrc.json --fix",
|
"lint:js": "eslint js/**/*.js modules/default/**/*.js clientonly/*.js serveronly/*.js translations/*.js vendor/*.js tests/**/*.js config/* --config .eslintrc.json --fix",
|
||||||
"lint:css": "stylelint css/main.css modules/default/**/*.css --config .stylelintrc.json --fix",
|
"lint:css": "stylelint css/main.css modules/default/**/*.css --config .stylelintrc.json --fix",
|
||||||
"prepare": "husky install"
|
"prepare": "[ -f node_modules/.bin/husky ] && husky install || echo no husky installed."
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user