loro/deno.jsonc
2023-11-08 12:12:04 +08:00

16 lines
864 B
Text

{
"tasks": {
"check-all": "cargo hack check --each-feature",
"build": "cargo build",
// to debug a single test use
// RUST_BACKTRACE=full DEBUG=* cargo test --package loro-internal --lib --features test_utils --features wasm -- fuzz::recursive::failed_tests::unknown --exact --nocapture &> debug.log
"test": "cargo nextest run --features=test_utils",
"test-all": "deno task test & deno task quick-fuzz & deno task test-wasm",
"test-wasm": "cd crates/loro-wasm && deno task dev && cd ../../loro-js && pnpm i && pnpm run test",
"release-wasm": "cd crates/loro-wasm && deno task release && cd ../../loro-js && pnpm i && pnpm run test",
"check": "cargo clippy --all-features",
"quick-fuzz": "cd crates/loro-internal && deno task quick-fuzz",
"fix": "cargo clippy --fix --features=test_utils",
"vet": "cargo vet"
}
}