|
31 | 31 | "compile": "father build && lessc assets/index.less assets/index.css", |
32 | 32 | "coverage": "rc-test --coverage", |
33 | 33 | "docs:build": "dumi build", |
34 | | - "docs:deploy": "npm run docs:build && gh-pages -d .doc", |
| 34 | + "docs:deploy": "npm run docs:build && gh-pages -d dist", |
35 | 35 | "lint": "eslint src/ --ext .ts,.tsx,.jsx,.js,.md", |
36 | 36 | "prepare": "husky", |
37 | 37 | "now-build": "npm run docs:build", |
|
46 | 46 | }, |
47 | 47 | "dependencies": { |
48 | 48 | "@babel/runtime": "^7.10.1", |
| 49 | + "@rc-component/motion": "^1.1.4", |
49 | 50 | "@rc-component/util": "^1.0.1", |
50 | | - "classnames": "2.x", |
51 | | - "rc-motion": "^2.3.4" |
| 51 | + "classnames": "2.x" |
52 | 52 | }, |
53 | 53 | "devDependencies": { |
54 | 54 | "@rc-component/father-plugin": "^2.0.1", |
| 55 | + "@rc-component/np": "^1.0.4", |
55 | 56 | "@testing-library/jest-dom": "^6.1.4", |
56 | | - "@testing-library/react": "^14.1.2", |
| 57 | + "@testing-library/react": "^16.3.0", |
57 | 58 | "@testing-library/user-event": "^14.5.2", |
58 | 59 | "@types/classnames": "^2.2.9", |
59 | 60 | "@types/jest": "^29.4.0", |
60 | | - "@types/react": "^18.0.0", |
61 | | - "@types/react-dom": "^18.0.0", |
| 61 | + "@types/node": "^22.15.18", |
| 62 | + "@types/react": "^19.1.4", |
| 63 | + "@types/react-dom": "^19.1.5", |
62 | 64 | "@umijs/fabric": "^4.0.0", |
63 | 65 | "dumi": "^2.1.1", |
64 | 66 | "eslint": "^8.55.0", |
|
70 | 72 | "jest": "^29.1.2", |
71 | 73 | "less": "^4.2.0", |
72 | 74 | "lint-staged": "^15.0.2", |
73 | | - "np": "^9.1.0", |
74 | 75 | "prettier": "^3.0.3", |
75 | 76 | "rc-test": "^7.0.14", |
76 | | - "react": "^18.2.0", |
77 | | - "react-dom": "^18.2.0", |
| 77 | + "react": "^19.1.0", |
| 78 | + "react-dom": "^19.1.0", |
78 | 79 | "typescript": "^5.0.0" |
79 | 80 | }, |
80 | 81 | "peerDependencies": { |
81 | | - "react": ">=16.9.0", |
82 | | - "react-dom": ">=16.9.0" |
| 82 | + "react": ">=18.0.0", |
| 83 | + "react-dom": ">=18.0.0" |
83 | 84 | } |
84 | 85 | } |
0 commit comments