package.json 3.8 KB

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