Skip to content

Commit d0ae63c

Browse files
sebbo2002marvinhagemeisterEdJoPaTo
authored
fix: Build dist-esm before publishing release on npm (#64)
* fix: Build `dist-esm` before release * chore: switch from `prepublishOnly` to `prepack` Co-authored-by: EdJoPaTo <[email protected]> --------- Co-authored-by: Marvin Hagemeister <[email protected]> Co-authored-by: EdJoPaTo <[email protected]>
1 parent 1973af9 commit d0ae63c

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
@@ -20,7 +20,7 @@
2020
"test": "mocha -r ts-node/register --extensions ts,tsx --timeout 30000 --watch-files src,test 'test/**/*.test.ts'",
2121
"cli": "ts-node src/bin.ts",
2222
"build": "rimraf dist dist-esm && tsc && tsc -p tsconfig.esm.json",
23-
"prepublishOnly": "tsc"
23+
"prepack": "npm run build"
2424
},
2525
"keywords": [
2626
"install",

0 commit comments

Comments
 (0)