fix(husky): use hooks

This commit is contained in:
moklick
2019-07-15 17:31:20 +02:00
parent cc8d36166b
commit 688811c64d
+6 -2
View File
@@ -36,8 +36,12 @@
"scripts": { "scripts": {
"build": "rollup -c", "build": "rollup -c",
"watch": "rollup -w -c", "watch": "rollup -w -c",
"dev": "parcel example/index.html -d example/build", "dev": "parcel example/index.html -d example/build"
"pre-commit": "npm run build" },
"husky": {
"hooks" : {
"pre-commit": "npm run build"
}
}, },
"files": [ "files": [
"dist" "dist"