Skip to content

Commit 5bd608a

Browse files
committed
🆙 upgrade rc-util to 5.x
1 parent 71b086d commit 5bd608a

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.fatherrc.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,5 @@ export default {
55
eslint: true,
66
prettier: true,
77
},
8+
runtimeHelpers: true,
89
};

package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
"build": "father doc build --storybook",
4040
"compile": "father build && lessc assets/index.less assets/index.css",
4141
"gh-pages": "npm run build && father doc deploy",
42-
"prepublishOnly": "npm run compile && np --no-cleanup --yolo --no-publish",
42+
"prepublishOnly": "npm run compile && np --yolo --no-publish",
4343
"postpublish": "npm run gh-pages",
4444
"lint": "eslint src/ --ext .ts,.tsx,.jsx,.js,.md",
4545
"prettier": "prettier --write \"**/*.{ts,tsx,js,jsx,json,md}\"",
@@ -51,10 +51,11 @@
5151
"react-dom": "^16.0.0"
5252
},
5353
"dependencies": {
54+
"@babel/runtime": "^7.10.1",
5455
"classnames": "^2.2.5",
5556
"raf": "^3.4.1",
5657
"rc-resize-observer": "^0.2.0",
57-
"rc-util": "^4.20.1",
58+
"rc-util": "^5.0.0",
5859
"shallowequal": "^1.1.0"
5960
},
6061
"devDependencies": {
@@ -68,6 +69,7 @@
6869
"enzyme": "^3.1.0",
6970
"enzyme-adapter-react-16": "^1.0.1",
7071
"enzyme-to-json": "^3.1.2",
72+
"eslint": "^7.1.0",
7173
"father": "^2.22.0",
7274
"immutability-helper": "^3.0.0",
7375
"less": "^3.10.3",

0 commit comments

Comments
 (0)