Update build theme config

This commit is contained in:
qingwei.li 2016-11-01 18:28:20 +08:00
parent 78277e2226
commit 131cc78825
3 changed files with 4 additions and 5 deletions

View File

@ -1,5 +1,5 @@
<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/fonts/style.css';

View File

@ -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",

@ -1 +1 @@
Subproject commit 1d92c70ea7e47432fb81021d10d142b37fe3e104
Subproject commit 543dc96689963e3f2c1d2032b547aee5a8046559