-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
61 lines (61 loc) · 4.57 KB
/
Copy pathpackage.json
File metadata and controls
61 lines (61 loc) · 4.57 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
{
"private": true,
"version": "0.0.0",
"workspaces": [
"packages/iroh-http-shared",
"packages/iroh-http-node",
"packages/iroh-http-tauri"
],
"scripts": {
"typecheck": "npm run typecheck --workspaces",
"fmt": "deno fmt",
"fmt:check": "deno fmt --check",
"build:core": "cargo build --release --workspace && cargo build --release --manifest-path packages/iroh-http-tauri/Cargo.toml",
"build:shared": "npm run build --workspace=packages/iroh-http-shared",
"build:node": "npm run build --workspace=packages/iroh-http-node",
"build:node:all": "npm run build:all --workspace=packages/iroh-http-node",
"build:tauri": "npm run build --workspace=packages/iroh-http-tauri",
"build:deno": "cd packages/iroh-http-deno && deno task build",
"build:example": "npm run build:shared && npm run build:tauri && cd examples/tauri && npm ci --ignore-scripts && npm run build",
"build:deno:all": "cd packages/iroh-http-deno && deno task build:all",
"build": "npm run build:core && npm run build:shared && npm run build:node && npm run build:tauri && npm run build:deno",
"build:all": "npm run build:core && npm run build:shared && npm run build:node:all && npm run build:tauri && npm run build:deno:all",
"check": "cargo check --workspace && npm run typecheck",
"lint": "cargo fmt --all -- --check && cargo clippy --workspace -- -D warnings -D clippy::unwrap_used -D clippy::panic -D clippy::arithmetic_side_effects && cargo clippy --manifest-path packages/iroh-http-tauri/Cargo.toml -- -D warnings -D clippy::unwrap_used -D clippy::panic -D clippy::arithmetic_side_effects",
"test:rust": "if command -v cargo-nextest >/dev/null 2>&1; then cargo nextest run --workspace; else cargo test --workspace; fi",
"test:tauri": "if command -v cargo-nextest >/dev/null 2>&1; then cargo nextest run --manifest-path packages/iroh-http-tauri/Cargo.toml; else cargo test --manifest-path packages/iroh-http-tauri/Cargo.toml; fi",
"test:tauri:guest": "npm test --workspace=packages/iroh-http-tauri",
"check:tauri": "cargo check --manifest-path packages/iroh-http-tauri/Cargo.toml",
"build:tauri:rust": "cargo build --release --manifest-path packages/iroh-http-tauri/Cargo.toml",
"test:node": "npm test --workspace=packages/iroh-http-node",
"test:deno": "cd packages/iroh-http-deno && deno task test",
"test:interop": "bash tests/http-compliance/run.sh",
"test:interop:unit": "node --test tests/interop/suite.test.mjs tests/interop/reporter/server.test.mjs",
"test:example": "npm test --prefix examples/tauri",
"test:interop:suite": "node tests/interop/run-node.mjs && deno run -A tests/interop/run-deno.ts",
"report:serve": "node tests/interop/reporter/server.mjs",
"test": "npm run test:rust && npm run test:tauri && npm run test:node && npm run test:deno && npm run test:interop && npm run test:interop:unit && npm run test:interop:suite && npm run test:example",
"bench:smoke": "cargo bench -p iroh-http-core -- --test --quiet",
"check:features": "cargo check -p iroh-http-node --no-default-features --quiet && cargo check -p iroh-http-deno --no-default-features --quiet",
"check:lockfile": "node scripts/check-lockfile.mjs",
"test:scripts": "bash scripts/tests/ci-churn.test.sh && bash scripts/tests/extract-release-notes.test.sh && node scripts/tests/sync-package-lock-workspaces.test.mjs",
"bench:node": "node bench/node/bench.mjs",
"bench:node:report": "node bench/node/report.mjs",
"bench:deno": "deno bench --allow-net --allow-ffi --allow-env --allow-read --allow-write --allow-sys bench/deno/bench.ts",
"bench:deno:report": "deno run --allow-net --allow-ffi --allow-env --allow-read --allow-write --allow-sys bench/deno/report.ts",
"bench:rust": "cargo bench -p iroh-http-core --bench throughput && cargo bench -p iroh-http-core --bench latency",
"bench": "npm run bench:rust && npm run bench:node && npm run bench:deno",
"ci": "bash scripts/check.sh",
"release": "bash scripts/release.sh",
"version:bump": "bash scripts/version.sh",
"publish:shared": "npm publish --access public --provenance -w packages/iroh-http-shared",
"publish:shared:jsr": "cd packages/iroh-http-shared && deno publish",
"publish:node": "npm publish --access public --provenance -w packages/iroh-http-node",
"publish:deno": "cd packages/iroh-http-deno && deno publish",
"publish:tauri": "npm publish --access public --provenance -w packages/iroh-http-tauri",
"publish:tauri:cargo": "cd packages/iroh-http-tauri && cargo publish"
},
"devDependencies": {
"mitata": "^1.0.34"
}
}