{ "name": "@rc-component/util", "version": "1.9.0", "description": "Common Utils For React Component", "keywords": [ "react", "util" ], "homepage": "http://github.com/react-component/util", "bugs": { "url": "http://github.com/react-component/util/issues" }, "repository": { "type": "git", "url": "git@github.com:react-component/util.git" }, "license": "MIT", "main": "./lib/index", "module": "./es/index", "files": [ "lib", "es" ], "scripts": { "build": "dumi build", "compile": "father build", "coverage": "npm test -- --coverage", "lint": "eslint src/ --ext .tsx,.ts & eslint tests/ --ext .tsx,.ts", "prepare": "husky install", "prepublishOnly": "npm run compile && rc-np", "start": "dumi dev", "test": "rc-test" }, "lint-staged": { "**/*.{js,jsx,tsx,ts,md,json}": [ "prettier --write", "git add" ] }, "dependencies": { "is-mobile": "^5.0.0", "react-is": "^18.2.0" }, "devDependencies": { "@rc-component/father-plugin": "^2.0.1", "@rc-component/np": "^1.0.3", "@testing-library/react": "^16.0.0", "@types/jest": "^30.0.0", "@types/node": "^24.6.1", "@types/react": "^19.2.7", "@types/react-dom": "^19.2.2", "@types/react-is": "^19.0.0", "@types/responselike": "^1.0.0", "@types/warning": "^3.0.0", "@umijs/fabric": "^3.0.0", "cross-env": "^10.1.0", "dumi": "^2.1.3", "eslint": "^8.54.0", "eslint-plugin-jest": "^29.0.1", "eslint-plugin-unicorn": "^56.0.1", "father": "^4.1.3", "glob": "^11.0.3", "husky": "^9.1.6", "lint-staged": "^15.1.0", "prettier": "^3.3.2", "rc-test": "^7.0.14", "react": "^18.0.0", "react-19": "npm:react@19.0.0", "react-dom": "^18.0.0", "react-dom-19": "npm:react-dom@19.0.0", "typescript": "^5.3.2" }, "peerDependencies": { "react": ">=18.0.0", "react-dom": ">=18.0.0" } }