package.json 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. {
  2. "name": "admin",
  3. "version": "0.1.0",
  4. "description": "Element UI & axios & iconfont & permission control & lint",
  5. "scripts": {
  6. "dev": "npm run clean && vue-cli-service serve",
  7. "build:prod": "npm run clean && vue-cli-service build",
  8. "build": "npm run clean && vue-cli-service build",
  9. "build:stage": "vue-cli-service build --mode staging",
  10. "preview": "node build/index.js --preview",
  11. "clean": "rimraf node_modules/.cache"
  12. },
  13. "dependencies": {
  14. "axios": "^0.26.0",
  15. "core-js": "^3.6.5",
  16. "countup.js": "^1.9.3",
  17. "echarts": "^5.3.1",
  18. "echarts-gl": "^2.0.9",
  19. "element-ui": "^2.15.6",
  20. "esri-loader": "^3.6.0",
  21. "jquery": "^3.6.0",
  22. "js-cookie": "^3.0.5",
  23. "mxgraph": "^4.2.2",
  24. "nprogress": "^0.2.0",
  25. "sha1-hex": "^1.0.0",
  26. "superapi-51world": "^5.4.0",
  27. "vue": "^2.6.11",
  28. "vue-countupjs": "^1.0.0",
  29. "vue-router": "^3.2.0",
  30. "vuex": "^3.4.0"
  31. },
  32. "devDependencies": {
  33. "@vue/cli-plugin-babel": "~4.5.14",
  34. "@vue/cli-plugin-eslint": "~4.5.14",
  35. "@vue/cli-plugin-router": "^4.5.15",
  36. "@vue/cli-plugin-vuex": "^4.5.15",
  37. "@vue/cli-service": "~4.5.14",
  38. "babel-eslint": "^10.1.0",
  39. "echarts": "^5.3.1",
  40. "eslint": "^6.7.2",
  41. "eslint-plugin-vue": "^6.2.2",
  42. "sass": "^1.50.0",
  43. "sass-loader": "^8.0.2",
  44. "vue-template-compiler": "^2.6.11"
  45. },
  46. "eslintConfig": {
  47. "root": true,
  48. "env": {
  49. "node": true
  50. },
  51. "extends": [
  52. "plugin:vue/essential",
  53. "eslint:recommended"
  54. ],
  55. "parserOptions": {
  56. "parser": "babel-eslint"
  57. },
  58. "rules": {
  59. "generator-star-spacing": "off",
  60. "no-tabs": "off",
  61. "no-unused-vars": "off",
  62. "no-console": "off",
  63. "no-irregular-whitespace": "off",
  64. "no-debugger": "off"
  65. }
  66. },
  67. "browserslist": [
  68. "> 1%",
  69. "last 2 versions",
  70. "not dead"
  71. ]
  72. }