package.json 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. {
  2. "name": "webpc-admin",
  3. "version": "4.2.1",
  4. "description": "",
  5. "author": "",
  6. "license": "MIT",
  7. "scripts": {
  8. "dev": "vue-cli-service serve --open",
  9. "build:prod": "vue-cli-service build",
  10. "build:stage": "vue-cli-service build --mode staging",
  11. "preview": "node build/index.js --preview",
  12. "prettier:comment": "自动格式化当前目录下的所有文件",
  13. "prettier": "prettier --write .",
  14. "lint": "eslint --fix --ext .js,.vue src",
  15. "test:unit": "jest --clearCache && vue-cli-service test:unit",
  16. "test:ci": "npm run lint && npm run test:unit",
  17. "svgo": "svgo -f src/icons/svg --config=src/icons/svgo.yml",
  18. "new": "plop"
  19. },
  20. "husky": {
  21. "hooks": {
  22. "pre-commit": "lint-staged"
  23. }
  24. },
  25. "lint-staged": {
  26. "src/**/*.{js,vue}": [
  27. "eslint --fix",
  28. "git add"
  29. ]
  30. },
  31. "keywords": [
  32. " Java"
  33. ],
  34. "repository": {
  35. "type": "gitee",
  36. "url": ""
  37. },
  38. "bugs": {
  39. "url": ""
  40. },
  41. "dependencies": {
  42. "@babel/parser": "^7.9.6",
  43. "@riophae/vue-treeselect": "0.4.0",
  44. "async-validator": "^1.11.2",
  45. "axios": "^0.24.0",
  46. "babel-polyfill": "^6.26.0",
  47. "clipboard": "^2.0.4",
  48. "core-js": "^2.6.11",
  49. "crypto-js": "^4.1.1",
  50. "echarts": "4.2.1",
  51. "element-ui": "2.15.6",
  52. "file-saver": "2.0.1",
  53. "fuse.js": "3.4.4",
  54. "js-cookie": "2.2.0",
  55. "jsonlint": "1.6.3",
  56. "jszip": "3.2.1",
  57. "mpvue-calendar": "^2.3.7",
  58. "normalize.css": "7.0.0",
  59. "nprogress": "0.2.0",
  60. "path-to-regexp": "2.4.0",
  61. "qrcodejs2": "^0.0.2",
  62. "sass": "1.26.2",
  63. "sass-loader": "^7.2.0",
  64. "screenfull": "4.2.0",
  65. "script-loader": "0.7.2",
  66. "throttle-debounce": "^2.1.0",
  67. "vconsole": "^3.3.2",
  68. "vue": "2.6.10",
  69. "vue-awesome-swiper": "^3.1.3",
  70. "vue-cropper": "^0.5.8",
  71. "vue-echarts": "^4.0.3",
  72. "vue-router": "3.0.2",
  73. "vue-ydui": "^1.2.6",
  74. "vuedraggable": "^2.20.0",
  75. "vuex": "3.1.0",
  76. "wechat-jssdk": "^5.0.4",
  77. "xlsx": "0.14.1"
  78. },
  79. "devDependencies": {
  80. "@babel/core": "7.0.0",
  81. "@babel/register": "7.0.0",
  82. "@vue/cli-plugin-babel": "3.5.3",
  83. "@vue/cli-plugin-eslint": "^3.9.1",
  84. "@vue/cli-plugin-unit-jest": "3.5.3",
  85. "@vue/cli-service": "3.5.3",
  86. "@vue/test-utils": "1.0.0-beta.29",
  87. "babel-core": "7.0.0-bridge.0",
  88. "babel-jest": "23.6.0",
  89. "chalk": "2.4.2",
  90. "chokidar": "^3.1.1",
  91. "connect": "3.6.6",
  92. "eslint": "5.15.3",
  93. "eslint-plugin-vue": "5.2.2",
  94. "prettier": "^2.5.1",
  95. "html-webpack-plugin": "3.2.0",
  96. "husky": "1.3.1",
  97. "lint-staged": "8.1.5",
  98. "mockjs": "1.0.1-beta3",
  99. "plop": "2.3.0",
  100. "runjs": "^4.3.2",
  101. "script-loader": "^0.7.2",
  102. "script-ext-html-webpack-plugin": "2.1.3",
  103. "serve-static": "^1.13.2",
  104. "svg-sprite-loader": "4.1.3",
  105. "svgo": "1.2.0",
  106. "vue-lazyload": "^1.3.3",
  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. }