Authored by 毕凯

更换 precommit hook

... ... @@ -5,9 +5,8 @@
"scripts": {
"start": "node ./bin/www",
"dev": "nodemon -e js,hbs -i public/ ./bin/www",
"lint": "eslint -c .eslintrc --cache --fix **/*.js",
"precommit": "lint",
"validate": "npm ls"
"lint": "eslint -c .eslintrc --cache --fix .",
"precommit": "npm run lint"
},
"dependencies": {
"body-parser": "^1.15.0",
... ... @@ -52,7 +51,6 @@
"postcss-short": "^1.4.0",
"postcss-sprites": "^3.1.1",
"postcss-use": "^2.0.2",
"precommit-hook": "^3.0.0",
"precss": "^1.4.0",
"shelljs": "^0.6.0",
"stylelint": "^5.2.1",
... ...