Skip to content

Commit 4685af9

Browse files
authored
chore(deps-dev): bump eslint from 7 to 8 (#450)
1 parent edab4bd commit 4685af9

File tree

1 file changed

+24
-21
lines changed

1 file changed

+24
-21
lines changed

package.json

Lines changed: 24 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,17 @@
99
"tree-select"
1010
],
1111
"homepage": "https://github.com/react-component/tree-select",
12-
"author": "[email protected]",
12+
"bugs": {
13+
"url": "https://github.com/react-component/tree-select/issues"
14+
},
1315
"repository": {
1416
"type": "git",
1517
"url": "https://github.com/react-component/tree-select.git"
1618
},
17-
"bugs": {
18-
"url": "https://github.com/react-component/tree-select/issues"
19-
},
19+
"license": "MIT",
20+
"author": "[email protected]",
21+
"main": "./lib/index",
22+
"module": "./es/index",
2023
"files": [
2124
"es",
2225
"lib",
@@ -26,23 +29,23 @@
2629
"assets/*.png",
2730
"assets/*.gif"
2831
],
29-
"license": "MIT",
30-
"main": "./lib/index",
31-
"module": "./es/index",
3232
"scripts": {
33-
"start": "dumi dev",
3433
"build": "dumi build",
3534
"compile": "father build",
35+
"lint": "eslint src/ examples/ --ext .tsx,.ts,.jsx,.js",
36+
"now-build": "npm run build",
3637
"prepare": "dumi setup",
3738
"prepublishOnly": "npm run compile && np --yolo --no-publish --any-branch",
38-
"lint": "eslint src/ examples/ --ext .tsx,.ts,.jsx,.js",
3939
"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"
4242
},
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"
4649
},
4750
"devDependencies": {
4851
"@rc-component/father-plugin": "^1.0.0",
@@ -59,10 +62,13 @@
5962
"enzyme": "^3.10.0",
6063
"enzyme-adapter-react-16": "^1.1.1",
6164
"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",
6368
"father": "^4.0.0",
6469
"glob": "^7.1.6",
6570
"np": "^7.5.0",
71+
"prettier": "^3.1.1",
6672
"rc-dialog": "^7.5.7",
6773
"rc-field-form": "^1.0.0",
6874
"rc-test": "^7.0.4",
@@ -71,11 +77,8 @@
7177
"react-dom": "^16.8.0",
7278
"typescript": "^5.0.0"
7379
},
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": "*"
8083
}
8184
}

0 commit comments

Comments
 (0)