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.

94 lines
2.7 KiB

10 months ago
9 months ago
10 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. "less": "^3.11.1",
  26. "less-loader": "^5.0.0",
  27. "moment": "^2.24.0",
  28. "react": "^16.13.1",
  29. "react-canvas-nest": "^1.0.10",
  30. "react-dom": "^16.13.1",
  31. "react-flow-renderer": "^10.3.17",
  32. "react-redux": "^7.1.3",
  33. "react-router-breadcrumbs-hoc": "^3.2.4",
  34. "react-router-dom": "^5.1.2",
  35. "react-scripts": "3.2.0",
  36. "redux": "^4.0.4",
  37. "redux-persist": "^6.0.0",
  38. "redux-promise": "^0.6.0",
  39. "typescript": "^3.8.3"
  40. },
  41. "scripts": {
  42. "start": "cross-env PORT=3000 react-app-rewired start",
  43. "test": "react-app-rewired test",
  44. "build": "react-app-rewired build",
  45. "deploy:dev": "npm run build && scp -r ./build/* vps:/home/ubuntu/pzy/simple",
  46. "deploy:prod": "npm run build && scp -r ./build/* metatrader_prod:/data/wwwroot/admin-simple"
  47. },
  48. "eslintConfig": {
  49. "extends": "react-app"
  50. },
  51. "browserslist": {
  52. "production": [
  53. ">0.2%",
  54. "not dead",
  55. "not op_mini all"
  56. ],
  57. "development": [
  58. "last 1 chrome version",
  59. "last 1 firefox version",
  60. "last 1 safari version"
  61. ]
  62. },
  63. "devDependencies": {
  64. "compression-webpack-plugin": "^3.0.1",
  65. "customize-cra": "^0.8.0",
  66. "eslint": "^6.8.0",
  67. "eslint-config-airbnb": "^18.0.1",
  68. "eslint-config-prettier": "^6.10.0",
  69. "eslint-import-resolver-alias": "^1.1.2",
  70. "eslint-import-resolver-webpack": "^0.11.1",
  71. "eslint-plugin-html": "^6.0.0",
  72. "eslint-plugin-import": "^2.20.1",
  73. "eslint-plugin-jsx-a11y": "^6.2.3",
  74. "eslint-plugin-prettier": "^3.1.2",
  75. "eslint-plugin-react": "^7.18.3",
  76. "eslint-plugin-react-hooks": "^2.3.0",
  77. "husky": "^3.0.9",
  78. "lint-staged": "^9.4.2",
  79. "prettier": "1.18.2",
  80. "react-app-rewired": "^2.1.5",
  81. "redux-devtools": "^3.5.0",
  82. "uglifyjs-webpack-plugin": "^2.2.0",
  83. "webpack-bundle-analyzer": "^3.6.0"
  84. },
  85. "homepage": ".",
  86. "lint-staged": {
  87. "*.{js,jsx}": "eslint"
  88. },
  89. "husky": {
  90. "hooks": {
  91. "pre-commit": "lint-staged"
  92. }
  93. }
  94. }