package.json 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. {
  2. "name": "gdapp",
  3. "version": "1.0.1",
  4. "description": "gd",
  5. "main": "index.js",
  6. "proxy": "http://127.0.0.1:41001",
  7. "scripts": {
  8. "dev": "nscript dev react",
  9. "build": "nscript build react",
  10. "test": "jest"
  11. },
  12. "author": "nick",
  13. "license": "ISC",
  14. "dependencies": {
  15. "@ant-design/icons": "^4.6.3",
  16. "@antv/data-set": "^0.10.2",
  17. "@svgr/webpack": "^4.3.3",
  18. "@types/ali-oss": "^6.0.4",
  19. "@types/classnames": "^2.2.9",
  20. "@types/jest": "^24.0.23",
  21. "@types/less": "^3.0.1",
  22. "@types/md5": "^2.1.33",
  23. "@types/react": "^16.8.17",
  24. "@types/react-color": "^3.0.1",
  25. "@types/react-csv": "^1.1.1",
  26. "@types/react-dom": "^16.8.4",
  27. "@types/react-highlight-words": "^0.16.0",
  28. "@types/react-loadable": "^5.5.2",
  29. "@types/react-router-dom": "5.1.0",
  30. "@types/react-test-renderer": "^16.9.1",
  31. "@typescript-eslint/eslint-plugin": "^2.3.2",
  32. "@typescript-eslint/parser": "^2.3.2",
  33. "ali-oss": "^6.1.1",
  34. "antd": "3.26.0",
  35. "antd-theme-generator": "1.2.5",
  36. "antd-theme-webpack-plugin": "^1.3.0",
  37. "autoprefixer": "^9.7.1",
  38. "axios": "^0.19.0",
  39. "babel-loader": "^8.0.6",
  40. "babel-plugin-import": "^1.12.2",
  41. "bizcharts": "^3.5.6",
  42. "classnames": "^2.2.6",
  43. "copy-webpack-plugin": "^5.0.4",
  44. "cross-env": "^6.0.3",
  45. "echarts": "^5.4.0",
  46. "eslint": "^6.5.1",
  47. "eslint-config-prettier": "^6.4.0",
  48. "eslint-plugin-prettier": "^3.1.1",
  49. "export-from-json": "^1.1.4",
  50. "http-proxy-middleware": "^2.0.6",
  51. "less": "^3.10.3",
  52. "md5": "^2.2.1",
  53. "moment": "^2.24.0",
  54. "nick-script": "0.1.53",
  55. "postcss-nested": "^4.1.2",
  56. "prettier": "1.17.0",
  57. "react": "^16.8.6",
  58. "react-activation": "^0.3.4",
  59. "react-color": "^2.17.3",
  60. "react-csv": "^1.1.2",
  61. "react-highlight-words": "^0.16.0",
  62. "react-hot-loader": "^4.12.15",
  63. "react-json-view-repair": "^1.19.2",
  64. "react-loadable": "^5.5.0",
  65. "react-particles-js": "^2.7.0",
  66. "react-router-dom": "5.1.2"
  67. },
  68. "devDependencies": {
  69. "eslint-plugin-react-hooks": "^2.1.2",
  70. "husky": "^3.0.8",
  71. "lint-staged": "^10.0.0-0",
  72. "node-sass": "^4.14.1"
  73. },
  74. "husky": {
  75. "hooks": {
  76. "pre-commit": "lint-staged"
  77. }
  78. },
  79. "lint-staged": {
  80. "*.{.ts,.tsx,.js}": [
  81. "prettier --write",
  82. "eslint src --fix --ext .ts,.tsx,.js",
  83. "git add"
  84. ]
  85. },
  86. "babel": {
  87. "plugins": [
  88. [
  89. "import",
  90. {
  91. "libraryName": "antd",
  92. "style": "css"
  93. }
  94. ]
  95. ]
  96. },
  97. "browserslist": [
  98. ">0.2%",
  99. "not dead",
  100. "not op_mini all"
  101. ]
  102. }