You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

package.json 6.0 kB

2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
10 months ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179
  1. {
  2. "name": "cl-model",
  3. "version": "1.0.0",
  4. "private": true,
  5. "description": "",
  6. "scripts": {
  7. "analyze": "cross-env ANALYZE=1 max build",
  8. "build": "max build",
  9. "deploy": "npm run build && npm run gh-pages",
  10. "dev": "npm run start:dev",
  11. "dev-no-sso": "cross-env NO_SSO=true npm run start:dev",
  12. "docker-hub:build": "docker build -f Dockerfile.hub -t ant-design-pro ./",
  13. "docker-prod:build": "docker-compose -f ./docker/docker-compose.yml build",
  14. "docker-prod:dev": "docker-compose -f ./docker/docker-compose.yml up",
  15. "docker:build": "docker-compose -f ./docker/docker-compose.dev.yml build",
  16. "docker:dev": "docker-compose -f ./docker/docker-compose.dev.yml up",
  17. "docker:push": "npm run docker-hub:build && npm run docker:tag && docker push antdesign/ant-design-pro",
  18. "docker:tag": "docker tag ant-design-pro antdesign/ant-design-pro",
  19. "docs": "typedoc",
  20. "gh-pages": "gh-pages -d dist",
  21. "i18n-remove": "pro i18n-remove --locale=zh-CN --write",
  22. "postinstall": "max setup",
  23. "jest": "jest",
  24. "lint": "npm run lint:js && npm run lint:prettier && npm run tsc",
  25. "lint-staged": "lint-staged",
  26. "lint-staged:js": "eslint --ext .js,.jsx,.ts,.tsx ",
  27. "lint:fix": "eslint --fix --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src ",
  28. "lint:js": "eslint --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src",
  29. "lint:prettier": "prettier -c --write \"**/**.{js,jsx,tsx,ts,less,md,json}\" --end-of-line auto",
  30. "openapi": "max openapi",
  31. "prepare": "cd .. && husky install",
  32. "prettier": "prettier -c --write \"**/**.{js,jsx,tsx,ts,less,md,json}\"",
  33. "preview": "npm run build && max preview --port 8000",
  34. "record": "cross-env NODE_ENV=development REACT_APP_ENV=test max record --scene=login",
  35. "serve": "umi-serve",
  36. "start": "cross-env UMI_ENV=dev max dev",
  37. "start:dev": "cross-env REACT_APP_ENV=dev MOCK=none UMI_ENV=dev UMI_DEV_SERVER_COMPRESS=none max dev",
  38. "start:mock": "cross-env REACT_APP_ENV=dev UMI_ENV=dev max dev",
  39. "start:pre": "cross-env REACT_APP_ENV=pre UMI_ENV=dev max dev",
  40. "start:test": "cross-env REACT_APP_ENV=test MOCK=none UMI_ENV=dev max dev",
  41. "storybook": "storybook dev -p 6006",
  42. "storybook-build": "storybook build",
  43. "storybook-deploy": "./.storybook/scripts/upload-deploy.sh",
  44. "storybook-docs": "storybook dev --docs",
  45. "storybook-docs-build": "storybook build --docs",
  46. "test": "jest",
  47. "test:coverage": "npm run jest -- --coverage",
  48. "test:update": "npm run jest -- -u",
  49. "tsc": "tsc --noEmit"
  50. },
  51. "lint-staged": {
  52. "**/*.{js,jsx,ts,tsx}": "npm run lint-staged:js",
  53. "**/*.{js,jsx,tsx,ts,less,md,json}": [
  54. "prettier --write"
  55. ]
  56. },
  57. "browserslist": [
  58. "> 1%",
  59. "last 2 versions",
  60. "not ie <= 10"
  61. ],
  62. "dependencies": {
  63. "@ant-design/icons": "^5.0.0",
  64. "@ant-design/pro-components": "^2.4.4",
  65. "@ant-design/use-emotion-css": "1.0.4",
  66. "@antv/g6": "^4.8.24",
  67. "@antv/hierarchy": "^0.6.12",
  68. "@types/crypto-js": "^4.2.2",
  69. "@umijs/route-utils": "^4.0.1",
  70. "antd": "~5.21.4",
  71. "caniuse-lite": "~1.0.30001707",
  72. "classnames": "^2.3.2",
  73. "crypto-js": "^4.2.0",
  74. "echarts": "^5.5.0",
  75. "fabric": "^5.3.0",
  76. "highlight.js": "^11.7.0",
  77. "lodash": "^4.17.21",
  78. "omit.js": "^2.0.2",
  79. "pnpm": "^8.9.0",
  80. "query-string": "^8.1.0",
  81. "rc-menu": "^9.8.4",
  82. "rc-util": "^5.30.0",
  83. "react": "^18.2.0",
  84. "react-activation": "^0.12.4",
  85. "react-cropper": "^2.3.3",
  86. "react-dev-inspector": "^1.8.1",
  87. "react-dom": "^18.2.0",
  88. "react-draggable": "^4.4.6",
  89. "react-helmet-async": "^1.3.0",
  90. "react-highlight": "^0.15.0"
  91. },
  92. "devDependencies": {
  93. "@ant-design/pro-cli": "^3.1.0",
  94. "@chromatic-com/storybook": "~3.2.4",
  95. "@storybook/addon-essentials": "~8.5.3",
  96. "@storybook/addon-interactions": "~8.5.3",
  97. "@storybook/addon-onboarding": "~8.5.3",
  98. "@storybook/addon-styling-webpack": "~1.0.1",
  99. "@storybook/addon-webpack5-compiler-babel": "~3.0.5",
  100. "@storybook/addon-webpack5-compiler-swc": "~2.0.0",
  101. "@storybook/blocks": "~8.5.3",
  102. "@storybook/manager-api": "~8.6.0",
  103. "@storybook/react": "~8.5.3",
  104. "@storybook/react-webpack5": "~8.5.3",
  105. "@storybook/test": "~8.5.3",
  106. "@storybook/theming": "~8.6.0",
  107. "@testing-library/react": "^14.0.0",
  108. "@types/antd": "^1.0.0",
  109. "@types/express": "^4.17.14",
  110. "@types/jest": "^29.5.1",
  111. "@types/lodash": "^4.14.194",
  112. "@types/react": "^18.0.38",
  113. "@types/react-dom": "^18.0.11",
  114. "@types/react-helmet": "^6.1.5",
  115. "@types/react-highlight": "^0.12.5",
  116. "@umijs/lint": "^4.0.66",
  117. "@umijs/max": "^4.0.66",
  118. "cross-env": "^7.0.3",
  119. "eslint": "^8.39.0",
  120. "eslint-plugin-react-hooks": "~5.2.0",
  121. "eslint-plugin-storybook": "~0.11.2",
  122. "express": "^4.18.2",
  123. "gh-pages": "^5.0.0",
  124. "husky": "^8.0.3",
  125. "jest": "^29.5.0",
  126. "jest-environment-jsdom": "^29.5.0",
  127. "less": "~4.2.2",
  128. "less-loader": "~12.2.0",
  129. "lint-staged": "^13.2.0",
  130. "mockjs": "^1.1.0",
  131. "msw": "~2.7.0",
  132. "msw-storybook-addon": "~2.0.4",
  133. "prettier": "^2.8.1",
  134. "storybook": "~8.5.3",
  135. "swagger-ui-dist": "^4.18.2",
  136. "ts-loader": "~9.5.2",
  137. "ts-node": "^10.9.1",
  138. "typedoc": "~0.28.1",
  139. "typescript": "^5.0.4",
  140. "umi-presets-pro": "^2.0.0"
  141. },
  142. "engines": {
  143. "node": ">=18.18.0"
  144. },
  145. "create-umi": {
  146. "ignoreScript": [
  147. "docker*",
  148. "functions*",
  149. "site",
  150. "generateMock"
  151. ],
  152. "ignoreDependencies": [
  153. "netlify*",
  154. "serverless"
  155. ],
  156. "ignore": [
  157. ".dockerignore",
  158. ".git",
  159. ".github",
  160. ".gitpod.yml",
  161. "CODE_OF_CONDUCT.md",
  162. "Dockerfile",
  163. "Dockerfile.*",
  164. "lambda",
  165. "LICENSE",
  166. "netlify.toml",
  167. "README.*.md",
  168. "azure-pipelines.yml",
  169. "docker",
  170. "CNAME",
  171. "create-umi"
  172. ]
  173. },
  174. "msw": {
  175. "workerDirectory": [
  176. "public"
  177. ]
  178. }
  179. }