We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 96cef68 commit 3e8f2ddCopy full SHA for 3e8f2dd
2 files changed
package.json
@@ -22,7 +22,8 @@
22
"pretest": "npm run lint",
23
"test": "jest",
24
"pretravis": "npm run lint && npm run clean",
25
- "travis": "npm run cover"
+ "travis": "npm run cover",
26
+ "precommit": "lint-staged"
27
},
28
"repository": "SimenB/add-asset-html-webpack-plugin",
29
"keywords": [
@@ -50,9 +51,11 @@
50
51
"eslint-config-simenb-base": "^12.1.3",
52
"eslint_d": "^4.2.5",
53
"html-webpack-plugin": "^2.10.0",
54
+ "husky": "^0.13.3",
55
"in-publish": "^2.0.0",
56
"jest": "^19.0.0",
57
"licensor": "^3.1.0",
58
+ "lint-staged": "^3.4.0",
59
"prettier": "^1.1.0",
60
"webpack": "^2.2.1"
61
@@ -72,5 +75,11 @@
72
75
"statements": 100
73
76
}
74
77
78
+ },
79
+ "lint-staged": {
80
+ "*.js": [
81
+ "eslint_d --fix",
82
+ "git add"
83
+ ]
84
85
0 commit comments