package.json 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. {
  2. "name": "vue-next-admin",
  3. "version": "2.0.2",
  4. "description": "vue3 vite next admin template",
  5. "author": "lyt_20201208",
  6. "license": "MIT",
  7. "scripts": {
  8. "dev": "vite --force",
  9. "build": "vite build",
  10. "build:open": "vite build --mode open",
  11. "deploy:zip": "npm run build && npm run zipAndUpload && npm run unzip && npm run success",
  12. "zipAndUpload": "cd dist && rm -rf zhgy.sagoo.cn.zip && zip -r -q zhgy.sagoo.cn.zip ./ && ssh iot 'sudo rm /www/wwwroot/zhgy.sagoo.cn-old.zip' | ssh iot 'sudo mv /www/wwwroot/zhgy.sagoo.cn.zip /www/wwwroot/zhgy.sagoo.cn-old.zip' | scp -r -O zhgy.sagoo.cn.zip iot:/www/wwwroot",
  13. "unzip": "ssh iot 'cd /www/wwwroot/ && sudo unzip -q -o -d ./zhgy.sagoo.cn zhgy.sagoo.cn.zip'",
  14. "success": "echo '\\033[31m 部署完成 \\033[0m'",
  15. "deploy": "npm run build && npm run deploy:rm && npm run deploy:scp && npm run deploy:auth | npm run success",
  16. "deploy:rm": "ssh iot 'rm -rf /www/wwwroot/zhgy.sagoo.cn-copy/* && rm -rf /www/wwwroot/zhgy.sagoo.cn-pre/*'",
  17. "deploy:scp": "scp -r -O ./dist/* iot:/www/wwwroot/zhgy.sagoo.cn-pre/ && ssh iot 'cd /www/wwwroot/zhgy.sagoo.cn/ && mv `ls | grep -v plugin` ../zhgy.sagoo.cn-copy && mv ../zhgy.sagoo.cn-pre/* ./'",
  18. "deploy:auth": "ssh iot 'chown -R www /www/wwwroot/zhgy.sagoo.cn/'",
  19. "lint-fix": "eslint --fix --ext .js --ext .jsx --ext .vue src/"
  20. },
  21. "dependencies": {
  22. "@antv/g2plot": "^2.4.20",
  23. "@element-plus/icons-vue": "^2.0.9",
  24. "axios": "^0.26.0",
  25. "clipboard": "^2.0.11",
  26. "codemirror": "^5.65.9",
  27. "countup.js": "^2.1.0",
  28. "cropperjs": "^1.5.12",
  29. "dayjs": "^1.11.8",
  30. "downloadjs": "^1.4.7",
  31. "echarts": "^5.3.3",
  32. "echarts-gl": "^2.0.9",
  33. "echarts-wordcloud": "^2.0.0",
  34. "element-plus": "2.2.28",
  35. "event-source-polyfill": "^1.0.31",
  36. "jsplumb": "^2.15.6",
  37. "mitt": "^3.0.0",
  38. "nprogress": "^0.2.0",
  39. "pako": "^1.0.11",
  40. "print-js": "^1.6.0",
  41. "qrcodejs2-fixes": "^0.0.2",
  42. "screenfull": "^6.0.1",
  43. "sortablejs": "^1.14.0",
  44. "splitpanes": "^3.1.1",
  45. "uuid": "^9.0.0",
  46. "vform3-builds": "^3.0.8",
  47. "vue": "^3.2.37",
  48. "vue-baidu-map-3x": "^1.0.18",
  49. "vue-clipboard3": "^1.0.1",
  50. "vue-codemirror": "^6.1.1",
  51. "vue-grid-layout": "^3.0.0-beta1",
  52. "vue-i18n": "9.1.10",
  53. "vue-router": "^4.0.13",
  54. "vue3-cron": "^1.1.8",
  55. "vue3-json-viewer": "^2.2.2",
  56. "vuex": "^4.0.2",
  57. "wangeditor": "^4.7.12",
  58. "xlsx-with-styles": "^0.17.2"
  59. },
  60. "devDependencies": {
  61. "@types/node": "^17.0.21",
  62. "@types/nprogress": "^0.2.0",
  63. "@types/sortablejs": "^1.10.7",
  64. "@typescript-eslint/eslint-plugin": "^5.13.0",
  65. "@typescript-eslint/parser": "^5.13.0",
  66. "@vitejs/plugin-vue": "^2.2.4",
  67. "@vue/compiler-sfc": "^3.2.31",
  68. "dotenv": "^16.0.0",
  69. "eslint": "^8.10.0",
  70. "eslint-plugin-vue": "^8.5.0",
  71. "prettier": "^2.5.1",
  72. "sass": "^1.49.9",
  73. "sass-loader": "^12.6.0",
  74. "typescript": "^4.6.2",
  75. "vite": "^2.8.6",
  76. "vue-eslint-parser": "^8.3.0"
  77. },
  78. "browserslist": [
  79. "> 1%",
  80. "last 2 versions",
  81. "not dead"
  82. ],
  83. "bugs": {
  84. "url": "https://gitee.com/lyt-top/vue-next-admin/issues"
  85. },
  86. "engines": {
  87. "node": ">=12.0.0",
  88. "npm": ">= 6.0.0"
  89. },
  90. "keywords": [
  91. "vue",
  92. "vue3",
  93. "vuejs/vue-next",
  94. "element-ui",
  95. "element-plus",
  96. "vue-next-admin",
  97. "next-admin"
  98. ],
  99. "repository": {
  100. "type": "git",
  101. "url": "https://gitee.com/lyt-top/vue-next-admin.git"
  102. }
  103. }