package.json 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148
  1. {
  2. "name": "element-ui",
  3. "version": "2.13.0",
  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:build": "npm run build:file && cross-env NODE_ENV=production webpack --config build/webpack.demo.js && echo element.eleme.io>>examples/element-ui/CNAME",
  21. "deploy:extension": "cross-env NODE_ENV=production webpack --config build/webpack.extension.js",
  22. "dev:extension": "rimraf examples/extension/dist && cross-env NODE_ENV=development webpack --watch --config build/webpack.extension.js",
  23. "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",
  24. "dev:play": "npm run build:file && cross-env NODE_ENV=development PLAY_ENV=true webpack-dev-server --config build/webpack.demo.js",
  25. "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",
  26. "i18n": "node build/bin/i18n.js",
  27. "lint": "eslint src/**/* test/**/* packages/**/* build/**/* --quiet",
  28. "pub": "npm run bootstrap && sh build/git-release.sh && sh build/release.sh && node build/bin/gen-indices.js && sh build/deploy-faas.sh",
  29. "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",
  30. "test:watch": "npm run build:theme && cross-env BABEL_ENV=test karma start test/unit/karma.conf.js"
  31. },
  32. "faas": [
  33. {
  34. "domain": "element",
  35. "public": "temp_web/element"
  36. },
  37. {
  38. "domain": "element-theme",
  39. "public": "examples/element-ui",
  40. "build": [
  41. "yarn",
  42. "npm run deploy:build"
  43. ]
  44. }
  45. ],
  46. "repository": {
  47. "type": "git",
  48. "url": "git@github.com:ElemeFE/element.git"
  49. },
  50. "homepage": "http://element.eleme.io",
  51. "keywords": [
  52. "eleme",
  53. "vue",
  54. "components"
  55. ],
  56. "license": "MIT",
  57. "bugs": {
  58. "url": "https://github.com/ElemeFE/element/issues"
  59. },
  60. "unpkg": "lib/index.js",
  61. "style": "lib/theme-chalk/index.css",
  62. "dependencies": {
  63. "async-validator": "~1.8.1",
  64. "babel-helper-vue-jsx-merge-props": "^2.0.0",
  65. "deepmerge": "^1.2.0",
  66. "normalize-wheel": "^1.0.1",
  67. "resize-observer-polyfill": "^1.5.0",
  68. "throttle-debounce": "^1.0.1"
  69. },
  70. "peerDependencies": {
  71. "vue": "^2.5.17"
  72. },
  73. "devDependencies": {
  74. "@vue/component-compiler-utils": "^2.6.0",
  75. "algoliasearch": "^3.24.5",
  76. "babel-cli": "^6.26.0",
  77. "babel-core": "^6.26.3",
  78. "babel-loader": "^7.1.5",
  79. "babel-plugin-add-module-exports": "^0.2.1",
  80. "babel-plugin-istanbul": "^4.1.1",
  81. "babel-plugin-module-resolver": "^2.2.0",
  82. "babel-plugin-syntax-jsx": "^6.18.0",
  83. "babel-plugin-transform-vue-jsx": "^3.7.0",
  84. "babel-preset-env": "^1.7.0",
  85. "babel-preset-stage-2": "^6.24.1",
  86. "babel-regenerator-runtime": "^6.5.0",
  87. "chai": "^4.2.0",
  88. "chokidar": "^1.7.0",
  89. "copy-webpack-plugin": "^5.0.0",
  90. "coveralls": "^3.0.3",
  91. "cp-cli": "^1.0.2",
  92. "cross-env": "^3.1.3",
  93. "css-loader": "^2.1.0",
  94. "es6-promise": "^4.0.5",
  95. "eslint": "4.18.2",
  96. "eslint-config-elemefe": "0.1.1",
  97. "eslint-loader": "^2.0.0",
  98. "eslint-plugin-html": "^4.0.1",
  99. "eslint-plugin-json": "^1.2.0",
  100. "file-loader": "^1.1.11",
  101. "file-save": "^0.2.0",
  102. "gulp": "^4.0.0",
  103. "gulp-autoprefixer": "^6.0.0",
  104. "gulp-cssmin": "^0.2.0",
  105. "gulp-sass": "^4.0.2",
  106. "highlight.js": "^9.3.0",
  107. "html-webpack-plugin": "^3.2.0",
  108. "json-loader": "^0.5.7",
  109. "json-templater": "^1.0.4",
  110. "karma": "^4.0.1",
  111. "karma-chrome-launcher": "^2.2.0",
  112. "karma-coverage": "^1.1.2",
  113. "karma-mocha": "^1.3.0",
  114. "karma-sinon-chai": "^2.0.2",
  115. "karma-sourcemap-loader": "^0.3.7",
  116. "karma-spec-reporter": "^0.0.32",
  117. "karma-webpack": "^3.0.5",
  118. "markdown-it": "^8.4.1",
  119. "markdown-it-anchor": "^5.0.2",
  120. "markdown-it-chain": "^1.3.0",
  121. "markdown-it-container": "^2.0.0",
  122. "mini-css-extract-plugin": "^0.4.1",
  123. "mocha": "^6.0.2",
  124. "node-sass": "^4.11.0",
  125. "optimize-css-assets-webpack-plugin": "^5.0.1",
  126. "postcss": "^7.0.14",
  127. "progress-bar-webpack-plugin": "^1.11.0",
  128. "rimraf": "^2.5.4",
  129. "sass-loader": "^7.1.0",
  130. "select-version-cli": "^0.0.2",
  131. "sinon": "^7.2.7",
  132. "sinon-chai": "^3.3.0",
  133. "style-loader": "^0.23.1",
  134. "transliteration": "^1.1.11",
  135. "uglifyjs-webpack-plugin": "^2.1.1",
  136. "uppercamelcase": "^1.1.0",
  137. "url-loader": "^1.0.1",
  138. "vue": "2.5.21",
  139. "vue-loader": "^15.7.0",
  140. "vue-router": "^3.0.1",
  141. "vue-template-compiler": "2.5.21",
  142. "vue-template-es2015-compiler": "^1.6.0",
  143. "webpack": "^4.14.0",
  144. "webpack-cli": "^3.0.8",
  145. "webpack-dev-server": "^3.1.11",
  146. "webpack-node-externals": "^1.7.2"
  147. }
  148. }