Skip to content

Commit 9e3239f

Browse files
committed
add prepublish script
1 parent 2b8125c commit 9e3239f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/react-nipple/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
"babel": "babel src --out-dir lib --copy-files",
88
"eslint": "eslint src",
99
"esdoc": "esdoc",
10-
"clean": "rm -rf lib/*"
10+
"clean": "rm -rf lib/*",
11+
"prepublishOnly": "yarn eslint && yarn clean && yarn babel"
1112
},
1213
"peerDependencies": {
1314
"react": "^16.4.1",

0 commit comments

Comments
 (0)