package.json 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  1. {
  2. "name": "sagoo-admin-ui",
  3. "version": "v2.1.1",
  4. "description": "vue3 vite next admin template",
  5. "author": "lyt_20201208",
  6. "license": "MIT",
  7. "scripts": {
  8. "dev": "vite --force",
  9. "build": "vite build && npm run getVersion",
  10. "build:golocal": "vite build --mode golocal && npm run getVersion",
  11. "build:open": "vite build --mode open && npm run getVersion",
  12. "build:test": "vite build --mode test && npm run getVersion",
  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. "getVersion": "node ./getVersion.mjs",
  23. "updateVersion:small": "node ./updateVersion.mjs --patch",
  24. "updateVersion:mid": "node ./updateVersion.mjs --minor",
  25. "updateVersion:big": "node ./updateVersion.mjs --major"
  26. },
  27. "dependencies": {
  28. "@antv/g2plot": "^2.4.20",
  29. "@element-plus/icons-vue": "^2.0.9",
  30. "axios": "^0.26.0",
  31. "clipboard": "^2.0.11",
  32. "codemirror": "^5.65.9",
  33. "codemirror-editor-vue3": "^2.5.8",
  34. "countup.js": "^2.1.0",
  35. "cropperjs": "^1.5.12",
  36. "dayjs": "^1.11.8",
  37. "downloadjs": "^1.4.7",
  38. "echarts": "^5.5.0",
  39. "echarts-gl": "^2.0.9",
  40. "echarts-wordcloud": "^2.0.0",
  41. "element-plus": "2.2.28",
  42. "event-source-polyfill": "^1.0.31",
  43. "js-cookie": "^3.0.5",
  44. "jsplumb": "^2.15.6",
  45. "jsrsasign": "^10.8.6",
  46. "loadsh": "^0.0.4",
  47. "mitt": "^3.0.0",
  48. "nprogress": "^0.2.0",
  49. "pako": "^1.0.11",
  50. "print-js": "^1.6.0",
  51. "qrcodejs2-fixes": "^0.0.2",
  52. "screenfull": "^6.0.1",
  53. "semver": "^7.6.2",
  54. "sortablejs": "^1.14.0",
  55. "splitpanes": "^3.1.1",
  56. "uuid": "^9.0.0",
  57. "vform3-builds": "^3.0.8",
  58. "vue": "^3.2.37",
  59. "vue-baidu-map-3x": "^1.0.18",
  60. "vue-clipboard3": "^1.0.1",
  61. "vue-codemirror": "^6.1.1",
  62. "vue-grid-layout": "^3.0.0-beta1",
  63. "vue-i18n": "9.1.10",
  64. "vue-router": "^4.0.13",
  65. "vue3-clipboard": "^1.0.0",
  66. "vue3-cron": "^1.1.8",
  67. "vue3-json-viewer": "^2.2.2",
  68. "vuex": "^4.0.2",
  69. "wangeditor": "^4.7.12",
  70. "xlsx-with-styles": "^0.17.2"
  71. },
  72. "devDependencies": {
  73. "@types/js-cookie": "^3.0.6",
  74. "@types/node": "^17.0.21",
  75. "@types/nprogress": "^0.2.0",
  76. "@types/sortablejs": "^1.10.7",
  77. "@typescript-eslint/eslint-plugin": "^5.13.0",
  78. "@typescript-eslint/parser": "^5.13.0",
  79. "@vitejs/plugin-vue": "^2.2.4",
  80. "@vue/compiler-sfc": "^3.2.31",
  81. "dotenv": "^16.0.0",
  82. "eslint": "^8.10.0",
  83. "eslint-plugin-vue": "^8.5.0",
  84. "prettier": "^2.5.1",
  85. "sass": "^1.49.9",
  86. "sass-loader": "^12.6.0",
  87. "typescript": "^4.6.2",
  88. "vite": "^2.9.16",
  89. "vite-plugin-compression": "^0.5.1",
  90. "vue-eslint-parser": "^8.3.0"
  91. },
  92. "browserslist": [
  93. "> 1%",
  94. "last 2 versions",
  95. "not dead"
  96. ],
  97. "bugs": {
  98. "url": "https://gitee.com/lyt-top/vue-next-admin/issues"
  99. },
  100. "engines": {
  101. "node": ">=12.0.0",
  102. "npm": ">= 6.0.0"
  103. },
  104. "keywords": [
  105. "vue",
  106. "vue3",
  107. "vuejs/vue-next",
  108. "element-ui",
  109. "element-plus",
  110. "vue-next-admin",
  111. "next-admin"
  112. ],
  113. "repository": {
  114. "type": "git",
  115. "url": "https://gitee.com/lyt-top/vue-next-admin.git"
  116. },
  117. "updateTime": "2024-05-20 09:22:34"
  118. }