UNPKG

5.25 kBJSONView Raw
1{
2 "name": "element-ui",
3 "version": "2.4.7",
4 "description": "A Component Library for Vue.js.",
5 "main": "lib/element-ui.common.js",
6 "files": [
7 "lib",
8 "src",
9 "packages",
10 "types"
11 ],
12 "typings": "types/index.d.ts",
13 "scripts": {
14 "bootstrap": "yarn || npm i",
15 "build:file": "node build/bin/iconInit.js & node build/bin/build-entry.js & node build/bin/i18n.js & node build/bin/version.js",
16 "build:theme": "node build/bin/gen-cssfile && gulp build --gulpfile packages/theme-chalk/gulpfile.js && cp-cli packages/theme-chalk/lib lib/theme-chalk",
17 "build:utils": "cross-env BABEL_ENV=utils babel src --out-dir lib --ignore src/index.js",
18 "build:umd": "node build/bin/build-locale.js",
19 "clean": "rimraf lib && rimraf packages/*/lib && rimraf test/**/coverage",
20 "deploy": "npm run deploy:build && gh-pages -d examples/element-ui --remote eleme && rimraf examples/element-ui",
21 "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",
22 "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",
23 "dev:play": "npm run build:file && cross-env NODE_ENV=development PLAY_ENV=true webpack-dev-server --config build/webpack.demo.js",
24 "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",
25 "i18n": "node build/bin/i18n.js",
26 "lint": "eslint src/**/* test/**/* packages/**/* build/**/* --quiet",
27 "pub": "npm run bootstrap && sh build/git-release.sh && sh build/release.sh && node build/bin/gen-indices.js && sh build/deploy-faas.sh",
28 "test": "npm run lint && npm run build:theme && cross-env CI_ENV=/dev/ karma start test/unit/karma.conf.js --single-run",
29 "test:watch": "npm run build:theme && karma start test/unit/karma.conf.js"
30 },
31 "faas": {
32 "domain": "element",
33 "public": "temp_web/element"
34 },
35 "repository": {
36 "type": "git",
37 "url": "git@github.com:ElemeFE/element.git"
38 },
39 "homepage": "http://element.eleme.io",
40 "keywords": [
41 "eleme",
42 "vue",
43 "components"
44 ],
45 "license": "MIT",
46 "bugs": {
47 "url": "https://github.com/ElemeFE/element/issues"
48 },
49 "unpkg": "lib/index.js",
50 "style": "lib/theme-chalk/index.css",
51 "dependencies": {
52 "async-validator": "~1.8.1",
53 "babel-helper-vue-jsx-merge-props": "^2.0.0",
54 "deepmerge": "^1.2.0",
55 "normalize-wheel": "^1.0.1",
56 "resize-observer-polyfill": "^1.5.0",
57 "throttle-debounce": "^1.0.1"
58 },
59 "peerDependencies": {
60 "vue": "^2.5.2"
61 },
62 "devDependencies": {
63 "algoliasearch": "^3.24.5",
64 "babel-cli": "^6.14.0",
65 "babel-core": "^6.14.0",
66 "babel-loader": "^7.1.2",
67 "babel-plugin-add-module-exports": "^0.2.1",
68 "babel-plugin-module-resolver": "^2.2.0",
69 "babel-plugin-syntax-jsx": "^6.8.0",
70 "babel-plugin-transform-vue-jsx": "^3.3.0",
71 "babel-preset-es2015": "^6.14.0",
72 "chai": "^3.5.0",
73 "cheerio": "^0.18.0",
74 "chokidar": "^1.7.0",
75 "copy-webpack-plugin": "^4.1.1",
76 "coveralls": "^2.11.14",
77 "cp-cli": "^1.0.2",
78 "cross-env": "^3.1.3",
79 "css-loader": "^0.28.7",
80 "es6-promise": "^4.0.5",
81 "eslint": "4.14.0",
82 "eslint-config-elemefe": "0.1.1",
83 "eslint-loader": "^1.9.0",
84 "eslint-plugin-html": "^4.0.1",
85 "eslint-plugin-json": "^1.2.0",
86 "extract-text-webpack-plugin": "^3.0.1",
87 "file-loader": "^1.1.5",
88 "file-save": "^0.2.0",
89 "gh-pages": "^0.11.0",
90 "gulp": "^3.9.1",
91 "gulp-autoprefixer": "^4.0.0",
92 "gulp-cssmin": "^0.1.7",
93 "gulp-postcss": "^6.1.1",
94 "gulp-sass": "^3.1.0",
95 "highlight.js": "^9.3.0",
96 "html-loader": "^0.5.1",
97 "html-webpack-plugin": "^2.30.1",
98 "inject-loader": "^3.0.1",
99 "isparta-loader": "^2.0.0",
100 "json-loader": "^0.5.7",
101 "json-templater": "^1.0.4",
102 "karma": "^1.3.0",
103 "karma-chrome-launcher": "^2.2.0",
104 "karma-coverage": "^1.1.1",
105 "karma-mocha": "^1.2.0",
106 "karma-sinon-chai": "^1.2.4",
107 "karma-sourcemap-loader": "^0.3.7",
108 "karma-spec-reporter": "0.0.26",
109 "karma-webpack": "^3.0.0",
110 "lolex": "^1.5.1",
111 "markdown-it": "^6.1.1",
112 "markdown-it-anchor": "^2.5.0",
113 "markdown-it-container": "^2.0.0",
114 "mocha": "^3.1.1",
115 "node-sass": "^4.5.3",
116 "perspective.js": "^1.0.0",
117 "postcss": "^5.1.2",
118 "postcss-loader": "0.11.1",
119 "postcss-salad": "^1.0.8",
120 "progress-bar-webpack-plugin": "^1.11.0",
121 "rimraf": "^2.5.4",
122 "sass-loader": "^6.0.6",
123 "sinon": "^1.17.6",
124 "sinon-chai": "^2.8.0",
125 "style-loader": "^0.19.0",
126 "transliteration": "^1.1.11",
127 "uppercamelcase": "^1.1.0",
128 "url-loader": "^0.6.2",
129 "vue": "^2.5.2",
130 "vue-loader": "^13.3.0",
131 "vue-markdown-loader": "1",
132 "vue-router": "2.7.0",
133 "vue-template-compiler": "^2.5.2",
134 "vue-template-es2015-compiler": "^1.6.0",
135 "webpack": "^3.7.1",
136 "webpack-dev-server": "^2.9.1",
137 "webpack-node-externals": "^1.6.0"
138 }
139}