|
@@ -14,18 +14,19 @@
|
|
"build:theme": "node build/bin/gen-cssfile && gulp build --gulpfile packages/theme-default/gulpfile.js && cp-cli packages/theme-default/lib lib/theme-default",
|
|
"build:theme": "node build/bin/gen-cssfile && gulp build --gulpfile packages/theme-default/gulpfile.js && cp-cli packages/theme-default/lib lib/theme-default",
|
|
"build:utils": "cross-env BABEL_ENV=utils babel src --out-dir lib --ignore src/index.js",
|
|
"build:utils": "cross-env BABEL_ENV=utils babel src --out-dir lib --ignore src/index.js",
|
|
"clean": "rimraf lib && rimraf packages/*/lib && rimraf test/**/coverage && lerna clean --yes",
|
|
"clean": "rimraf lib && rimraf packages/*/lib && rimraf test/**/coverage && lerna clean --yes",
|
|
- "deploy:dev": "npm run build:file && CI_ENV=/dev/ cooking build -c build/cooking.demo.js",
|
|
|
|
- "deploy:build": "npm run build:file && cooking build -c build/cooking.demo.js -p && echo element.eleme.io>>examples/element-ui/CNAME",
|
|
|
|
"deploy": "npm run deploy:build && gh-pages -d examples/element-ui --remote eleme && del examples/element-ui",
|
|
"deploy": "npm run deploy:build && gh-pages -d examples/element-ui --remote eleme && del examples/element-ui",
|
|
|
|
+ "deploy:build": "npm run build:file && cooking build -c build/cooking.demo.js -p && echo element.eleme.io>>examples/element-ui/CNAME",
|
|
|
|
+ "deploy:dev": "npm run build:file && CI_ENV=/dev/ cooking build -c build/cooking.demo.js",
|
|
"dev": "npm run bootstrap && npm run build:file && cooking watch -c build/cooking.demo.js -p",
|
|
"dev": "npm run bootstrap && npm run build:file && cooking watch -c build/cooking.demo.js -p",
|
|
|
|
+ "dev:play": "npm run build:file && cross-env PLAY_ENV=true 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",
|
|
|
|
+ "i18n": "node build/bin/i18n.js",
|
|
"lint": "eslint src/**/* test/**/* packages/**/*.{js,vue} build/**/* --quiet",
|
|
"lint": "eslint src/**/* test/**/* packages/**/*.{js,vue} build/**/* --quiet",
|
|
"pub": "git checkout master && git pull eleme master --rebase && sh build/release.sh",
|
|
"pub": "git checkout master && git pull eleme master --rebase && sh build/release.sh",
|
|
"pub:all": "npm run dist:all && lerna publish",
|
|
"pub:all": "npm run dist:all && lerna publish",
|
|
"test": "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",
|
|
- "test:watch": "karma start test/unit/karma.conf.js",
|
|
|
|
- "i18n": "node build/bin/i18n.js"
|
|
|
|
|
|
+ "test:watch": "karma start test/unit/karma.conf.js"
|
|
},
|
|
},
|
|
"repository": {
|
|
"repository": {
|
|
"type": "git",
|
|
"type": "git",
|
|
@@ -62,7 +63,7 @@
|
|
"babel-preset-es2015": "^6.14.0",
|
|
"babel-preset-es2015": "^6.14.0",
|
|
"chai": "^3.5.0",
|
|
"chai": "^3.5.0",
|
|
"cheerio": "^0.18.0",
|
|
"cheerio": "^0.18.0",
|
|
- "cooking": "^1.1.0",
|
|
|
|
|
|
+ "cooking": "^1.2.0",
|
|
"cooking-lint": "^0.1.3",
|
|
"cooking-lint": "^0.1.3",
|
|
"cooking-vue2": "^0.1.4",
|
|
"cooking-vue2": "^0.1.4",
|
|
"coveralls": "^2.11.14",
|
|
"coveralls": "^2.11.14",
|