build: use cross-platform hook installation with shelljs
Showing
build/install-hooks.js
0 → 100644
build/install-hooks.sh
已删除
100644 → 0
... | ... | @@ -38,7 +38,7 @@ |
"release": "bash build/release.sh", | ||
"release:weex": "bash build/release-weex.sh", | ||
"release:note": "node build/gen-release-note.js", | ||
"postinstall": "bash build/install-hooks.sh", | ||
"postinstall": "node build/install-hooks.js", | ||
"commit": "git-cz" | ||
}, | ||
"repository": { | ||
... | ... | @@ -117,6 +117,7 @@ |
"rollup-watch": "^4.0.0", | ||
"selenium-server": "^2.53.1", | ||
"serialize-javascript": "^1.3.0", | ||
"shelljs": "^0.7.8", | ||
"typescript": "^2.3.4", | ||
"uglify-js": "^3.0.15", | ||
"webpack": "^2.6.1", | ||
... | ... |
想要评论请 注册 或 登录