-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
52 lines (52 loc) · 2.08 KB
/
Copy pathpackage.json
File metadata and controls
52 lines (52 loc) · 2.08 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
{
"name": "fastsse-workspace",
"private": true,
"keywords": [
"napi-rs",
"rust",
"server-sent-events",
"sse",
"wasm"
],
"homepage": "https://github.com/matesedu/fastsse#readme",
"bugs": {
"url": "https://github.com/matesedu/fastsse/issues"
},
"license": "GPL-3.0-or-later",
"author": "Mates Inc.",
"repository": {
"type": "git",
"url": "https://github.com/matesedu/fastsse"
},
"scripts": {
"build": "cargo build --workspace",
"build:node": "pnpm --dir npm/fastsse_node run build",
"build:wasm": "wasm-pack build crates/fastsse_wasm --target web --out-dir ../../npm/fastsse_wasm --out-name fastsse",
"audit:supply-chain": "cargo deny check && pnpm audit --audit-level moderate && node scripts/audit-npm-licenses.mjs",
"package:crates": "node scripts/package-crates.mjs",
"package:node": "pnpm run build:node && pnpm --dir npm/fastsse_node run smoke && pnpm --dir npm/fastsse_node run pack:check",
"package:wasm": "pnpm run build:wasm && node scripts/sync-wasm-package.mjs && node scripts/wasm-smoke.mjs && node scripts/wasm-package-pack-check.mjs",
"package:npm": "pnpm run package:node && pnpm run package:wasm",
"package:dry-run": "pnpm run package:crates && pnpm run package:npm",
"fmt": "oxfmt .",
"check": "cargo check -p fastsse -p fastsse-node --all-targets && cargo check -p fastsse-wasm --target wasm32-unknown-unknown",
"lint": "cargo clippy -p fastsse -p fastsse-node --all-targets -- -D warnings && cargo clippy -p fastsse-wasm --target wasm32-unknown-unknown -- -D warnings",
"test": "cargo test -p fastsse && cargo test -p fastsse-node",
"bench": "cargo bench -p fastsse",
"release:patch": "node scripts/release.mjs patch",
"release:minor": "node scripts/release.mjs minor",
"release:alpha": "node scripts/release.mjs alpha",
"release:beta": "node scripts/release.mjs beta"
},
"devDependencies": {
"@napi-rs/cli": "3.5.1",
"oxfmt": "^0.36.0",
"vite-plus": "0.1.21"
},
"packageManager": "pnpm@10.32.1",
"pnpm": {
"overrides": {
"vite": "8.0.13"
}
}
}