|
1 | 1 | { |
2 | | - "name": "rc-checkbox", |
3 | | - "version": "3.5.0", |
| 2 | + "name": "@rc-component/checkbox", |
| 3 | + "version": "1.0.0", |
4 | 4 | "description": "checkbox ui component for react", |
5 | 5 | "keywords": [ |
6 | 6 | "react", |
7 | 7 | "react-component", |
8 | 8 | "react-checkbox", |
9 | 9 | "checkbox" |
10 | 10 | ], |
11 | | - "homepage": "http://github.com/react-component/checkbox", |
| 11 | + "homepage": "https://react-component.github.io/checkbox", |
12 | 12 | "bugs": { |
13 | 13 | "url": "http://github.com/react-component/checkbox/issues" |
14 | 14 | }, |
|
29 | 29 | "build": "dumi build", |
30 | 30 | "compile": "father build && lessc assets/index.less assets/index.css", |
31 | 31 | "coverage": "jest --coverage", |
32 | | - "gh-pages": "npm run build && father doc deploy -d .docs", |
| 32 | + "gh-pages": "npm run build && father doc deploy -d dist", |
33 | 33 | "lint": "eslint src/ --ext .tsx,.ts", |
34 | 34 | "prepare": "husky install && dumi setup", |
35 | | - "prepublishOnly": "npm run compile && np --yolo --no-publish", |
| 35 | + "prepublishOnly": "npm run compile && rc-np", |
36 | 36 | "start": "dumi dev", |
37 | | - "test": "jest" |
| 37 | + "test": "jest", |
| 38 | + "tsc": "bunx tsc --noEmit" |
38 | 39 | }, |
39 | 40 | "lint-staged": { |
40 | 41 | "*.{js,jsx,less,md,json}": [ |
|
45 | 46 | ] |
46 | 47 | }, |
47 | 48 | "dependencies": { |
48 | | - "@babel/runtime": "^7.10.1", |
49 | | - "classnames": "^2.3.2", |
50 | | - "rc-util": "^5.25.2" |
| 49 | + "@rc-component/util": "^1.3.0", |
| 50 | + "classnames": "^2.3.2" |
51 | 51 | }, |
52 | 52 | "devDependencies": { |
53 | | - "@rc-component/father-plugin": "^1.0.1", |
54 | | - "@testing-library/react": "^14.1.2 ", |
| 53 | + "@rc-component/father-plugin": "^2.1.3", |
| 54 | + "@rc-component/np": "^1.0.0", |
55 | 55 | "@testing-library/jest-dom": "^6.1.5", |
| 56 | + "@testing-library/react": "^14.1.2", |
56 | 57 | "@testing-library/user-event": "^14.4.3", |
57 | 58 | "@types/classnames": "^2.3.1", |
58 | 59 | "@types/jest": "^29.2.4", |
|
71 | 72 | "jest-environment-jsdom": "^29.3.1", |
72 | 73 | "less": "^4.2.0", |
73 | 74 | "lint-staged": "^15.1.0", |
74 | | - "np": "^9.0.0", |
75 | 75 | "react": "^18.2.0", |
76 | 76 | "react-dom": "^18.2.0", |
77 | 77 | "ts-node": "^10.9.1", |
|
0 commit comments