|
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 | 5 | "engines": { |
6 | 6 | "node": ">=8.x" |
|
33 | 33 | "docs:deploy": "gh-pages -d .doc", |
34 | 34 | "compile": "father build && lessc assets/index.less assets/index.css", |
35 | 35 | "prepare": "dumi setup", |
36 | | - "prepublishOnly": "npm run compile && np --yolo --no-publish", |
| 36 | + "prepublishOnly": "npm run compile && rc-np", |
37 | 37 | "postpublish": "npm run docs:build && npm run docs:deploy", |
38 | 38 | "lint": "eslint src/ --ext .ts,.tsx,.jsx,.js,.md", |
39 | 39 | "prettier": "prettier --write \"**/*.{ts,tsx,js,jsx,json,md}\"", |
40 | 40 | "test": "rc-test", |
| 41 | + "tsc": "bunx tsc --noEmit", |
41 | 42 | "coverage": "rc-test --coverage", |
42 | 43 | "now-build": "npm run docs:build" |
43 | 44 | }, |
44 | 45 | "dependencies": { |
45 | | - "@babel/runtime": "^7.10.1", |
46 | 46 | "classnames": "^2.2.5", |
47 | | - "rc-util": "^5.0.1" |
| 47 | + "@rc-component/util": "^1.3.0" |
48 | 48 | }, |
49 | 49 | "devDependencies": { |
50 | | - "@rc-component/father-plugin": "^1.0.0", |
| 50 | + "@rc-component/father-plugin": "^2.1.3", |
| 51 | + "@rc-component/np": "^1.0.0", |
51 | 52 | "@types/classnames": "^2.2.9", |
52 | 53 | "@types/jest": "^29.5.1", |
53 | 54 | "@types/react": "^17.0.15", |
|
63 | 64 | "father": "^4.0.0", |
64 | 65 | "gh-pages": "^3.1.0", |
65 | 66 | "less": "^3.0.0", |
66 | | - "np": "^7.0.0", |
67 | 67 | "rc-test": "^7.0.15", |
68 | 68 | "rc-tooltip": "^5.0.1", |
69 | 69 | "react": "^16.0.0", |
|
0 commit comments