Skip to content

Commit

Permalink
fix: Build dist-esm before publishing release on npm (#64)
Browse files Browse the repository at this point in the history
* 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]>
  • Loading branch information
3 people authored Mar 19, 2024
1 parent 1973af9 commit d0ae63c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"test": "mocha -r ts-node/register --extensions ts,tsx --timeout 30000 --watch-files src,test 'test/**/*.test.ts'",
"cli": "ts-node src/bin.ts",
"build": "rimraf dist dist-esm && tsc && tsc -p tsconfig.esm.json",
"prepublishOnly": "tsc"
"prepack": "npm run build"
},
"keywords": [
"install",
Expand Down

0 comments on commit d0ae63c

Please sign in to comment.