We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a2f681a commit 5fa3236Copy full SHA for 5fa3236
package.json
@@ -38,7 +38,14 @@
38
"test:jest": "jest --no-watchman --runInBand",
39
"test:ci": "jest --no-watchman --maxWorkers 2 --coverage && codecov",
40
"watch": "watch 'clear && npm run test -s' source",
41
- "watch:jest": "jest --no-watchman --watch"
+ "watch:jest": "jest --no-watchman --watch",
42
+ "precommit": "lint-staged"
43
+ },
44
+ "lint-staged": {
45
+ "*.{js,md}": [
46
+ "prettier --write",
47
+ "git add"
48
+ ]
49
},
50
"babel": {
51
"presets": [
@@ -137,6 +144,7 @@
137
144
"immutable": "^3.7.5",
138
145
"jest": "^22.0.4",
139
146
"jest-environment-puppeteer": "^1.1.1",
147
+ "lint-staged": "^7.0.4",
140
148
"postcss": "^6.0.14",
141
149
"postcss-cli": "^4.1.1",
142
150
"postcss-loader": "^2.0.9",
0 commit comments