Skip to content

Commit c198831

Browse files
committed
run build on prepublish
1 parent e67a64d commit c198831

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@
1919
"github"
2020
],
2121
"scripts": {
22+
"prepublish": "npm run build",
2223
"start": "tsc --watch",
2324
"build": "npm run clean && tsc",
24-
"clean": "rm -rf ./dist",
25-
"publish": "npm run build"
25+
"clean": "rm -rf ./dist"
2626
},
2727
"devDependencies": {
2828
"@types/react": "^16.8.23",

0 commit comments

Comments
 (0)