chore(package): use husky instead of ghooks

This commit is contained in:
Julien Fontanet 2017-01-09 15:05:36 +01:00
parent 22882b1ff2
commit 3e7f552a63

View File

@ -56,13 +56,14 @@
"babel-preset-stage-0": "^6.5.0", "babel-preset-stage-0": "^6.5.0",
"cross-env": "^3.1.2", "cross-env": "^3.1.2",
"dependency-check": "^2.5.1", "dependency-check": "^2.5.1",
"ghooks": "^1.2.1", "husky": "^0.12.0",
"rimraf": "^2.5.4", "rimraf": "^2.5.4",
"standard": "^8.0.0" "standard": "^8.0.0"
}, },
"scripts": { "scripts": {
"build": "cross-env NODE_ENV=production babel --source-maps --out-dir=dist/ src/", "build": "cross-env NODE_ENV=production babel --source-maps --out-dir=dist/ src/",
"clean": "rimraf dist/", "clean": "rimraf dist/",
"commit-msg": "npm test",
"depcheck": "dependency-check ./package.json", "depcheck": "dependency-check ./package.json",
"dev": "cross-env NODE_ENV=development babel --watch --source-maps --out-dir=dist/ src/", "dev": "cross-env NODE_ENV=development babel --watch --source-maps --out-dir=dist/ src/",
"lint": "standard", "lint": "standard",
@ -86,10 +87,5 @@
"dist" "dist"
], ],
"parser": "babel-eslint" "parser": "babel-eslint"
},
"config": {
"ghooks": {
"commit-msg": "npm test"
}
} }
} }