Skip to content

Commit 50a8f4d

Browse files
committed
🆙 upgrade rc-util to 5.x
1 parent 6828e23 commit 50a8f4d

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.fatherrc.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,5 @@ export default {
77
eslint: true,
88
prettier: true,
99
},
10+
runtimeHelpers: true,
1011
};

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"build": "father doc build --storybook",
3030
"compile": "father build && lessc assets/index.less assets/index.css",
3131
"gh-pages": "father doc deploy",
32-
"prepublishOnly": "npm run compile && np --no-cleanup --yolo --no-publish",
32+
"prepublishOnly": "npm run compile && np --yolo --no-publish",
3333
"lint": "eslint .",
3434
"test": "father test",
3535
"coverage": "father test --coverage"
@@ -54,7 +54,8 @@
5454
"react-dom": "^16.0.0"
5555
},
5656
"dependencies": {
57+
"@babel/runtime": "^7.10.1",
5758
"classnames": "^2.2.1",
58-
"rc-util": "^4.20.5"
59+
"rc-util": "^5.0.1"
5960
}
6061
}

0 commit comments

Comments
 (0)