|
9 | 9 | "tree-select" |
10 | 10 | ], |
11 | 11 | "homepage": "https://github.com/react-component/tree-select", |
12 | | - "author": "smith3816@gmail.com", |
| 12 | + "bugs": { |
| 13 | + "url": "https://github.com/react-component/tree-select/issues" |
| 14 | + }, |
13 | 15 | "repository": { |
14 | 16 | "type": "git", |
15 | 17 | "url": "https://github.com/react-component/tree-select.git" |
16 | 18 | }, |
17 | | - "bugs": { |
18 | | - "url": "https://github.com/react-component/tree-select/issues" |
19 | | - }, |
| 19 | + "license": "MIT", |
| 20 | + "author": "smith3816@gmail.com", |
| 21 | + "main": "./lib/index", |
| 22 | + "module": "./es/index", |
20 | 23 | "files": [ |
21 | 24 | "es", |
22 | 25 | "lib", |
|
26 | 29 | "assets/*.png", |
27 | 30 | "assets/*.gif" |
28 | 31 | ], |
29 | | - "license": "MIT", |
30 | | - "main": "./lib/index", |
31 | | - "module": "./es/index", |
32 | 32 | "scripts": { |
33 | | - "start": "dumi dev", |
34 | 33 | "build": "dumi build", |
35 | 34 | "compile": "father build", |
| 35 | + "lint": "eslint src/ examples/ --ext .tsx,.ts,.jsx,.js", |
| 36 | + "now-build": "npm run build", |
36 | 37 | "prepare": "dumi setup", |
37 | 38 | "prepublishOnly": "npm run compile && np --yolo --no-publish --any-branch", |
38 | | - "lint": "eslint src/ examples/ --ext .tsx,.ts,.jsx,.js", |
39 | 39 | "prettier": "prettier '{src,tests}/**/*.{ts,tsx}' 'tests/**/*.js' --write", |
40 | | - "test": "rc-test", |
41 | | - "now-build": "npm run build" |
| 40 | + "start": "dumi dev", |
| 41 | + "test": "rc-test" |
42 | 42 | }, |
43 | | - "peerDependencies": { |
44 | | - "react": "*", |
45 | | - "react-dom": "*" |
| 43 | + "dependencies": { |
| 44 | + "@babel/runtime": "^7.10.1", |
| 45 | + "classnames": "2.x", |
| 46 | + "rc-select": "~14.10.0", |
| 47 | + "rc-tree": "~5.8.1", |
| 48 | + "rc-util": "^5.16.1" |
46 | 49 | }, |
47 | 50 | "devDependencies": { |
48 | 51 | "@rc-component/father-plugin": "^1.0.0", |
|
59 | 62 | "enzyme": "^3.10.0", |
60 | 63 | "enzyme-adapter-react-16": "^1.1.1", |
61 | 64 | "enzyme-to-json": "^3.4.0", |
62 | | - "eslint": "^7.1.0", |
| 65 | + "eslint": "^8.56.0", |
| 66 | + "eslint-plugin-jest": "^27.6.0", |
| 67 | + "eslint-plugin-unicorn": "^50.0.1", |
63 | 68 | "father": "^4.0.0", |
64 | 69 | "glob": "^7.1.6", |
65 | 70 | "np": "^7.5.0", |
| 71 | + "prettier": "^3.1.1", |
66 | 72 | "rc-dialog": "^7.5.7", |
67 | 73 | "rc-field-form": "^1.0.0", |
68 | 74 | "rc-test": "^7.0.4", |
|
71 | 77 | "react-dom": "^16.8.0", |
72 | 78 | "typescript": "^5.0.0" |
73 | 79 | }, |
74 | | - "dependencies": { |
75 | | - "@babel/runtime": "^7.10.1", |
76 | | - "classnames": "2.x", |
77 | | - "rc-select": "~14.10.0", |
78 | | - "rc-tree": "~5.8.1", |
79 | | - "rc-util": "^5.16.1" |
| 80 | + "peerDependencies": { |
| 81 | + "react": "*", |
| 82 | + "react-dom": "*" |
80 | 83 | } |
81 | 84 | } |
0 commit comments