package.json 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142
  1. {
  2. "name": "zsis",
  3. "version": "1.0.0",
  4. "private": true,
  5. "description": "医学成像系统",
  6. "main": "main.js",
  7. "templateInfo": {
  8. "name": "default",
  9. "typescript": true,
  10. "css": "None",
  11. "framework": "React"
  12. },
  13. "scripts": {
  14. "lint": "eslint --ext .ts,.tsx .",
  15. "lint:fix": "eslint --ext .ts,.tsx . --fix",
  16. "format": "prettier --write 'src/**/*.{ts,tsx}'",
  17. "build:weapp": "taro build --type weapp",
  18. "build:swan": "taro build --type swan",
  19. "build:alipay": "taro build --type alipay",
  20. "build:tt": "taro build --type tt",
  21. "build:h5": "taro build --type h5",
  22. "build:rn": "taro build --type rn",
  23. "build:qq": "taro build --type qq",
  24. "build:jd": "taro build --type jd",
  25. "build:harmony-hybrid": "taro build --type harmony-hybrid",
  26. "dev:weapp": "npm run build:weapp -- --watch",
  27. "dev:swan": "npm run build:swan -- --watch",
  28. "dev:alipay": "npm run build:alipay -- --watch",
  29. "dev:tt": "npm run build:tt -- --watch",
  30. "dev:h5": "npm run build:h5 -- --watch",
  31. "dev:rn": "npm run build:rn -- --watch",
  32. "dev:qq": "npm run build:qq -- --watch",
  33. "dev:jd": "npm run build:jd -- --watch",
  34. "dev:harmony-hybrid": "npm run build:harmony-hybrid -- --watch",
  35. "prepare": "husky",
  36. "start:electron": "electron .",
  37. "prebuild:arm:linux": "cp ./.build/taro.linux-arm64-gnu.node ./node_modules/@tarojs/binding",
  38. "build:electron:win": "electron-builder --config electron-builder.json --win",
  39. "build:electron:linux": "electron-builder --config electron-builder.json --linux",
  40. "build:android": "node ./.build/build-android.js",
  41. "e2e": "npx cypress run --headed",
  42. "pack:linux": "node ./.build/h5_for_electron.build.linux.arm.js",
  43. "pack:win": "node ./.build/h5_for_electron.build.win.x64.js",
  44. "pkg": "node ./.build/h5_for_webserver.build.js",
  45. "h5_for_production": "node ./.build/h5_for_production.js"
  46. },
  47. "browserslist": [
  48. "defaults and fully supports es6-module",
  49. "maintained node versions"
  50. ],
  51. "author": "",
  52. "dependencies": {
  53. "@babel/runtime": "^7.24.4",
  54. "@cornerstonejs/core": "^3.28.0",
  55. "@cornerstonejs/dicom-image-loader": "^3.28.0",
  56. "@cornerstonejs/tools": "^3.28.0",
  57. "@reduxjs/toolkit": "^2.8.2",
  58. "@tarojs/components": "4.1.1",
  59. "@tarojs/helper": "4.1.1",
  60. "@tarojs/plugin-framework-react": "4.1.1",
  61. "@tarojs/plugin-http": "4.1.1",
  62. "@tarojs/plugin-platform-alipay": "4.1.1",
  63. "@tarojs/plugin-platform-h5": "4.1.1",
  64. "@tarojs/plugin-platform-harmony-hybrid": "4.1.1",
  65. "@tarojs/plugin-platform-jd": "4.1.1",
  66. "@tarojs/plugin-platform-qq": "4.1.1",
  67. "@tarojs/plugin-platform-swan": "4.1.1",
  68. "@tarojs/plugin-platform-tt": "4.1.1",
  69. "@tarojs/plugin-platform-weapp": "4.1.1",
  70. "@tarojs/react": "4.1.1",
  71. "@tarojs/runtime": "4.1.1",
  72. "@tarojs/shared": "4.1.1",
  73. "@tarojs/taro": "4.1.1",
  74. "antd": "^5.25.3",
  75. "antd-mobile": "^5.39.0",
  76. "axios": "^1.9.0",
  77. "dayjs": "^1.11.13",
  78. "dicomweb-client": "0.10.4",
  79. "mitt": "^3.0.1",
  80. "moment": "^2.30.1",
  81. "mqtt": "^5.14.0",
  82. "pkg": "^5.8.1",
  83. "react": "^18.0.0",
  84. "react-dom": "^18.0.0",
  85. "react-intl": "^7.1.11",
  86. "react-redux": "^9.2.0",
  87. "react-resizable": "^3.0.5",
  88. "react-router-dom": "^7.6.1",
  89. "redux": "^5.0.1",
  90. "zod": "^3.25.67"
  91. },
  92. "devDependencies": {
  93. "@babel/core": "^7.24.4",
  94. "@babel/plugin-transform-class-properties": "7.25.9",
  95. "@babel/preset-react": "^7.24.1",
  96. "@cypress/webpack-preprocessor": "^7.0.0",
  97. "@pmmmwh/react-refresh-webpack-plugin": "^0.5.5",
  98. "@tarojs/cli": "4.1.1",
  99. "@tarojs/taro-loader": "4.1.1",
  100. "@tarojs/webpack5-runner": "4.1.1",
  101. "@types/cypress": "^1.1.6",
  102. "@types/node": "^18",
  103. "@types/react": "^18.0.0",
  104. "@types/webpack": "^5.28.5",
  105. "@types/webpack-env": "^1.13.6",
  106. "@typescript-eslint/eslint-plugin": "^8.33.1",
  107. "@typescript-eslint/parser": "^8.33.1",
  108. "autoprefixer": "^10.4.21",
  109. "babel-preset-taro": "4.1.1",
  110. "browserify-fs": "^1.0.0",
  111. "cordova": "^12.0.0",
  112. "cypress": "^14.5.4",
  113. "electron-builder": "^26.0.12",
  114. "eslint": "^9.28.0",
  115. "eslint-config-prettier": "^10.1.5",
  116. "eslint-plugin-prettier": "^5.4.1",
  117. "globals": "^16.2.0",
  118. "husky": "^9.1.7",
  119. "lint-staged": "^16.1.0",
  120. "msw": "^2.10.2",
  121. "path-browserify": "^1.0.1",
  122. "postcss": "^8.5.4",
  123. "postcss-loader": "^8.1.1",
  124. "prettier": "^3.5.3",
  125. "react-refresh": "^0.14.0",
  126. "stream-browserify": "^3.0.0",
  127. "string-replace-loader": "^3.2.0",
  128. "stylelint": "^16.4.0",
  129. "tailwindcss": "^3.4.17",
  130. "terser-webpack-plugin": "^5.3.14",
  131. "tsconfig-paths-webpack-plugin": "^4.1.0",
  132. "typescript": "^5.4.5",
  133. "typescript-eslint": "^8.33.1",
  134. "util": "^0.12.5",
  135. "webpack": "5.91.0"
  136. },
  137. "msw": {
  138. "workerDirectory": [
  139. "public"
  140. ]
  141. }
  142. }