Skip to content

Commit 7bf43f3

Browse files
committed
Remove prepare script, build package on prepublishOnly instead
1 parent fce7ee7 commit 7bf43f3

File tree

2 files changed

+620
-598
lines changed

2 files changed

+620
-598
lines changed

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,8 @@
3333
"build": "tsc && npm run build:types",
3434
"test": "ava --fail-fast",
3535
"cleanup": "del-cli @type lib",
36-
"prepare": "npm run cleanup && npm run build",
3736
"postinstall": "husky install",
38-
"prepublishOnly": "pinst --disable",
37+
"prepublishOnly": "npm run cleanup && npm run build && pinst --disable",
3938
"postpublish": "pinst --enable"
4039
},
4140
"author": "Nick K.",

0 commit comments

Comments
 (0)