|
31 | 31 | "compile": "father build", |
32 | 32 | "prepare": "dumi setup", |
33 | 33 | "gh-pages": "npm run now-build && father doc deploy", |
34 | | - "prepublishOnly": "npm run compile && np --yolo --no-publish", |
| 34 | + "prepublishOnly": "npm run compile && rc-np", |
35 | 35 | "lint": "eslint src/ --ext .ts,.tsx,.jsx,.js", |
36 | 36 | "prettier": "prettier --write \"**/*.{ts,tsx,js,jsx,json,md}\"", |
37 | 37 | "test": "rc-test", |
|
44 | 44 | "react-dom": ">=16.9.0" |
45 | 45 | }, |
46 | 46 | "dependencies": { |
47 | | - "@babel/runtime": "^7.10.1", |
48 | | - "classnames": "^2.2.6", |
49 | | - "rc-util": "^5.16.1" |
| 47 | + "@rc-component/util": "^1.2.1", |
| 48 | + "classnames": "^2.2.6" |
50 | 49 | }, |
51 | 50 | "devDependencies": { |
52 | | - "@rc-component/father-plugin": "^1.0.0", |
53 | | - "@testing-library/react": "^12.1.5", |
| 51 | + "@rc-component/father-plugin": "^2.0.4", |
| 52 | + "@rc-component/np": "^1.0.4", |
| 53 | + "@testing-library/react": "^13.0.0", |
54 | 54 | "@types/classnames": "^2.2.9", |
55 | 55 | "@types/jest": "^29.4.0", |
56 | 56 | "@types/keyv": "3.1.4", |
57 | 57 | "@types/react": "^18.0.9", |
58 | 58 | "@types/react-dom": "^18.0.3", |
59 | 59 | "@umijs/fabric": "^3.0.0", |
60 | | - "cheerio": "1.0.0-rc.12", |
61 | 60 | "cross-env": "^7.0.0", |
62 | 61 | "dumi": "^2.0.0", |
63 | | - "enzyme": "^3.1.1", |
64 | | - "enzyme-adapter-react-16": "^1.15.6", |
65 | | - "enzyme-to-json": "^3.1.2", |
66 | 62 | "eslint": "^8.57.0", |
67 | 63 | "eslint-plugin-jest": "^27.6.0", |
68 | 64 | "eslint-plugin-unicorn": "^50.0.1", |
69 | 65 | "father": "^4.0.0", |
70 | 66 | "glob": "^8.0.1", |
71 | | - "np": "^10.0.1", |
72 | 67 | "prettier": "^3.1.1", |
73 | 68 | "rc-test": "^7.0.15", |
74 | | - "react": "^16.0.0", |
75 | | - "react-dom": "^16.0.0", |
| 69 | + "react": "^18.0.0", |
| 70 | + "react-dom": "^18.0.0", |
76 | 71 | "typescript": "^5.0.0" |
77 | 72 | } |
78 | 73 | } |
0 commit comments