package.json 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  1. {
  2. "name": "ant-design-pro",
  3. "version": "2.1.1",
  4. "description": "An out-of-box UI solution for enterprise applications",
  5. "private": true,
  6. "scripts": {
  7. "presite": "node ./scripts/generateMock.js && cd functions && npm install",
  8. "start": "cross-env APP_TYPE=site NODE_OPTIONS=--openssl-legacy-provider --max_old_space_size=6666 umi dev --port=8107",
  9. "start:no-mock": "cross-env MOCK=none umi dev",
  10. "build": "cross-env NODE_OPTIONS=--openssl-legacy-provider umi build",
  11. "site": "npm run presite && cross-env APP_TYPE=site npm run build && firebase deploy && npm run docker:push",
  12. "analyze": "cross-env ANALYZE=1 umi build",
  13. "lint:style": "stylelint \"src/**/*.less\" --syntax less",
  14. "lint": "eslint --ext .js src mock tests && npm run lint:style",
  15. "lint:fix": "eslint --fix --ext .js src mock tests && npm run lint:style",
  16. "lint-staged": "lint-staged",
  17. "lint-staged:js": "eslint --ext .js",
  18. "tslint": "npm run tslint:fix",
  19. "tslint:fix": "tslint --fix 'src/**/*.ts*'",
  20. "test": "umi test",
  21. "test:component": "umi test ./src/components",
  22. "test:all": "node ./tests/run-tests.js",
  23. "prettier": "node ./scripts/prettier.js",
  24. "docker:dev": "docker-compose -f ./docker/docker-compose.dev.yml up",
  25. "docker:build": "docker-compose -f ./docker/docker-compose.dev.yml build",
  26. "docker-prod:dev": "docker-compose -f ./docker/docker-compose.yml up",
  27. "docker-prod:build": "docker-compose -f ./docker/docker-compose.yml build",
  28. "docker-hub:build": "docker build -f Dockerfile.hub -t ant-design-pro ./",
  29. "docker:tag": "docker tag ant-design-pro chenshuai2144/ant-design-pro",
  30. "docker:push": "npm run docker-hub:build && npm run docker:tag && docker push chenshuai2144/ant-design-pro"
  31. },
  32. "dependencies": {
  33. "@ant-design/charts": "1.2.7",
  34. "@antv/data-set": "^0.10.0",
  35. "@babel/runtime": "^7.1.5",
  36. "antd": "^3.16.6",
  37. "bizcharts": "^3.5.9",
  38. "bizcharts-plugin-slider": "^2.1.1-beta.1",
  39. "classnames": "^2.2.6",
  40. "dva": "^2.4.0",
  41. "enquire-js": "^0.2.1",
  42. "hash.js": "^1.1.5",
  43. "jquery": "^3.5.1",
  44. "lodash": "^4.17.10",
  45. "lodash-decorators": "^6.0.0",
  46. "memoize-one": "^5.0.0",
  47. "ml-matrix": "6.5.0",
  48. "moment": "^2.22.2",
  49. "numeral": "^2.0.6",
  50. "nzh": "^1.0.3",
  51. "omit.js": "^1.0.0",
  52. "path-to-regexp": "^2.4.0",
  53. "prop-types": "^15.5.10",
  54. "qrcode.react": "^0.9.3",
  55. "qs": "^6.6.0",
  56. "quill-delta-to-html": "^0.10.7",
  57. "rc-animate": "^2.4.4",
  58. "rc-tween-one": "^2.7.3",
  59. "re-resizable": "^4.11.0",
  60. "react": "^16.14.0",
  61. "react-activation": "^0.10.1",
  62. "react-beautiful-dnd": "^10.1.1",
  63. "react-color": "^2.14.1",
  64. "react-container-query": "^0.11.0",
  65. "react-copy-to-clipboard": "^5.0.1",
  66. "react-custom-scrollbars": "^4.2.1",
  67. "react-document-title": "^2.0.3",
  68. "react-dom": "^16.6.3",
  69. "react-fittext": "^1.0.0",
  70. "react-marquee": "^1.0.0",
  71. "react-media": "^1.8.0",
  72. "react-quill": "^1.3.3",
  73. "react-resizable": "1.7.5",
  74. "react-router-dom": "^4.3.1",
  75. "react-slick": "^0.27.11",
  76. "slick-carousel": "^1.8.1",
  77. "umi-plugin-locale": "^2.11.7"
  78. },
  79. "resolutions": {
  80. "ml-matrix": "6.5.0"
  81. },
  82. "devDependencies": {
  83. "@types/react": "^16.7.7",
  84. "@types/react-dom": "^16.0.10",
  85. "antd-pro-merge-less": "^1.0.0",
  86. "antd-theme-webpack-plugin": "^1.1.8",
  87. "babel-eslint": "^10.0.1",
  88. "cross-env": "^5.1.1",
  89. "cross-port-killer": "^1.0.1",
  90. "enzyme": "^3.7.0",
  91. "eslint": "^5.4.0",
  92. "eslint-config-airbnb": "^17.0.0",
  93. "eslint-config-prettier": "^3.0.1",
  94. "eslint-plugin-babel": "^5.3.0",
  95. "eslint-plugin-compat": "^2.6.2",
  96. "eslint-plugin-import": "^2.14.0",
  97. "eslint-plugin-jsx-a11y": "^6.1.2",
  98. "eslint-plugin-markdown": "^1.0.0-beta.6",
  99. "eslint-plugin-react": "^7.11.1",
  100. "gh-pages": "^2.0.1",
  101. "husky": "^1.2.0",
  102. "jest-puppeteer": "^3.5.1",
  103. "lint-staged": "^8.1.0",
  104. "merge-umi-mock-data": "^0.0.3",
  105. "mockjs": "^1.0.1-beta3",
  106. "prettier": "1.15.2",
  107. "pro-download": "^1.0.1",
  108. "style-resources-loader": "^1.5.0",
  109. "stylelint": "^9.8.0",
  110. "stylelint-config-prettier": "^4.0.0",
  111. "stylelint-config-standard": "^18.0.0",
  112. "tslint": "^5.10.0",
  113. "tslint-config-prettier": "^1.10.0",
  114. "tslint-react": "^3.6.0",
  115. "umi": "^2.2.7",
  116. "umi-plugin-ga": "^1.1.3",
  117. "umi-plugin-react": "^1.2.0"
  118. },
  119. "optionalDependencies": {
  120. "puppeteer": "^1.10.0"
  121. },
  122. "lint-staged": {
  123. "**/*.{jsx}": "npm run lint-staged:js"
  124. },
  125. "engines": {
  126. "node": ">=8.0.0"
  127. },
  128. "browserslist": [
  129. "> 1%",
  130. "last 2 versions",
  131. "not ie <= 10"
  132. ],
  133. "husky": {
  134. "hooks": {
  135. "pre-commit": "npm run lint-staged"
  136. }
  137. }
  138. }