mirror of
https://github.com/loro-dev/loro.git
synced 2024-11-24 12:20:06 +00:00
27e3a593a6
* perf: optimize speed of large maps * chore: record current perf * chore: throw error when clippy has warnings
27 lines
1.1 KiB
JSON
27 lines
1.1 KiB
JSON
{
|
|
"name": "loro",
|
|
"version": "1.0.0",
|
|
"private": true,
|
|
"description": "",
|
|
"main": "index.js",
|
|
"scripts": {
|
|
"check-all": "cargo hack check --each-feature",
|
|
"build": "cargo build",
|
|
"test": "cargo nextest run --features=test_utils,jsonpath --no-fail-fast && cargo test --doc",
|
|
"test-all": "pnpm test && pnpm test-wasm",
|
|
"test-wasm": "cd crates/loro-wasm && deno task dev && cd ../../loro-js && pnpm i && pnpm run test",
|
|
"coverage": "mkdir -p coverage && cargo llvm-cov nextest --features test_utils,jsonpath --lcov > coverage/lcov-nextest.info && cargo llvm-cov report",
|
|
"release-wasm": "cd crates/loro-wasm && deno task release && cd ../../loro-js && pnpm i && pnpm build && pnpm run test",
|
|
"check": "cargo clippy --all-features -- -Dwarnings",
|
|
"run-fuzz-corpus": "cd crates/fuzz && cargo +nightly fuzz run all -- -max_total_time=1",
|
|
"fix": "cargo clippy --fix --features=test_utils",
|
|
"vet": "cargo vet"
|
|
},
|
|
"keywords": [],
|
|
"author": "",
|
|
"license": "ISC",
|
|
"devDependencies": {
|
|
"@changesets/changelog-git": "^0.2.0",
|
|
"@changesets/cli": "^2.27.1"
|
|
}
|
|
}
|