package.json 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. {
  2. "name": "rc-util",
  3. "version": "5.44.4",
  4. "description": "Common Utils For React Component",
  5. "keywords": [
  6. "react",
  7. "util"
  8. ],
  9. "homepage": "http://github.com/react-component/util",
  10. "bugs": {
  11. "url": "http://github.com/react-component/util/issues"
  12. },
  13. "repository": {
  14. "type": "git",
  15. "url": "git@github.com:react-component/util.git"
  16. },
  17. "license": "MIT",
  18. "main": "./lib/index",
  19. "module": "./es/index",
  20. "files": [
  21. "lib",
  22. "es"
  23. ],
  24. "scripts": {
  25. "build": "dumi build",
  26. "compile": "father build",
  27. "coverage": "npm test -- --coverage",
  28. "lint": "eslint src/ --ext .tsx,.ts & eslint tests/ --ext .js",
  29. "prepare": "husky install",
  30. "prepublishOnly": "npm run compile && np --yolo --no-publish --any-branch",
  31. "start": "dumi dev",
  32. "test": "rc-test"
  33. },
  34. "lint-staged": {
  35. "**/*.{js,jsx,tsx,ts,md,json}": [
  36. "prettier --write",
  37. "git add"
  38. ]
  39. },
  40. "dependencies": {
  41. "@babel/runtime": "^7.18.3",
  42. "react-is": "^18.2.0"
  43. },
  44. "devDependencies": {
  45. "@rc-component/father-plugin": "1.0.0",
  46. "@testing-library/react": "^16.0.0",
  47. "@types/jest": "^29.4.0",
  48. "@types/node": "^22.5.5",
  49. "@types/react": "^18.0.0",
  50. "@types/react-dom": "^18.0.0",
  51. "@types/react-is": "^18.3.0",
  52. "@types/responselike": "^1.0.0",
  53. "@types/warning": "^3.0.0",
  54. "@umijs/fabric": "^3.0.0",
  55. "create-react-class": "^15.6.3",
  56. "cross-env": "^7.0.2",
  57. "dumi": "^2.1.3",
  58. "eslint": "^8.54.0",
  59. "eslint-plugin-jest": "^28.2.0",
  60. "eslint-plugin-unicorn": "^55.0.0",
  61. "father": "^4.1.3",
  62. "glob": "^9.2.1",
  63. "husky": "^9.1.6",
  64. "lint-staged": "^15.1.0",
  65. "np": "^10.0.2",
  66. "prettier": "^3.3.2",
  67. "rc-test": "^7.0.14",
  68. "react": "^18.0.0",
  69. "react-19": "npm:react@19.0.0",
  70. "react-dom": "^18.0.0",
  71. "react-dom-19": "npm:react-dom@19.0.0",
  72. "typescript": "^5.3.2"
  73. },
  74. "peerDependencies": {
  75. "react": ">=16.9.0",
  76. "react-dom": ">=16.9.0"
  77. }
  78. }