|
@@ -10,7 +10,7 @@
|
|
|
],
|
|
|
"scripts": {
|
|
|
"build:file": "node build/bin/iconInit.js & node build/bin/build-entry.js",
|
|
|
- "dev": "npm run bootstrap && npm install && npm run build:file && cooking watch -c build/cooking.demo.js -p",
|
|
|
+ "dev": "npm install && npm run build:file && cooking watch -c build/cooking.demo.js -p",
|
|
|
"dist": "npm run clean && npm run build:file && npm run lint && cooking build -c build/cooking.conf.js,build/cooking.common.js,build/cooking.component.js -p && npm run build:utils && npm run build:theme",
|
|
|
"dist:all": "node build/bin/build-all.js && npm run build:theme",
|
|
|
"build:theme": "git submodule update --remote && node build/bin/gen-cssfile && gulp build --gulpfile packages/theme-default/gulpfile.js && cp-cli packages/theme-default/lib lib/theme-default",
|
|
@@ -21,8 +21,7 @@
|
|
|
"clean": "rimraf lib && rimraf packages/*/lib && rimraf test/**/coverage",
|
|
|
"lint": "eslint src/**/* test/**/* packages/**/*.{js,vue} build/**/* --quiet",
|
|
|
"test:watch": "karma start test/unit/karma.conf.js",
|
|
|
- "bootstrap": "cd packages/theme-default && npm i --production && cd ../..",
|
|
|
- "test": "npm run bootstrap && npm run lint && CI_ENV=/dev/ karma start test/unit/karma.conf.js --single-run"
|
|
|
+ "test": "npm run lint && CI_ENV=/dev/ karma start test/unit/karma.conf.js --single-run"
|
|
|
},
|
|
|
"repository": {
|
|
|
"type": "git",
|