package.json 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. {
  2. "name": "eladmin-web",
  3. "version": "2.6.0",
  4. "description": "EL-ADMIN 前端源码",
  5. "author": "Zheng Jie",
  6. "license": "Apache-2.0",
  7. "scripts": {
  8. "dev": "vue-cli-service serve",
  9. "build:prod": "vue-cli-service build",
  10. "build:stage": "vue-cli-service build --mode staging",
  11. "preview": "node build/index.js --preview",
  12. "lint": "eslint --ext .js,.vue src",
  13. "test:unit": "jest --clearCache && vue-cli-service test:unit",
  14. "svgo": "svgo -f src/assets/icons/svg --config=src/assets/icons/svgo.yml",
  15. "new": "plop"
  16. },
  17. "husky": {
  18. "hooks": {
  19. "pre-commit": "lint-staged"
  20. }
  21. },
  22. "lint-staged": {
  23. "src/**/*.{js,vue}": [
  24. "eslint --fix",
  25. "git add"
  26. ]
  27. },
  28. "repository": {
  29. "type": "git",
  30. "url": "https://github.com/elunez/eladmin-web.git"
  31. },
  32. "bugs": {
  33. "url": "https://github.com/elunez/eladmin/issues"
  34. },
  35. "dependencies": {
  36. "@riophae/vue-treeselect": "0.4.0",
  37. "axios": "0.18.1",
  38. "clipboard": "2.0.4",
  39. "codemirror": "^5.49.2",
  40. "connect": "3.6.6",
  41. "core-js": "^2.6.12",
  42. "echarts": "^4.2.1",
  43. "echarts-gl": "^1.1.1",
  44. "echarts-wordcloud": "^1.1.3",
  45. "element-ui": "^2.13.2",
  46. "file-saver": "1.3.8",
  47. "fuse.js": "3.4.4",
  48. "highlight.js": "^10.6.0",
  49. "js-beautify": "^1.10.2",
  50. "js-cookie": "2.2.0",
  51. "jsencrypt": "^3.0.0-rc.1",
  52. "jszip": "3.1.5",
  53. "mavon-editor": "^2.9.0",
  54. "normalize.css": "7.0.0",
  55. "nprogress": "0.2.0",
  56. "path-to-regexp": "2.4.0",
  57. "qs": "^6.9.1",
  58. "screenfull": "4.2.0",
  59. "sortablejs": "1.8.4",
  60. "vue": "2.6.10",
  61. "vue-count-to": "1.0.13",
  62. "vue-cropper": "0.4.9",
  63. "vue-echarts": "^5.0.0-beta.0",
  64. "vue-highlightjs": "^1.3.3",
  65. "vue-image-crop-upload": "^2.5.0",
  66. "vue-router": "3.0.2",
  67. "vue-splitpane": "1.0.4",
  68. "vuedraggable": "2.20.0",
  69. "vuex": "3.1.0",
  70. "wangeditor": "^3.1.1",
  71. "xlsx": "^0.14.1"
  72. },
  73. "devDependencies": {
  74. "@babel/core": "7.0.0",
  75. "@babel/parser": "^7.7.4",
  76. "@babel/register": "7.0.0",
  77. "@vue/babel-plugin-transform-vue-jsx": "^1.2.1",
  78. "@vue/cli-plugin-babel": "3.5.3",
  79. "@vue/cli-plugin-eslint": "^3.9.1",
  80. "@vue/cli-plugin-unit-jest": "3.5.3",
  81. "@vue/cli-service": "3.5.3",
  82. "@vue/test-utils": "1.0.0-beta.29",
  83. "autoprefixer": "^9.5.1",
  84. "babel-core": "7.0.0-bridge.0",
  85. "babel-eslint": "10.0.1",
  86. "babel-jest": "23.6.0",
  87. "babel-plugin-dynamic-import-node": "2.3.0",
  88. "babel-plugin-transform-remove-console": "^6.9.4",
  89. "chalk": "2.4.2",
  90. "chokidar": "2.1.5",
  91. "connect": "3.6.6",
  92. "eslint": "5.15.3",
  93. "eslint-plugin-vue": "5.2.2",
  94. "html-webpack-plugin": "3.2.0",
  95. "http-proxy-middleware": "^0.19.1",
  96. "husky": "1.3.1",
  97. "lint-staged": "8.1.5",
  98. "plop": "2.3.0",
  99. "runjs": "^4.3.2",
  100. "sass": "^1.26.10",
  101. "sass-loader": "^7.1.0",
  102. "script-ext-html-webpack-plugin": "2.1.3",
  103. "script-loader": "0.7.2",
  104. "serve-static": "^1.13.2",
  105. "svg-sprite-loader": "4.1.3",
  106. "svgo": "1.2.0",
  107. "vue-template-compiler": "2.6.10"
  108. },
  109. "engines": {
  110. "node": ">=8.9",
  111. "npm": ">= 3.0.0"
  112. },
  113. "browserslist": [
  114. "> 1%",
  115. "last 2 versions"
  116. ]
  117. }