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

95 lines
2.7 KiB

4 months ago
4 months ago
  1. {
  2. "name": "react-antd-admin",
  3. "version": "0.1.0",
  4. "private": true,
  5. "dependencies": {
  6. "@ant-design/icons": "^4.0.6",
  7. "@testing-library/jest-dom": "^4.2.4",
  8. "@testing-library/react": "^9.3.2",
  9. "@testing-library/user-event": "^7.1.2",
  10. "@types/axios": "^0.14.0",
  11. "@types/jest": "^24.0.0",
  12. "@types/node": "^12.0.0",
  13. "@types/react": "^16.9.0",
  14. "@types/react-dom": "^16.9.0",
  15. "@types/react-redux": "^7.1.7",
  16. "@types/react-router-dom": "^5.1.4",
  17. "@types/redux-promise": "^0.5.28",
  18. "antd": "4.2.0",
  19. "axios": "^0.21.1",
  20. "babel-plugin-import": "^1.12.2",
  21. "classnames": "^2.2.6",
  22. "connected-react-router": "^6.5.2",
  23. "cross-env": "^7.0.2",
  24. "dagre": "^0.8.5",
  25. "dayjs": "^1.11.10",
  26. "less": "^3.11.1",
  27. "less-loader": "^5.0.0",
  28. "moment": "^2.24.0",
  29. "react": "^16.13.1",
  30. "react-canvas-nest": "^1.0.10",
  31. "react-dom": "^16.13.1",
  32. "react-flow-renderer": "^10.3.17",
  33. "react-redux": "^7.1.3",
  34. "react-router-breadcrumbs-hoc": "^3.2.4",
  35. "react-router-dom": "^5.1.2",
  36. "react-scripts": "3.2.0",
  37. "redux": "^4.0.4",
  38. "redux-persist": "^6.0.0",
  39. "redux-promise": "^0.6.0",
  40. "typescript": "^4.8.3"
  41. },
  42. "scripts": {
  43. "start": "cross-env PORT=3000 react-app-rewired start",
  44. "test": "react-app-rewired test",
  45. "build": "react-app-rewired build",
  46. "deploy:dev": "npm run build && scp -r ./build/* vps:/home/ubuntu/pzy/filpool",
  47. "deploy:prod": "npm run build && scp -r ./build/* dcfilefast_prod:/data/wwwroot/apk.buzz-up.io/admin-web"
  48. },
  49. "eslintConfig": {
  50. "extends": "react-app"
  51. },
  52. "browserslist": {
  53. "production": [
  54. ">0.2%",
  55. "not dead",
  56. "not op_mini all"
  57. ],
  58. "development": [
  59. "last 1 chrome version",
  60. "last 1 firefox version",
  61. "last 1 safari version"
  62. ]
  63. },
  64. "devDependencies": {
  65. "compression-webpack-plugin": "^3.0.1",
  66. "customize-cra": "^0.8.0",
  67. "eslint": "^6.8.0",
  68. "eslint-config-airbnb": "^18.0.1",
  69. "eslint-config-prettier": "^6.10.0",
  70. "eslint-import-resolver-alias": "^1.1.2",
  71. "eslint-import-resolver-webpack": "^0.11.1",
  72. "eslint-plugin-html": "^6.0.0",
  73. "eslint-plugin-import": "^2.20.1",
  74. "eslint-plugin-jsx-a11y": "^6.2.3",
  75. "eslint-plugin-prettier": "^3.1.2",
  76. "eslint-plugin-react": "^7.18.3",
  77. "eslint-plugin-react-hooks": "^2.3.0",
  78. "husky": "^3.0.9",
  79. "lint-staged": "^9.4.2",
  80. "prettier": "1.18.2",
  81. "react-app-rewired": "^2.1.5",
  82. "redux-devtools": "^3.5.0",
  83. "uglifyjs-webpack-plugin": "^2.2.0",
  84. "webpack-bundle-analyzer": "^3.6.0"
  85. },
  86. "homepage": ".",
  87. "lint-staged": {
  88. "*.{js,jsx}": "eslint"
  89. },
  90. "husky": {
  91. "hooks": {
  92. "pre-commit": "lint-staged"
  93. }
  94. }
  95. }