-
-
Notifications
You must be signed in to change notification settings - Fork 135
Expand file tree
/
Copy pathpackage.json
More file actions
36 lines (36 loc) · 2.02 KB
/
package.json
File metadata and controls
36 lines (36 loc) · 2.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
{
"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 release-wasm && pnpm test-loom",
"test-wasm": "cd crates/loro-wasm && pnpm i && pnpm build-dev",
"test-loom": "LOOM_MAX_PREEMPTIONS=2 RUSTFLAGS='--cfg loom' cargo test -p loro --test multi_thread_test --release",
"test-loom-reproduce": "LOOM_MAX_PREEMPTIONS=2 LOOM_LOG=info LOOM_LOCATION=1 LOOM_CHECKPOINT_INTERVAL=1 LOOM_CHECKPOINT_FILE=loom_test.json RUSTFLAGS='--cfg loom' cargo test -p loro --test multi_thread_test --release",
"watch-loom": "RUSTFLAGS='--cfg loom' bacon",
"coverage": "mkdir -p coverage && cargo llvm-cov nextest --features test_utils,jsonpath --lcov > coverage/lcov-nextest.info && cargo llvm-cov report",
"release-wasm": "deno run -A ./scripts/sync-loro-version.ts && cd crates/loro-wasm && pnpm i && pnpm build-release",
"ci-release-wasm-version": "pnpm changeset version && deno run -A ./scripts/sync-loro-version.ts",
"ci-release-wasm-publish": "pnpm release-wasm && pnpm changeset publish --access public",
"check": "cargo clippy --all-features -- -Dwarnings",
"test-rsbuild": "pnpm --dir examples/test-rsbuild install --ignore-workspace --prefer-offline && pnpm --filter loro-test-rsbuild build",
"test-esbuild": "pnpm --dir examples/test-esbuild install --ignore-workspace --prefer-offline && pnpm --filter loro-test-esbuild serve",
"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",
"release-rust": "deno run -A ./scripts/cargo-release.ts"
},
"keywords": [],
"author": "",
"license": "ISC",
"devDependencies": {
"@changesets/changelog-git": "^0.2.0",
"@changesets/cli": "^2.27.1",
"sponsorkit": "^17.0.0"
}
}