Skip to content

Commit

Permalink
Add prepublish script
Browse files Browse the repository at this point in the history
  • Loading branch information
marvinhagemeister committed Aug 5, 2020
1 parent 7990fd8 commit f20fca2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
"types": "dist/types/index.d.ts",
"scripts": {
"test": "mocha -r ts-node/register src/*.test.ts",
"build": "rimraf dist/ && tsc && tsc -p tsconfig.esm.json && node tools/post-build.js"
"build": "rimraf dist/ && tsc && tsc -p tsconfig.esm.json && node tools/post-build.js",
"prepublishOnly": "npm run build"
},
"author": "Marvin Hagemeister <hello@marvinh.dev>",
"repository": {
Expand Down

0 comments on commit f20fca2

Please sign in to comment.