package.json 3.0 KB

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