|
1 | 1 | {
|
2 | 2 | "name": "rc-checkbox",
|
3 |
| - "version": "2.3.2", |
| 3 | + "version": "3.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", |
| 12 | + "bugs": { |
| 13 | + "url": "http://github.com/react-component/checkbox/issues" |
| 14 | + }, |
| 15 | + "repository": { |
| 16 | + "type": "git", |
| 17 | + "url": "[email protected]:react-component/checkbox.git" |
| 18 | + }, |
| 19 | + "license": "MIT", |
11 | 20 | "main": "lib/index.js",
|
12 | 21 | "module": "es/index.js",
|
13 | 22 | "typings": "es/index.d.ts",
|
|
16 | 25 | "es",
|
17 | 26 | "lib"
|
18 | 27 | ],
|
19 |
| - "homepage": "http://github.com/react-component/checkbox", |
20 |
| - "repository": { |
21 |
| - "type": "git", |
22 |
| - "url": "[email protected]:react-component/checkbox.git" |
23 |
| - }, |
24 |
| - "bugs": { |
25 |
| - "url": "http://github.com/react-component/checkbox/issues" |
26 |
| - }, |
27 |
| - "license": "MIT", |
28 | 28 | "scripts": {
|
29 |
| - "start": "dumi dev", |
30 | 29 | "build": "dumi build",
|
31 | 30 | "compile": "father build && lessc assets/index.less assets/index.css",
|
| 31 | + "coverage": "jest --coverage", |
32 | 32 | "gh-pages": "npm run build && father doc deploy -d .docs",
|
33 |
| - "prepublishOnly": "npm run compile && np --yolo --no-publish", |
34 | 33 | "lint": "eslint . --ext='jsx'",
|
35 |
| - "test": "jest", |
36 |
| - "coverage": "jest --coverage", |
37 |
| - "prepare": "husky install && dumi setup" |
| 34 | + "prepare": "husky install && dumi setup", |
| 35 | + "prepublishOnly": "npm run compile && np --yolo --no-publish", |
| 36 | + "start": "dumi dev", |
| 37 | + "test": "jest" |
| 38 | + }, |
| 39 | + "lint-staged": { |
| 40 | + "*.{js,jsx,less,md,json}": [ |
| 41 | + "prettier --write" |
| 42 | + ], |
| 43 | + "*.ts?(x)": [ |
| 44 | + "prettier --parser=typescript --write" |
| 45 | + ] |
38 | 46 | },
|
39 | 47 | "dependencies": {
|
40 | 48 | "@babel/runtime": "^7.10.1",
|
|
67 | 75 | "ts-node": "^10.9.1",
|
68 | 76 | "typescript": "^4.9.4"
|
69 | 77 | },
|
70 |
| - "lint-staged": { |
71 |
| - "*.{js,jsx,less,md,json}": [ |
72 |
| - "prettier --write" |
73 |
| - ], |
74 |
| - "*.ts?(x)": [ |
75 |
| - "prettier --parser=typescript --write" |
76 |
| - ] |
77 |
| - }, |
78 | 78 | "peerDependencies": {
|
79 | 79 | "react": ">=16.9.0",
|
80 | 80 | "react-dom": ">=16.9.0"
|
|
0 commit comments