Skip to content
This repository was archived by the owner on Dec 5, 2024. It is now read-only.

Commit be63633

Browse files
committed
chore: use prepare instead of prepublish
prepublish was deprecated in new npm version
1 parent 0f4be45 commit be63633

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
"postbuild":
4141
"cross-env NODE_ENV=production && cross-env TARGET=minify webpack --config webpack.prod.config.js",
4242
"prebuild": "rimraf dist && mkdir dist",
43-
"prepublish": "npm run build"
43+
"prepare": "npm run build"
4444
},
4545
"peerDependencies": {
4646
"react": "0.14.x || ^15.0.0 || ^16.0.0",

0 commit comments

Comments
 (0)