2016-07-27 14:15:02 +08:00
|
|
|
{
|
|
|
|
"name": "element-ui",
|
2019-06-21 17:19:44 +08:00
|
|
|
"version": "2.9.2",
|
2016-07-27 14:15:02 +08:00
|
|
|
"description": "A Component Library for Vue.js.",
|
2016-09-08 17:58:21 +08:00
|
|
|
"main": "lib/element-ui.common.js",
|
2016-07-27 14:15:02 +08:00
|
|
|
"files": [
|
|
|
|
"lib",
|
2016-09-26 19:01:53 +08:00
|
|
|
"src",
|
2017-10-17 16:36:12 +08:00
|
|
|
"packages",
|
|
|
|
"types"
|
2016-07-27 14:15:02 +08:00
|
|
|
],
|
2017-10-17 16:36:12 +08:00
|
|
|
"typings": "types/index.d.ts",
|
2016-07-27 14:15:02 +08:00
|
|
|
"scripts": {
|
2018-02-13 23:17:50 +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",
|
2017-08-23 18:07:14 +08:00
|
|
|
"build:theme": "node build/bin/gen-cssfile && gulp build --gulpfile packages/theme-chalk/gulpfile.js && cp-cli packages/theme-chalk/lib lib/theme-chalk",
|
2016-11-01 22:51:03 +08:00
|
|
|
"build:utils": "cross-env BABEL_ENV=utils babel src --out-dir lib --ignore src/index.js",
|
2017-02-07 14:13:29 +08:00
|
|
|
"build:umd": "node build/bin/build-locale.js",
|
2018-06-05 19:27:13 +08:00
|
|
|
"clean": "rimraf lib && rimraf packages/*/lib && rimraf test/**/coverage",
|
2018-05-21 15:26:46 +08:00
|
|
|
"deploy:build": "npm run build:file && cross-env NODE_ENV=production webpack --config build/webpack.demo.js && echo element.eleme.io>>examples/element-ui/CNAME",
|
|
|
|
"dev": "npm run bootstrap && npm run build:file && cross-env NODE_ENV=development webpack-dev-server --config build/webpack.demo.js & node build/bin/template.js",
|
|
|
|
"dev:play": "npm run build:file && cross-env NODE_ENV=development PLAY_ENV=true webpack-dev-server --config build/webpack.demo.js",
|
|
|
|
"dist": "npm run clean && npm run build:file && npm run lint && webpack --config build/webpack.conf.js && webpack --config build/webpack.common.js && webpack --config build/webpack.component.js && npm run build:utils && npm run build:umd && npm run build:theme",
|
2016-11-14 14:10:58 +08:00
|
|
|
"i18n": "node build/bin/i18n.js",
|
2018-01-05 16:53:02 +08:00
|
|
|
"lint": "eslint src/**/* test/**/* packages/**/* build/**/* --quiet",
|
2017-10-24 15:24:35 +08:00
|
|
|
"pub": "npm run bootstrap && sh build/git-release.sh && sh build/release.sh && node build/bin/gen-indices.js && sh build/deploy-faas.sh",
|
2019-01-23 11:34:19 +08:00
|
|
|
"test": "npm run lint && npm run build:theme && cross-env CI_ENV=/dev/ BABEL_ENV=test karma start test/unit/karma.conf.js --single-run",
|
|
|
|
"test:watch": "npm run build:theme && cross-env BABEL_ENV=test karma start test/unit/karma.conf.js"
|
2016-07-27 14:15:02 +08:00
|
|
|
},
|
2019-02-28 16:00:59 +08:00
|
|
|
"faas": [
|
|
|
|
{
|
|
|
|
"domain": "element",
|
|
|
|
"public": "temp_web/element"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"domain": "element-theme",
|
|
|
|
"public": "examples/element-ui",
|
|
|
|
"build": [
|
|
|
|
"yarn",
|
|
|
|
"npm run deploy:build"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
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"
|
|
|
|
],
|
2016-10-17 21:26:37 +08:00
|
|
|
"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
|
|
|
},
|
2016-12-26 16:06:04 +08:00
|
|
|
"unpkg": "lib/index.js",
|
2017-08-23 18:07:14 +08:00
|
|
|
"style": "lib/theme-chalk/index.css",
|
2016-10-13 11:12:24 +08:00
|
|
|
"dependencies": {
|
2017-10-16 14:40:53 +08:00
|
|
|
"async-validator": "~1.8.1",
|
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",
|
2018-01-26 15:38:46 +08:00
|
|
|
"normalize-wheel": "^1.0.1",
|
2018-04-19 12:19:27 +08:00
|
|
|
"resize-observer-polyfill": "^1.5.0",
|
2016-12-26 11:41:15 +08:00
|
|
|
"throttle-debounce": "^1.0.1"
|
2016-10-13 11:12:24 +08:00
|
|
|
},
|
2016-11-01 21:54:36 +08:00
|
|
|
"peerDependencies": {
|
2019-05-07 12:12:07 +08:00
|
|
|
"vue": "^2.5.17"
|
2016-11-01 21:54:36 +08:00
|
|
|
},
|
2016-07-27 14:15:02 +08:00
|
|
|
"devDependencies": {
|
2019-03-01 18:35:08 +08:00
|
|
|
"@vue/component-compiler-utils": "^2.6.0",
|
2017-10-10 18:06:01 +08:00
|
|
|
"algoliasearch": "^3.24.5",
|
2019-01-23 11:34:19 +08:00
|
|
|
"babel-cli": "^6.26.0",
|
|
|
|
"babel-core": "^6.26.3",
|
|
|
|
"babel-loader": "^7.1.5",
|
2017-02-07 14:13:29 +08:00
|
|
|
"babel-plugin-add-module-exports": "^0.2.1",
|
2019-01-23 11:34:19 +08:00
|
|
|
"babel-plugin-istanbul": "^4.1.1",
|
2016-10-27 17:31:22 +08:00
|
|
|
"babel-plugin-module-resolver": "^2.2.0",
|
2019-01-23 11:34:19 +08:00
|
|
|
"babel-plugin-syntax-jsx": "^6.18.0",
|
|
|
|
"babel-plugin-transform-vue-jsx": "^3.7.0",
|
|
|
|
"babel-preset-env": "^1.7.0",
|
|
|
|
"babel-preset-stage-2": "^6.24.1",
|
2019-03-18 15:34:44 +08:00
|
|
|
"babel-regenerator-runtime": "^6.5.0",
|
|
|
|
"chai": "^4.2.0",
|
2017-09-28 20:15:00 +08:00
|
|
|
"chokidar": "^1.7.0",
|
2019-02-26 16:23:26 +08:00
|
|
|
"copy-webpack-plugin": "^5.0.0",
|
2019-03-18 15:34:44 +08:00
|
|
|
"coveralls": "^3.0.3",
|
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",
|
2019-02-26 16:23:26 +08:00
|
|
|
"css-loader": "^2.1.0",
|
2016-10-22 22:58:02 +08:00
|
|
|
"es6-promise": "^4.0.5",
|
2018-01-05 16:53:02 +08:00
|
|
|
"eslint": "4.14.0",
|
2018-02-13 14:09:41 +08:00
|
|
|
"eslint-config-elemefe": "0.1.1",
|
2019-01-23 11:34:19 +08:00
|
|
|
"eslint-loader": "^2.0.0",
|
2018-01-05 16:53:02 +08:00
|
|
|
"eslint-plugin-html": "^4.0.1",
|
2017-11-08 12:20:52 +08:00
|
|
|
"eslint-plugin-json": "^1.2.0",
|
2019-01-23 11:34:19 +08:00
|
|
|
"file-loader": "^1.1.11",
|
2016-07-27 14:15:02 +08:00
|
|
|
"file-save": "^0.2.0",
|
2019-03-18 16:15:18 +08:00
|
|
|
"gulp": "^4.0.0",
|
|
|
|
"gulp-autoprefixer": "^6.0.0",
|
|
|
|
"gulp-cssmin": "^0.2.0",
|
2019-02-26 16:23:26 +08:00
|
|
|
"gulp-sass": "^4.0.2",
|
2016-07-27 14:15:02 +08:00
|
|
|
"highlight.js": "^9.3.0",
|
2019-01-23 11:34:19 +08:00
|
|
|
"html-webpack-plugin": "^3.2.0",
|
2017-10-16 14:07:24 +08:00
|
|
|
"json-loader": "^0.5.7",
|
2016-07-27 14:15:02 +08:00
|
|
|
"json-templater": "^1.0.4",
|
2019-03-18 15:34:44 +08:00
|
|
|
"karma": "^4.0.1",
|
2017-10-17 08:39:44 +08:00
|
|
|
"karma-chrome-launcher": "^2.2.0",
|
2019-03-18 15:34:44 +08:00
|
|
|
"karma-coverage": "^1.1.2",
|
|
|
|
"karma-mocha": "^1.3.0",
|
|
|
|
"karma-sinon-chai": "^2.0.2",
|
2016-10-11 19:00:37 +08:00
|
|
|
"karma-sourcemap-loader": "^0.3.7",
|
2019-03-18 15:34:44 +08:00
|
|
|
"karma-spec-reporter": "^0.0.32",
|
|
|
|
"karma-webpack": "^3.0.5",
|
2019-01-23 11:34:19 +08:00
|
|
|
"markdown-it": "^8.4.1",
|
|
|
|
"markdown-it-anchor": "^5.0.2",
|
2019-03-01 18:35:08 +08:00
|
|
|
"markdown-it-chain": "^1.3.0",
|
2016-08-20 00:38:59 +08:00
|
|
|
"markdown-it-container": "^2.0.0",
|
2019-01-23 11:34:19 +08:00
|
|
|
"mini-css-extract-plugin": "^0.4.1",
|
2019-03-18 15:34:44 +08:00
|
|
|
"mocha": "^6.0.2",
|
2019-02-26 16:23:26 +08:00
|
|
|
"node-sass": "^4.11.0",
|
2019-02-20 19:06:18 +08:00
|
|
|
"optimize-css-assets-webpack-plugin": "^5.0.1",
|
2019-02-26 16:23:26 +08:00
|
|
|
"postcss": "^7.0.14",
|
2018-05-21 15:26:46 +08:00
|
|
|
"progress-bar-webpack-plugin": "^1.11.0",
|
2016-09-28 15:34:52 +08:00
|
|
|
"rimraf": "^2.5.4",
|
2019-02-26 16:23:26 +08:00
|
|
|
"sass-loader": "^7.1.0",
|
2019-02-20 15:03:03 +08:00
|
|
|
"select-version-cli": "^0.0.2",
|
2019-03-18 15:34:44 +08:00
|
|
|
"sinon": "^7.2.7",
|
|
|
|
"sinon-chai": "^3.3.0",
|
2019-02-26 16:23:26 +08:00
|
|
|
"style-loader": "^0.23.1",
|
2016-11-04 16:59:59 +08:00
|
|
|
"transliteration": "^1.1.11",
|
2019-02-20 19:06:18 +08:00
|
|
|
"uglifyjs-webpack-plugin": "^2.1.1",
|
2016-07-27 14:15:02 +08:00
|
|
|
"uppercamelcase": "^1.1.0",
|
2019-01-23 11:34:19 +08:00
|
|
|
"url-loader": "^1.0.1",
|
2019-05-07 12:12:07 +08:00
|
|
|
"vue": "2.5.21",
|
|
|
|
"vue-loader": "^15.7.0",
|
2019-01-23 11:34:19 +08:00
|
|
|
"vue-router": "^3.0.1",
|
2019-05-07 12:12:07 +08:00
|
|
|
"vue-template-compiler": "2.5.21",
|
2017-10-16 14:07:24 +08:00
|
|
|
"vue-template-es2015-compiler": "^1.6.0",
|
2019-01-23 11:34:19 +08:00
|
|
|
"webpack": "^4.14.0",
|
|
|
|
"webpack-cli": "^3.0.8",
|
|
|
|
"webpack-dev-server": "^3.1.11",
|
|
|
|
"webpack-node-externals": "^1.7.2"
|
2016-07-27 14:15:02 +08:00
|
|
|
}
|
2016-09-09 11:51:28 +08:00
|
|
|
}
|