element/package.json

128 lines
4.7 KiB
JSON
Raw Normal View History

2016-07-27 14:15:02 +08:00
{
"name": "element-ui",
2017-03-09 18:15:02 +08:00
"version": "1.2.4",
2016-07-27 14:15:02 +08:00
"description": "A Component Library for Vue.js.",
"main": "lib/element-ui.common.js",
2016-07-27 14:15:02 +08:00
"files": [
"lib",
"src",
"packages"
2016-07-27 14:15:02 +08:00
],
"scripts": {
2016-12-20 15:26:54 +08:00
"bootstrap": "yarn || npm i",
2017-01-17 11:33:47 +08:00
"build:file": "node build/bin/iconInit.js & node build/bin/build-entry.js & node build/bin/i18n.js & node build/bin/version.js",
2016-11-04 12:24:57 +08:00
"build:theme": "node build/bin/gen-cssfile && gulp build --gulpfile packages/theme-default/gulpfile.js && cp-cli packages/theme-default/lib lib/theme-default",
2016-11-01 22:51:03 +08:00
"build:utils": "cross-env BABEL_ENV=utils babel src --out-dir lib --ignore src/index.js",
"build:umd": "node build/bin/build-locale.js",
2016-11-07 18:13:12 +08:00
"clean": "rimraf lib && rimraf packages/*/lib && rimraf test/**/coverage && lerna clean --yes",
"deploy": "npm run deploy:build && gh-pages -d examples/element-ui --remote eleme && del examples/element-ui",
2016-11-14 14:10:58 +08:00
"deploy:build": "npm run build:file && cooking build -c build/cooking.demo.js -p && echo element.eleme.io>>examples/element-ui/CNAME",
2016-11-01 22:51:03 +08:00
"dev": "npm run bootstrap && npm run build:file && cooking watch -c build/cooking.demo.js -p",
2016-11-14 14:10:58 +08:00
"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:umd && npm run build:theme",
"dist:all": "node build/bin/build-all.js && npm run build:theme",
2016-11-14 14:10:58 +08:00
"i18n": "node build/bin/i18n.js",
2016-11-01 22:51:03 +08:00
"lint": "eslint src/**/* test/**/* packages/**/*.{js,vue} build/**/* --quiet",
2016-12-20 15:26:54 +08:00
"pub": "npm run bootstrap && sh build/git-release.sh && sh build/release.sh",
2017-01-23 17:27:26 +08:00
"pub:all": "npm run dist:all && lerna publish --skip-git && git commit -am 'publish independent packages' && git push eleme dev",
"test": "npm run lint && cross-env CI_ENV=/dev/ karma start test/unit/karma.conf.js --single-run",
2016-11-14 14:10:58 +08:00
"test:watch": "karma start test/unit/karma.conf.js"
2016-07-27 14:15:02 +08:00
},
"repository": {
"type": "git",
2016-10-17 14:14:59 +08:00
"url": "git@github.com:ElemeFE/element.git"
2016-07-27 14:15:02 +08:00
},
2016-09-18 15:28:39 +08:00
"homepage": "http://element.eleme.io",
2016-07-27 14:15:02 +08:00
"keywords": [
"eleme",
"vue",
"components"
],
"license": "MIT",
2016-07-27 14:15:02 +08:00
"bugs": {
2016-10-17 14:14:59 +08:00
"url": "https://github.com/ElemeFE/element/issues"
2016-07-27 14:15:02 +08:00
},
"unpkg": "lib/index.js",
"style": "lib/theme-default/index.css",
2016-10-13 11:12:24 +08:00
"dependencies": {
"async-validator": "^1.6.6",
2016-11-16 12:07:27 +08:00
"babel-helper-vue-jsx-merge-props": "^2.0.0",
2016-11-06 20:15:25 +08:00
"deepmerge": "^1.2.0",
2016-12-26 11:41:15 +08:00
"throttle-debounce": "^1.0.1"
2016-10-13 11:12:24 +08:00
},
"peerDependencies": {
"vue": "^2.1.6"
},
2016-07-27 14:15:02 +08:00
"devDependencies": {
"babel-cli": "^6.14.0",
2016-09-06 11:51:08 +08:00
"babel-core": "^6.14.0",
"babel-loader": "^6.2.5",
"babel-plugin-add-module-exports": "^0.2.1",
2016-10-27 17:31:22 +08:00
"babel-plugin-module-resolver": "^2.2.0",
2016-07-29 17:46:16 +08:00
"babel-plugin-syntax-jsx": "^6.8.0",
"babel-plugin-transform-vue-jsx": "^3.3.0",
2016-09-06 11:51:08 +08:00
"babel-preset-es2015": "^6.14.0",
2016-10-11 19:00:37 +08:00
"chai": "^3.5.0",
2016-09-06 11:51:08 +08:00
"cheerio": "^0.18.0",
2016-11-14 14:10:58 +08:00
"cooking": "^1.2.0",
2016-09-18 15:28:39 +08:00
"cooking-lint": "^0.1.3",
"cooking-vue2": "^0.3.0",
2016-12-27 13:59:40 +08:00
"copy-webpack-plugin": "^4.0.1",
"coveralls": "^2.11.14",
2016-09-08 11:13:42 +08:00
"cp-cli": "^1.0.2",
2016-10-30 13:57:43 +08:00
"cross-env": "^3.1.3",
2016-09-06 11:51:08 +08:00
"css-loader": "^0.24.0",
2016-10-22 22:58:02 +08:00
"es6-promise": "^4.0.5",
"eslint": "^3.10.2",
2016-09-06 11:51:08 +08:00
"extract-text-webpack-plugin": "^1.0.1",
"file-loader": "^0.9.0",
2016-07-27 14:15:02 +08:00
"file-save": "^0.2.0",
"gh-pages": "^0.11.0",
2016-10-17 14:14:59 +08:00
"gulp": "^3.9.1",
"gulp-cssmin": "^0.1.7",
"gulp-postcss": "^6.1.1",
2016-07-27 14:15:02 +08:00
"highlight.js": "^9.3.0",
2016-09-06 11:51:08 +08:00
"html-loader": "^0.4.3",
"html-webpack-plugin": "^2.22.0",
2016-10-11 19:00:37 +08:00
"inject-loader": "^3.0.0-beta2",
"isparta-loader": "^2.0.0",
2016-09-06 11:51:08 +08:00
"json-loader": "^0.5.4",
2016-07-27 14:15:02 +08:00
"json-templater": "^1.0.4",
2016-10-11 19:00:37 +08:00
"karma": "^1.3.0",
"karma-coverage": "^1.1.1",
"karma-mocha": "^1.2.0",
"karma-phantomjs-launcher": "^1.0.2",
"karma-sinon-chai": "^1.2.4",
"karma-sourcemap-loader": "^0.3.7",
"karma-spec-reporter": "0.0.26",
"karma-webpack": "^1.8.0",
2017-01-23 17:18:07 +08:00
"lerna": "^2.0.0-beta.32",
2016-10-11 19:00:37 +08:00
"lolex": "^1.5.1",
2016-09-07 15:29:48 +08:00
"markdown-it": "^6.1.1",
2016-11-04 16:59:59 +08:00
"markdown-it-anchor": "^2.5.0",
2016-08-20 00:38:59 +08:00
"markdown-it-container": "^2.0.0",
2016-10-11 19:00:37 +08:00
"mocha": "^3.1.1",
"phantomjs-prebuilt": "^2.1.13",
2016-09-06 11:51:08 +08:00
"postcss": "^5.1.2",
"postcss-loader": "^0.11.1",
2017-01-13 16:18:38 +08:00
"postcss-salad": "^1.0.8",
"rimraf": "^2.5.4",
2016-10-11 19:00:37 +08:00
"sinon": "^1.17.6",
"sinon-chai": "^2.8.0",
2016-09-06 11:51:08 +08:00
"style-loader": "^0.13.1",
"theaterjs": "^3.0.0",
2016-11-04 16:59:59 +08:00
"transliteration": "^1.1.11",
2016-07-27 14:15:02 +08:00
"uppercamelcase": "^1.1.0",
2016-09-06 11:51:08 +08:00
"url-loader": "^0.5.7",
2016-12-29 22:26:38 +08:00
"vue": "^2.1.8",
2017-02-04 17:16:38 +08:00
"vue-loader": "^10.3.0",
2016-09-21 14:38:07 +08:00
"vue-markdown-loader": "^0.5.1",
"vue-router": "^2.0.0",
2016-12-29 22:26:38 +08:00
"vue-template-compiler": "^2.1.8",
"vue-template-es2015-compiler": "^1.4.2",
2016-09-06 11:51:08 +08:00
"webpack": "^1.13.2",
2016-11-13 22:08:38 +08:00
"webpack-dev-server": "^1.15.1",
"webpack-node-externals": "^1.5.4"
2016-07-27 14:15:02 +08:00
}
}