|
1 | 1 | { |
2 | | - "name": "rc-rate", |
3 | | - "version": "2.13.1", |
| 2 | + "name": "@rc-component/rate", |
| 3 | + "version": "1.0.0", |
4 | 4 | "description": "React Star Rate Component", |
5 | | - "engines": { |
6 | | - "node": ">=8.x" |
7 | | - }, |
8 | 5 | "keywords": [ |
9 | 6 | "react", |
10 | 7 | "react-component", |
11 | 8 | "react-rate", |
12 | 9 | "rate" |
13 | 10 | ], |
14 | 11 | "homepage": "https://github.com/react-component/rate", |
| 12 | + "bugs": { |
| 13 | + "url": "https://github.com/react-component/rate/issues" |
| 14 | + }, |
15 | 15 | "repository": { |
16 | 16 | "type": "git", |
17 | 17 | "url": "https://github.com/react-component/rate.git" |
18 | 18 | }, |
19 | | - "bugs": { |
20 | | - "url": "https://github.com/react-component/rate/issues" |
21 | | - }, |
| 19 | + "license": "MIT", |
| 20 | + "main": "./lib/index", |
| 21 | + "module": "./es/index", |
22 | 22 | "files": [ |
23 | 23 | "lib", |
24 | 24 | "es", |
25 | 25 | "assets/*.css" |
26 | 26 | ], |
27 | | - "license": "MIT", |
28 | | - "main": "./lib/index", |
29 | | - "module": "./es/index", |
30 | 27 | "scripts": { |
31 | | - "start": "dumi dev", |
| 28 | + "compile": "father build && lessc assets/index.less assets/index.css", |
| 29 | + "coverage": "rc-test --coverage", |
32 | 30 | "docs:build": "dumi build", |
33 | 31 | "docs:deploy": "gh-pages -d .doc", |
34 | | - "compile": "father build && lessc assets/index.less assets/index.css", |
35 | | - "prepare": "dumi setup", |
36 | | - "prepublishOnly": "npm run compile && np --yolo --no-publish", |
37 | | - "postpublish": "npm run docs:build && npm run docs:deploy", |
38 | 32 | "lint": "eslint src/ --ext .ts,.tsx,.jsx,.js,.md", |
| 33 | + "now-build": "npm run docs:build", |
| 34 | + "prepare": "dumi setup", |
| 35 | + "prepublishOnly": "npm run compile && rc-np", |
39 | 36 | "prettier": "prettier --write \"**/*.{ts,tsx,js,jsx,json,md}\"", |
| 37 | + "postpublish": "npm run docs:build && npm run docs:deploy", |
| 38 | + "start": "dumi dev", |
40 | 39 | "test": "rc-test", |
41 | | - "coverage": "rc-test --coverage", |
42 | | - "now-build": "npm run docs:build" |
| 40 | + "tsc": "bunx tsc --noEmit" |
43 | 41 | }, |
44 | 42 | "dependencies": { |
45 | | - "@babel/runtime": "^7.10.1", |
46 | | - "classnames": "^2.2.5", |
47 | | - "rc-util": "^5.0.1" |
| 43 | + "@rc-component/util": "^1.3.0", |
| 44 | + "classnames": "^2.2.5" |
48 | 45 | }, |
49 | 46 | "devDependencies": { |
50 | | - "@rc-component/father-plugin": "^1.0.0", |
| 47 | + "@rc-component/father-plugin": "^2.1.3", |
| 48 | + "@rc-component/np": "^1.0.0", |
| 49 | + "@rc-component/tooltip": "^1.2.1", |
51 | 50 | "@types/classnames": "^2.2.9", |
52 | 51 | "@types/jest": "^29.5.1", |
53 | 52 | "@types/react": "^17.0.15", |
|
63 | 62 | "father": "^4.0.0", |
64 | 63 | "gh-pages": "^3.1.0", |
65 | 64 | "less": "^3.0.0", |
66 | | - "np": "^7.0.0", |
67 | 65 | "rc-test": "^7.0.15", |
68 | | - "rc-tooltip": "^5.0.1", |
69 | 66 | "react": "^16.0.0", |
70 | 67 | "react-dom": "^16.0.0", |
71 | 68 | "typescript": "^5.0.4" |
72 | 69 | }, |
73 | 70 | "peerDependencies": { |
74 | 71 | "react": ">=16.9.0", |
75 | 72 | "react-dom": ">=16.9.0" |
| 73 | + }, |
| 74 | + "engines": { |
| 75 | + "node": ">=8.x" |
76 | 76 | } |
77 | 77 | } |
0 commit comments