Skip to content

Commit 36b779a

Browse files
committed
feat: add npm build script to package.json for streamlined npm publishing
1 parent 7ce27c0 commit 36b779a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
"build:types": "tsc --emitDeclarationOnly --declaration --outDir lib --declarationMap false",
1919
"build:bundle": "tsup src/index.ts --format esm,cjs,iife --global-name Broprint --out-dir lib --minify --clean --silent",
2020
"build": "npm run build:bundle && npm run build:types",
21+
"build:npm": "npm run build:bundle && npm run build:types",
2122
"test": "echo \"Error: no test specified\" && exit 1 "
2223
},
2324
"repository": {

0 commit comments

Comments
 (0)