package.json 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  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 --spec '__e2e_test__/*.ts'"
  42. },
  43. "browserslist": [
  44. "defaults and fully supports es6-module",
  45. "maintained node versions"
  46. ],
  47. "author": "",
  48. "dependencies": {
  49. "@babel/runtime": "^7.24.4",
  50. "@cornerstonejs/core": "^3.28.0",
  51. "@cornerstonejs/dicom-image-loader": "^3.28.0",
  52. "@cornerstonejs/tools": "^3.28.0",
  53. "@reduxjs/toolkit": "^2.8.2",
  54. "@tarojs/components": "4.1.1",
  55. "@tarojs/helper": "4.1.1",
  56. "@tarojs/plugin-framework-react": "4.1.1",
  57. "@tarojs/plugin-http": "4.1.1",
  58. "@tarojs/plugin-platform-alipay": "4.1.1",
  59. "@tarojs/plugin-platform-h5": "4.1.1",
  60. "@tarojs/plugin-platform-harmony-hybrid": "4.1.1",
  61. "@tarojs/plugin-platform-jd": "4.1.1",
  62. "@tarojs/plugin-platform-qq": "4.1.1",
  63. "@tarojs/plugin-platform-swan": "4.1.1",
  64. "@tarojs/plugin-platform-tt": "4.1.1",
  65. "@tarojs/plugin-platform-weapp": "4.1.1",
  66. "@tarojs/react": "4.1.1",
  67. "@tarojs/runtime": "4.1.1",
  68. "@tarojs/shared": "4.1.1",
  69. "@tarojs/taro": "4.1.1",
  70. "antd": "^5.25.3",
  71. "antd-mobile": "^5.39.0",
  72. "axios": "^1.9.0",
  73. "dayjs": "^1.11.13",
  74. "dicomweb-client": "0.10.4",
  75. "mitt": "^3.0.1",
  76. "mqtt": "^5.14.0",
  77. "react": "^18.0.0",
  78. "react-dom": "^18.0.0",
  79. "react-intl": "^7.1.11",
  80. "react-redux": "^9.2.0",
  81. "react-resizable": "^3.0.5",
  82. "react-router-dom": "^7.6.1",
  83. "redux": "^5.0.1",
  84. "zod": "^3.25.67"
  85. },
  86. "devDependencies": {
  87. "@babel/core": "^7.24.4",
  88. "@babel/plugin-transform-class-properties": "7.25.9",
  89. "@babel/preset-react": "^7.24.1",
  90. "@cypress/webpack-preprocessor": "^7.0.0",
  91. "@pmmmwh/react-refresh-webpack-plugin": "^0.5.5",
  92. "@tarojs/cli": "4.1.1",
  93. "@tarojs/taro-loader": "4.1.1",
  94. "@tarojs/webpack5-runner": "4.1.1",
  95. "@types/cypress": "^1.1.6",
  96. "@types/node": "^18",
  97. "@types/react": "^18.0.0",
  98. "@types/webpack": "^5.28.5",
  99. "@types/webpack-env": "^1.13.6",
  100. "@typescript-eslint/eslint-plugin": "^8.33.1",
  101. "@typescript-eslint/parser": "^8.33.1",
  102. "autoprefixer": "^10.4.21",
  103. "babel-preset-taro": "4.1.1",
  104. "browserify-fs": "^1.0.0",
  105. "cordova": "^12.0.0",
  106. "cypress": "^14.5.4",
  107. "electron-builder": "^26.0.12",
  108. "eslint": "^9.28.0",
  109. "eslint-config-prettier": "^10.1.5",
  110. "eslint-plugin-prettier": "^5.4.1",
  111. "globals": "^16.2.0",
  112. "husky": "^9.1.7",
  113. "lint-staged": "^16.1.0",
  114. "msw": "^2.10.2",
  115. "path-browserify": "^1.0.1",
  116. "postcss": "^8.5.4",
  117. "postcss-loader": "^8.1.1",
  118. "prettier": "^3.5.3",
  119. "react-refresh": "^0.14.0",
  120. "stream-browserify": "^3.0.0",
  121. "string-replace-loader": "^3.2.0",
  122. "stylelint": "^16.4.0",
  123. "tailwindcss": "^3.4.17",
  124. "terser-webpack-plugin": "^5.3.14",
  125. "tsconfig-paths-webpack-plugin": "^4.1.0",
  126. "typescript": "^5.4.5",
  127. "typescript-eslint": "^8.33.1",
  128. "util": "^0.12.5",
  129. "webpack": "5.91.0"
  130. },
  131. "msw": {
  132. "workerDirectory": [
  133. "public"
  134. ]
  135. }
  136. }