1 | {
|
2 | "name": "element-ui",
|
3 | "version": "1.3.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 | ],
|
11 | "scripts": {
|
12 | "bootstrap": "yarn || npm i",
|
13 | "build:file": "node build/bin/iconInit.js & node build/bin/build-entry.js & node build/bin/i18n.js & node build/bin/version.js",
|
14 | "build:theme": "node build/bin/gen-cssfile && gulp build --gulpfile packages/theme-default/gulpfile.js && cp-cli packages/theme-default/lib lib/theme-default",
|
15 | "build:utils": "cross-env BABEL_ENV=utils babel src --out-dir lib --ignore src/index.js",
|
16 | "build:umd": "node build/bin/build-locale.js",
|
17 | "clean": "rimraf lib && rimraf packages/*/lib && rimraf test/**/coverage && lerna clean --yes",
|
18 | "deploy": "npm run deploy:build && gh-pages -d examples/element-ui --remote eleme && del examples/element-ui",
|
19 | "deploy:build": "npm run build:file && cooking build -c build/cooking.demo.js -p && echo element.eleme.io>>examples/element-ui/CNAME",
|
20 | "dev": "npm run bootstrap && npm run build:file && cooking watch -c build/cooking.demo.js -p",
|
21 | "dev:play": "npm run build:file && cross-env PLAY_ENV=true cooking watch -c build/cooking.demo.js -p",
|
22 | "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",
|
23 | "dist:all": "node build/bin/build-all.js && npm run build:theme",
|
24 | "i18n": "node build/bin/i18n.js",
|
25 | "lint": "eslint src/**/* test/**/* packages/**/*.{js,vue} build/**/* --quiet",
|
26 | "pub": "npm run bootstrap && sh build/git-release.sh && sh build/release.sh",
|
27 | "pub:all": "npm run dist:all && lerna publish --skip-git && git commit -am 'publish independent packages' && git push eleme dev",
|
28 | "test": "npm run lint && cross-env CI_ENV=/dev/ karma start test/unit/karma.conf.js --single-run",
|
29 | "test:watch": "karma start test/unit/karma.conf.js"
|
30 | },
|
31 | "repository": {
|
32 | "type": "git",
|
33 | "url": "git@github.com:ElemeFE/element.git"
|
34 | },
|
35 | "homepage": "http://element.eleme.io",
|
36 | "keywords": [
|
37 | "eleme",
|
38 | "vue",
|
39 | "components"
|
40 | ],
|
41 | "license": "MIT",
|
42 | "bugs": {
|
43 | "url": "https://github.com/ElemeFE/element/issues"
|
44 | },
|
45 | "unpkg": "lib/index.js",
|
46 | "style": "lib/theme-default/index.css",
|
47 | "dependencies": {
|
48 | "async-validator": "1.6.9",
|
49 | "babel-helper-vue-jsx-merge-props": "^2.0.0",
|
50 | "deepmerge": "^1.2.0",
|
51 | "throttle-debounce": "^1.0.1"
|
52 | },
|
53 | "peerDependencies": {
|
54 | "vue": "^2.3.0"
|
55 | },
|
56 | "devDependencies": {
|
57 | "babel-cli": "^6.14.0",
|
58 | "babel-core": "^6.14.0",
|
59 | "babel-loader": "^6.2.5",
|
60 | "babel-plugin-add-module-exports": "^0.2.1",
|
61 | "babel-plugin-module-resolver": "^2.2.0",
|
62 | "babel-plugin-syntax-jsx": "^6.8.0",
|
63 | "babel-plugin-transform-vue-jsx": "^3.3.0",
|
64 | "babel-preset-es2015": "^6.14.0",
|
65 | "chai": "^3.5.0",
|
66 | "cheerio": "^0.18.0",
|
67 | "cooking": "^1.2.0",
|
68 | "cooking-lint": "^0.1.3",
|
69 | "cooking-vue2": "^0.3.0",
|
70 | "copy-webpack-plugin": "^4.0.1",
|
71 | "coveralls": "^2.11.14",
|
72 | "cp-cli": "^1.0.2",
|
73 | "cross-env": "^3.1.3",
|
74 | "css-loader": "^0.24.0",
|
75 | "es6-promise": "^4.0.5",
|
76 | "eslint": "^3.10.2",
|
77 | "extract-text-webpack-plugin": "^1.0.1",
|
78 | "file-loader": "^0.9.0",
|
79 | "file-save": "^0.2.0",
|
80 | "gh-pages": "^0.11.0",
|
81 | "gulp": "^3.9.1",
|
82 | "gulp-cssmin": "^0.1.7",
|
83 | "gulp-postcss": "^6.1.1",
|
84 | "highlight.js": "^9.3.0",
|
85 | "html-loader": "^0.4.3",
|
86 | "html-webpack-plugin": "^2.22.0",
|
87 | "inject-loader": "^3.0.0-beta2",
|
88 | "isparta-loader": "^2.0.0",
|
89 | "json-loader": "^0.5.4",
|
90 | "json-templater": "^1.0.4",
|
91 | "karma": "^1.3.0",
|
92 | "karma-coverage": "^1.1.1",
|
93 | "karma-mocha": "^1.2.0",
|
94 | "karma-phantomjs-launcher": "^1.0.2",
|
95 | "karma-sinon-chai": "^1.2.4",
|
96 | "karma-sourcemap-loader": "^0.3.7",
|
97 | "karma-spec-reporter": "0.0.26",
|
98 | "karma-webpack": "^1.8.0",
|
99 | "lerna": "^2.0.0-beta.32",
|
100 | "lolex": "^1.5.1",
|
101 | "markdown-it": "^6.1.1",
|
102 | "markdown-it-anchor": "^2.5.0",
|
103 | "markdown-it-container": "^2.0.0",
|
104 | "mocha": "^3.1.1",
|
105 | "phantomjs-prebuilt": "^2.1.13",
|
106 | "postcss": "^5.1.2",
|
107 | "postcss-loader": "^0.11.1",
|
108 | "postcss-salad": "^1.0.8",
|
109 | "rimraf": "^2.5.4",
|
110 | "sinon": "^1.17.6",
|
111 | "sinon-chai": "^2.8.0",
|
112 | "style-loader": "^0.13.1",
|
113 | "theaterjs": "^3.0.0",
|
114 | "transliteration": "^1.1.11",
|
115 | "uppercamelcase": "^1.1.0",
|
116 | "url-loader": "^0.5.7",
|
117 | "vue": "^2.3.0",
|
118 | "vue-loader": "^12.0.2",
|
119 | "vue-markdown-loader": "^0.5.1",
|
120 | "vue-router": "^2.0.0",
|
121 | "vue-template-compiler": "^2.3.0",
|
122 | "vue-template-es2015-compiler": "^1.5.2",
|
123 | "webpack": "^1.13.2",
|
124 | "webpack-dev-server": "^1.15.1",
|
125 | "webpack-node-externals": "^1.5.4"
|
126 | }
|
127 | }
|