diff options
Diffstat (limited to 'package.json')
-rw-r--r-- | package.json | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/package.json b/package.json index de599c5..220805d 100644 --- a/package.json +++ b/package.json | |||
@@ -9,6 +9,8 @@ | |||
9 | "scripts": { | 9 | "scripts": { |
10 | "package": "node scripts/package.js", | 10 | "package": "node scripts/package.js", |
11 | "create": "node scripts/create.js", | 11 | "create": "node scripts/create.js", |
12 | "lint": "eslint --quiet --fix recipes", | ||
13 | "reformat-files": "./node_modules/.bin/prettier --ignore-path .eslintignore --write --require-pragma \"**/*.{js,scss}\"", | ||
12 | "minify-images": "./scripts/minify-images.sh" | 14 | "minify-images": "./scripts/minify-images.sh" |
13 | }, | 15 | }, |
14 | "repository": { | 16 | "repository": { |
@@ -32,6 +34,15 @@ | |||
32 | "targz": "^1.0.1" | 34 | "targz": "^1.0.1" |
33 | }, | 35 | }, |
34 | "devDependencies": { | 36 | "devDependencies": { |
35 | "imagemin-cli": "^6.0.0" | 37 | "babel-eslint": "^10.0.3", |
38 | "eslint": "^5.10.0", | ||
39 | "husky": "^6.0.0", | ||
40 | "imagemin-cli": "^6.0.0", | ||
41 | "prettier": "^2.3.0" | ||
42 | }, | ||
43 | "husky": { | ||
44 | "hooks": { | ||
45 | "pre-commit": "npm run lint && npm run reformat-files && npm run package" | ||
46 | } | ||
36 | } | 47 | } |
37 | } | 48 | } |