Skip to content

Commit c52f54d

Browse files
committed
chore: Move prepare script to prepublishOnly & add prettier script into it.
1 parent 41e3d5a commit c52f54d

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
@@ -42,7 +42,7 @@
4242
},
4343
"scripts": {
4444
"build": "tsc",
45-
"prepare": "npm run build",
45+
"prepublishOnly": "npm run prettier && npm run build",
4646
"prettier": "prettier *.json *.md src --write"
4747
},
4848
"types": "dist",

0 commit comments

Comments
 (0)