1 | {
|
2 | "name": "rc-util",
|
3 | "version": "5.43.0",
|
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",
|
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": "^20.14.2",
|
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": "^54.0.0",
|
61 | "father": "^4.1.3",
|
62 | "glob": "^9.2.1",
|
63 | "husky": "^8.0.3",
|
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-dom": "^18.0.0",
|
70 | "typescript": "^5.3.2"
|
71 | },
|
72 | "peerDependencies": {
|
73 | "react": ">=16.9.0",
|
74 | "react-dom": ">=16.9.0"
|
75 | }
|
76 | }
|