mirror of
https://github.com/nbd-wtf/nostr-tools.git
synced 2025-12-09 00:28:51 +00:00
reduce spaces on justfile.
This commit is contained in:
20
justfile
20
justfile
@@ -1,25 +1,25 @@
|
|||||||
export PATH := "./node_modules/.bin:" + env_var('PATH')
|
export PATH := "./node_modules/.bin:" + env_var('PATH')
|
||||||
|
|
||||||
build:
|
build:
|
||||||
rm -rf lib
|
rm -rf lib
|
||||||
bun run build.js
|
bun run build.js
|
||||||
|
|
||||||
test:
|
test:
|
||||||
bun test --timeout 20000
|
bun test --timeout 20000
|
||||||
|
|
||||||
test-only file:
|
test-only file:
|
||||||
bun test {{file}}
|
bun test {{file}}
|
||||||
|
|
||||||
emit-types:
|
emit-types:
|
||||||
tsc # see tsconfig.json
|
tsc # see tsconfig.json
|
||||||
|
|
||||||
publish: build emit-types
|
publish: build emit-types
|
||||||
npm publish
|
npm publish
|
||||||
|
|
||||||
format:
|
format:
|
||||||
eslint --ext .ts --fix *.ts
|
eslint --ext .ts --fix *.ts
|
||||||
prettier --write *.ts
|
prettier --write *.ts
|
||||||
|
|
||||||
lint:
|
lint:
|
||||||
eslint --ext .ts *.ts
|
eslint --ext .ts *.ts
|
||||||
prettier --check *.ts
|
prettier --check *.ts
|
||||||
|
|||||||
Reference in New Issue
Block a user