|
1 | 1 | { |
2 | | - "name": "rc-resize-observer", |
3 | | - "version": "1.4.3", |
| 2 | + "name": "@rc-component/resize-observer", |
| 3 | + "version": "1.0.0-0", |
4 | 4 | "description": "Resize observer for React", |
5 | 5 | "keywords": [ |
6 | 6 | "react", |
|
32 | 32 | "deploy": "UMI_ENV=gh npm run build && gh-pages -d dist", |
33 | 33 | "gh-pages": "npm run deploy", |
34 | 34 | "prepare": "dumi setup", |
35 | | - "prepublishOnly": "npm run compile && np --no-cleanup --yolo --no-publish", |
| 35 | + "prepublishOnly": "npm run compile && rc-np", |
36 | 36 | "postpublish": "npm run gh-pages", |
37 | 37 | "lint": "eslint src/ --ext .ts,.tsx,.jsx,.js,.md", |
38 | 38 | "prettier": "prettier --write \"**/*.{ts,tsx,js,jsx,json,md}\"", |
|
41 | 41 | "now-build": "npm run build" |
42 | 42 | }, |
43 | 43 | "dependencies": { |
44 | | - "@babel/runtime": "^7.20.7", |
45 | 44 | "classnames": "^2.2.1", |
46 | | - "@rc-component/util": "^1.2.0", |
47 | | - "resize-observer-polyfill": "^1.5.1" |
| 45 | + "@rc-component/util": "^1.2.0" |
48 | 46 | }, |
49 | 47 | "devDependencies": { |
50 | | - "@rc-component/father-plugin": "^1.0.0", |
| 48 | + "@rc-component/father-plugin": "^2.0.2", |
51 | 49 | "@testing-library/react": "^12.1.5", |
52 | 50 | "@types/jest": "^29.5.10", |
53 | 51 | "@types/react-dom": "^18.0.11", |
|
63 | 61 | "gh-pages": "^6.1.0", |
64 | 62 | "glob": "^7.1.6", |
65 | 63 | "less": "^4.1.3", |
66 | | - "np": "^9.0.0", |
| 64 | + "@rc-component/np": "^1.0.0", |
67 | 65 | "prettier": "^3.2.5", |
68 | 66 | "pretty-quick": "^4.0.0", |
69 | 67 | "rc-test": "^7.0.15", |
|
0 commit comments