Skip to content

Commit a696a98

Browse files
committed
Ensure dist is rebuilt before publish
1 parent bb11da3 commit a696a98

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
@@ -14,7 +14,8 @@
1414
"prettier-check": "prettier --check '**/*.{ts,tsx,js,jsx}'",
1515
"prettier": "prettier --write '**/*.{ts,tsx,js,jsx}'",
1616
"tests": "jest",
17-
"test": "npm run lint && npm run typecheck && npm run tests -- --runInBand --coverage"
17+
"test": "npm run lint && npm run typecheck && npm run tests -- --runInBand --coverage",
18+
"prepublishOnly": "npm run dist"
1819
},
1920
"repository": {
2021
"type": "git",

0 commit comments

Comments
 (0)