mirror of
https://github.com/nbd-wtf/nostr-tools.git
synced 2025-12-09 16:48:50 +00:00
justfile: always emit types on build.
This commit is contained in:
6
justfile
6
justfile
@@ -3,6 +3,7 @@ export PATH := "./node_modules/.bin:" + env_var('PATH')
|
|||||||
build:
|
build:
|
||||||
rm -rf lib
|
rm -rf lib
|
||||||
bun run build.js
|
bun run build.js
|
||||||
|
tsc
|
||||||
|
|
||||||
test:
|
test:
|
||||||
bun test --timeout 20000
|
bun test --timeout 20000
|
||||||
@@ -10,10 +11,7 @@ test:
|
|||||||
test-only file:
|
test-only file:
|
||||||
bun test {{file}}
|
bun test {{file}}
|
||||||
|
|
||||||
emit-types:
|
publish: build
|
||||||
tsc # see tsconfig.json
|
|
||||||
|
|
||||||
publish: build emit-types
|
|
||||||
npm publish
|
npm publish
|
||||||
|
|
||||||
format:
|
format:
|
||||||
|
|||||||
Reference in New Issue
Block a user