package.json 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. {
  2. "name": "sapit-ui-plus",
  3. "version": "1.0.1",
  4. "private": false,
  5. "description": "赛普科技 - 底层框架 - 项目基座",
  6. "type": "module",
  7. "author": "diry",
  8. "license": "ISC",
  9. "main": "./lib/js/index.js",
  10. "module": "./lib/js/index.js",
  11. "files": [
  12. "lib",
  13. "docs",
  14. "vite-plugins",
  15. "sso",
  16. "static"
  17. ],
  18. "publishConfig": {
  19. "registry": "http://192.168.200.4:4873"
  20. },
  21. "scripts": {
  22. "dev": "vite",
  23. "build": "npm run build:pkg && npm run publish:git",
  24. "build:lib": "vite build",
  25. "build:pkg": "vite build && @powershell copy './package.json' './dist/' && @powershell Copy-Item -Recurse -Force './docs' './dist' && @powershell Copy-Item -Recurse -Force './vite-plugins' './dist' && @powershell if (Test-Path './dist/sso') { Remove-Item -Recurse -Force './dist/sso' } ; Copy-Item -Recurse './packages/sso' './dist/sso' && @powershell if (Test-Path './dist/static') { Remove-Item -Recurse -Force './dist/static' } ; Copy-Item -Recurse './packages/static' './dist/static'",
  26. "publish:git": "cd dist && git init && git add -A && git commit -m 'deploy' && git push -f http://192.168.200.4:6110/sapit/sapit-ui-plus.git master",
  27. "publish:npm": "node scripts/publish.js",
  28. "pack:tgz": "npm run build:pkg && node scripts/pack.js",
  29. "preview": "vite preview",
  30. "lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs --fix --ignore-path .gitignore",
  31. "format": "prettier --write src/"
  32. },
  33. "dependencies": {
  34. "@vueuse/core": "^11.0.3",
  35. "ant-design-vue": "4.x",
  36. "axios": "^1.7.3",
  37. "crypto-js": "^4.2.0",
  38. "dayjs": "^1.11.12",
  39. "html2canvas": "^1.4.1",
  40. "jodit": "3.24.7",
  41. "js-base64": "^3.7.2",
  42. "jsencrypt": "^3.3.2",
  43. "jspdf": "^4.2.1",
  44. "less": "^4.2.0",
  45. "less-loader": "^12.2.0",
  46. "lodash.clonedeep": "^4.5.0",
  47. "lodash.get": "^4.4.2",
  48. "lodash.pick": "^4.4.0",
  49. "moment": "^2.30.1",
  50. "nprogress": "^0.2.0",
  51. "pinia": "^2.1.7",
  52. "pinia-plugin-persist": "^1.0.0",
  53. "qs": "^6.13.0",
  54. "socket.io-client": "^2.5.0",
  55. "v-clipboard": "^3.0.0-next.1",
  56. "vite-plugin-generate-file": "^0.2.0",
  57. "vite-plugin-html": "^3.2.2",
  58. "vue": "^3.4.29",
  59. "vue-cropper": "^1.1.4",
  60. "vue-i18n": "^9.14.0",
  61. "vue-ls": "^4.2.0",
  62. "vue-router": "^4.3.3",
  63. "vuedraggable": "^4.1.0"
  64. },
  65. "devDependencies": {
  66. "@rushstack/eslint-patch": "^1.8.0",
  67. "@vitejs/plugin-vue": "^5.0.5",
  68. "@vue/eslint-config-prettier": "^9.0.0",
  69. "eslint": "^8.57.0",
  70. "eslint-plugin-vue": "^9.23.0",
  71. "prettier": "^3.2.5",
  72. "unplugin-vue-components": "^0.27.3",
  73. "vite": "^5.3.1",
  74. "vite-plugin-svg-icons": "^2.0.1"
  75. }
  76. }