package.json 3.9 KB

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