Skip to content

Commit 09c28ab

Browse files
Add prepublish script
1 parent ab232d7 commit 09c28ab

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
@@ -41,6 +41,7 @@
4141
"build:types": "tsc -p tsconfig.dec.json --emitDeclarationOnly && find ./dist -name '*.d.ts' -exec sh -c 'cp {} $(dirname {})/$(basename -s .d.ts {}).d.cts' \\;",
4242
"clean": "rm -rf ./dist",
4343
"format": "prettier --write \"{{source,test}/**/*.{js,ts},rollup.config.js,vitest.config.js}\"",
44+
"prepublishOnly": "npm run build",
4445
"test": "npm run build && npm run test:specs && npm run test:format && npm run test:types",
4546
"test:format": "prettier --check \"{{source,test}/**/*.{js,ts},rollup.config.js,vitest.config.js}\"",
4647
"test:specs": "vitest",

0 commit comments

Comments
 (0)