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.

96 lines
2.7 KiB

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