Skip to content

Commit

Permalink
feat: add prepublish script
Browse files Browse the repository at this point in the history
Signed-off-by: ryanwolhuter <dev@ryanwolhuter.com>
  • Loading branch information
ryanwolhuter committed Jan 19, 2024
1 parent 50d9c23 commit 5f0a0bc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"clean": "rimraf dist/",
"copy-files": "copyfiles -u 1 src/codegen/.hygen/templates/**/*.esm.t dist/",
"build": "yarn clean && tsc && yarn copy-files",
"prepublishOnly": "yarn build",
"build:create-lib": "tsc --project src/create-lib/tsconfig.json",
"publish:create-lib": "yarn publish --cwd ./src/create-lib/",
"start": "ts-node src/cli.ts",
Expand Down

0 comments on commit 5f0a0bc

Please sign in to comment.