@@ -62,7 +62,6 @@
6262 "lint": "prettier src/**/*.js",
6363 "lint:check": "prettier -c 'src/**/*.js'",
6464 "lint:fix": "prettier --write 'src/**/*.js'",
65− "precommit": "npm-run-all lint:check",
6665 "analyze": "source-map-explorer 'build/static/js/*.js'"
6766 },
6867 "devDependencies": {
@@ -86,5 +85,10 @@
8685 "last 1 firefox version",
8786 "last 1 safari version"
8887 ]
88+ },
89+ "husky": {
90+ "hooks": {
91+ "pre-commit": "npm-run-all lint:check"
92+ }
8993 }
9094}