Skip to content

Commit 0c79840

Browse files
chore(package): add script prepublishOnly that runs clean & build
1 parent ea6f5d4 commit 0c79840

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
"commitmsg": "commitlint -e $GIT_PARAMS",
1111
"lint": "eslint --ignore-path .gitignore .",
1212
"lint:fix": "npm run lint -- --fix",
13+
"prepublishOnly": "npm run clean && npm run build",
1314
"release": "standard-version"
1415
},
1516
"repository": {

0 commit comments

Comments
 (0)