package.json 1.6 KB

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