2023-10-27 16:02:54 -04:00
|
|
|
# Lists the available actions
|
|
|
|
default:
|
|
|
|
@just --list
|
|
|
|
|
2023-11-02 13:06:48 -04:00
|
|
|
# Typescript checking
|
|
|
|
check:
|
|
|
|
deno check --unstable --all -c deno.jsonc ./src/deno/*.ts ./src/common/*.ts
|
|
|
|
|
|
|
|
# Code linting
|
2023-10-27 16:02:54 -04:00
|
|
|
deno-lint:
|
|
|
|
deno lint
|
|
|
|
|
2023-11-02 13:06:48 -04:00
|
|
|
# Reformat the code
|
|
|
|
fmt:
|
|
|
|
deno fmt
|
2023-10-27 16:02:54 -04:00
|
|
|
|
2023-10-31 14:47:59 -04:00
|
|
|
# Run with bun
|
|
|
|
bun-run:
|
|
|
|
bun run ./src/scroll.ts
|
|
|
|
|
2023-10-27 16:02:54 -04:00
|
|
|
# Run with deno
|
|
|
|
deno-run:
|
2023-11-02 13:06:48 -04:00
|
|
|
deno run --allow-all --allow-ffi --deny-net --deny-hrtime --unstable ./src/scroll.ts
|
|
|
|
|
|
|
|
deno-test:
|
|
|
|
deno test --allow-all
|