package.json 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  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. "jsencrypt": "^3.3.2",
  24. "mxgraph": "^4.2.2",
  25. "nprogress": "^0.2.0",
  26. "sha1-hex": "^1.0.0",
  27. "superapi-51world": "^5.4.0",
  28. "vue": "^2.6.11",
  29. "vue-countupjs": "^1.0.0",
  30. "vue-router": "^3.2.0",
  31. "vuex": "^3.4.0"
  32. },
  33. "devDependencies": {
  34. "@vue/cli-plugin-babel": "~4.5.14",
  35. "@vue/cli-plugin-eslint": "~4.5.14",
  36. "@vue/cli-plugin-router": "^4.5.15",
  37. "@vue/cli-plugin-vuex": "^4.5.15",
  38. "@vue/cli-service": "~4.5.14",
  39. "babel-eslint": "^10.1.0",
  40. "echarts": "^5.3.1",
  41. "eslint": "^6.7.2",
  42. "eslint-plugin-vue": "^6.2.2",
  43. "sass": "^1.50.0",
  44. "sass-loader": "^8.0.2",
  45. "vue-template-compiler": "^2.6.11"
  46. },
  47. "eslintConfig": {
  48. "root": true,
  49. "env": {
  50. "node": true
  51. },
  52. "extends": [
  53. "plugin:vue/essential",
  54. "eslint:recommended"
  55. ],
  56. "parserOptions": {
  57. "parser": "babel-eslint"
  58. },
  59. "rules": {
  60. "generator-star-spacing": "off",
  61. "no-tabs": "off",
  62. "no-unused-vars": "off",
  63. "no-console": "off",
  64. "no-irregular-whitespace": "off",
  65. "no-debugger": "off"
  66. }
  67. },
  68. "browserslist": [
  69. "> 1%",
  70. "last 2 versions",
  71. "not dead"
  72. ]
  73. }