优化生命周期

This commit is contained in:
Harvey committed 2019-12-11 17:08:55 +08:00
1 parent 637a0ec98f
commit 1939f33703
4 files changed
+4405 -11

No files matched your search

+1 -1
View File
@@ -8,7 +8,7 @@
"publish": "npx lerna publish from-package --yes",
"release": "npm run lint && npm run version && npm run build:all && npm test && npm run publish",
"dev": "npx cross-env NODE_ENV=development node ./scripts/dev.js",
"start": "npx cross-env NODE_ENV=development npx servor docs index.html 8080 5000",
"start": "npx cross-env NODE_ENV=development npx servor docs index.html 8081 5000",
"build": "npx cross-env NODE_ENV=production node ./scripts/build.js",
"build:all": "npm run build all && npm run test:doc && git add . && git commit -m \"build all packages\" -n ",
"test": "npx cross-env NODE_ENV=test mocha-chrome ./test/index.html --mocha '{\"ui\":\"bdd\"}'",