package.json 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. {
  2. "name": "charge",
  3. "description": "充电装系统管理平台",
  4. "scripts": {
  5. "start": "rca start",
  6. "build": "rca build",
  7. "test": "rca test",
  8. "lint": "eslint"
  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/react": "^16.9.0",
  35. "@types/react-dom": "^16.9.0",
  36. "@types/react-router-dom": "^5.1.5",
  37. "@typescript-eslint/eslint-plugin": "^4.9.1",
  38. "@typescript-eslint/parser": "^4.9.1",
  39. "ahooks": "^2.10.1",
  40. "antd": "^4.15.2",
  41. "axios": "0.21.0",
  42. "babel-plugin-import": "^1.13.3",
  43. "core-js": "^3.11.0",
  44. "eslint": "^7.15.0",
  45. "eslint-plugin-react": "^7.21.5",
  46. "js-sha256": "^0.9.0",
  47. "node-sass": "^5.0.0",
  48. "rca": "0.0.19",
  49. "react": "^17.0.1",
  50. "react-diff-viewer": "^3.1.1",
  51. "react-dom": "^17.0.1",
  52. "react-helmet": "^6.1.0",
  53. "react-router-dom": "^5.2.0",
  54. "sass-loader": "^10.0.5"
  55. },
  56. "devDependencies": {
  57. "@types/node": "^14.14.6",
  58. "@types/webpack-env": "^1.15.3",
  59. "@typescript-eslint/eslint-plugin": "^4.9.1",
  60. "@typescript-eslint/parser": "^4.9.1",
  61. "eslint": "^7.15.0",
  62. "eslint-plugin-react": "^7.21.5",
  63. "typescript": "^3.9.7"
  64. }
  65. }