Skip to content

Commit 4f2da0e

Browse files
authored
add prepublishOnly script for auto npm publish
1 parent 00cdd39 commit 4f2da0e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@
2020
"tdd": "karma start",
2121
"test": "npm run format:check && npm run lint && NODE_ENV=coverage karma start --single-run",
2222
"coveralls": "cat ./coverage/lcov/lcov.info | ./node_modules/.bin/coveralls",
23-
"flow": "flow"
23+
"flow": "flow",
24+
"prepublishOnly": "npm run build"
2425
},
2526
"keywords": ["react", "rsuite", "component", "react-component"],
2627
"author": "HYPERS Team",

0 commit comments

Comments
 (0)