Skip to content

Commit 7bac27a

Browse files
committed
build: 🔨 add a prepublish build script
1 parent 2987331 commit 7bac27a

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
"repository": "github:imxeno/trpc-rabbitmq",
1414
"bugs": "https://github.com/imxeno/trpc-rabbitmq/issues",
1515
"scripts": {
16+
"prepublish": "npm run build",
1617
"test": "tsc --noEmit && jest --verbose --passWithNoTests",
1718
"build": "rimraf dist && rimraf adapter && rimraf link && rimraf types && tsc -p tsconfig.build.json && shx mv dist/* . && rimraf dist"
1819
},

0 commit comments

Comments
 (0)