package.json 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. {
  2. "name": "site-front",
  3. "description": "工地前台项目",
  4. "scripts": {
  5. "start": "rca start",
  6. "build": "rca build",
  7. "test": "rca test",
  8. "postinstall": "patch-package"
  9. },
  10. "license": "MIT",
  11. "repository": {
  12. "type": "git",
  13. "url": ""
  14. },
  15. "lint-staged": {
  16. "*.{js,jsx}": [
  17. "eslint --fix",
  18. "git add"
  19. ],
  20. "packages/**/*.{ts,d.ts}": [
  21. "npm run build:docs-api",
  22. "git adddocs"
  23. ]
  24. },
  25. "husky": {
  26. "hooks": {
  27. "commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
  28. "pre-commit": "lint-staged"
  29. }
  30. },
  31. "keywords": [],
  32. "author": "",
  33. "dependencies": {
  34. "@types/node": "^14.17.3",
  35. "@types/react-router-dom": "^5.1.5",
  36. "antd": "^4.12.2",
  37. "axios": "^0.21.1",
  38. "core-js": "3",
  39. "echarts": "^5.0.2",
  40. "file-loader": "^6.2.0",
  41. "moment": "^2.29.1",
  42. "mux.js": "^5.7.0",
  43. "node-sass": "^5.0.0",
  44. "patch-package": "^6.4.7",
  45. "qs": "^6.9.6",
  46. "rca": "0.0.21",
  47. "react": "^17.0.1",
  48. "react-dom": "^17.0.1",
  49. "react-helmet": "^6.1.0",
  50. "react-infinite-scroller": "^1.2.4",
  51. "react-loading": "^2.0.3",
  52. "react-router-dom": "^5.2.0",
  53. "sass-loader": "^10.0.5",
  54. "three": "^0.129.0",
  55. "video.js": "^7.10.2",
  56. "videojs-contrib-hls": "^5.15.0",
  57. "videojs-flash": "^2.2.1"
  58. },
  59. "devDependencies": {
  60. "@types/echarts": "^4.9.3",
  61. "@types/node": "^14.14.25",
  62. "@types/react": "^16.14.3",
  63. "@types/react-dom": "^16.9.10",
  64. "@types/three": "^0.129.1",
  65. "@types/webpack-env": "^1.16.0",
  66. "babel-plugin-import": "^1.13.3",
  67. "postcss-pxtorem": "^5.1.1",
  68. "typescript": "^3.9.7"
  69. },
  70. "browserslist": {
  71. "production": [
  72. "defaults"
  73. ],
  74. "development": [
  75. "last 1 version"
  76. ]
  77. }
  78. }