Commit 9ce8d762 authored by 杨奕's avatar 杨奕 Committed by GitHub

Merge pull request #45 from QingWei-Li/master

package: remove postinstall hook
parents 35be693b bd2a196c
......@@ -8,7 +8,10 @@ build-theme-default:
npm run build:theme
install:
npm i --registry=http://registry.npm.taobao.org --ignore-scripts --loglevel=error
npm run bootstrap
install-cn:
npm run bootstrap --registry=http://registry.npm.taobao.org
dev:
npm run dev
......
......@@ -8,13 +8,13 @@
"src"
],
"scripts": {
"dev": "npm i && (node bin/iconInit.js & node bin/build-entry.js) && cooking watch -c scripts/cooking.demo.js",
"dev": "npm run bootstrap && (node bin/iconInit.js & node bin/build-entry.js) && cooking watch -c scripts/cooking.demo.js",
"dist": "npm run lint && del -f lib && cooking build -c scripts/cooking.conf.js,scripts/cooking.common.js -p && cooking build -c scripts/cooking.component.js -p && npm run build:theme",
"dist:all": "node bin/build-all.js && npm run build:theme",
"build:theme": "gulp build --gulpfile packages/theme-default/gulpfile.js && cp-cli packages/theme-default/lib lib/theme-default",
"deploy": "cooking build -c scripts/cooking.demo.js -p",
"gh-docs": "cooking build -c scripts/cooking.demo.js -p && gh-pages -d examples/element-ui --remote origin",
"postinstall": "lerna bootstrap",
"bootstrap": "npm i && lerna bootstrap --loglevel=error",
"pub": "npm run dist && kp",
"pub:all": "npm run dist:all && lerna publish",
"lint": "eslint src/** packages/** scripts/** bin/** --ext .js,.vue --ignore-pattern node_modules"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment