Skip to content

Commit ddb10c5

Browse files
committed
Add prepublish script
1 parent e897781 commit ddb10c5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@
2929
"lint": "eslint --cache --ext .js,.ts --fix --format codeframe .",
3030
"release": "np",
3131
"test": "jest",
32-
"typecheck": "tsc --project tsconfig.json"
32+
"typecheck": "tsc --project tsconfig.json",
33+
"prepublish": "yarn run clean && yarn run build"
3334
},
3435
"devDependencies": {
3536
"@types/eslint": "^7.2.0",

0 commit comments

Comments
 (0)