Commit 131cc788 authored by qingwei.li's avatar qingwei.li

Update build theme config

parent 78277e22
<style lang="css"> <style lang="css">
@import '../node_modules/highlight.js/styles/color-brewer.css'; @import 'highlight.js/styles/color-brewer.css';
@import 'assets/styles/common.css'; @import 'assets/styles/common.css';
@import 'assets/styles/fonts/style.css'; @import 'assets/styles/fonts/style.css';
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
], ],
"scripts": { "scripts": {
"build:file": "node build/bin/iconInit.js & node build/bin/build-entry.js", "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": "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", "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", "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 @@ ...@@ -21,8 +21,7 @@
"clean": "rimraf lib && rimraf packages/*/lib && rimraf test/**/coverage", "clean": "rimraf lib && rimraf packages/*/lib && rimraf test/**/coverage",
"lint": "eslint src/**/* test/**/* packages/**/*.{js,vue} build/**/* --quiet", "lint": "eslint src/**/* test/**/* packages/**/*.{js,vue} build/**/* --quiet",
"test:watch": "karma start test/unit/karma.conf.js", "test:watch": "karma start test/unit/karma.conf.js",
"bootstrap": "cd packages/theme-default && npm i --production && cd ../..", "test": "npm run lint && CI_ENV=/dev/ karma start test/unit/karma.conf.js --single-run"
"test": "npm run bootstrap && npm run lint && CI_ENV=/dev/ karma start test/unit/karma.conf.js --single-run"
}, },
"repository": { "repository": {
"type": "git", "type": "git",
......
Subproject commit 1d92c70ea7e47432fb81021d10d142b37fe3e104 Subproject commit 543dc96689963e3f2c1d2032b547aee5a8046559
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