-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
50 lines (50 loc) · 1.69 KB
/
package.json
File metadata and controls
50 lines (50 loc) · 1.69 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
{
"name": "react-wasm-table",
"version": "0.1.0",
"private": true,
"workspaces": [
"packages/*",
"examples/*",
"document",
"e2e"
],
"scripts": {
"build:wasm": "bun scripts/build-wasm.ts",
"build:lib": "bun run --filter @ohah/react-wasm-table build",
"build": "bun run build:wasm && bun run build:lib",
"dev:demo": "bun run --filter demo dev",
"dev:docs": "bun run --filter document dev",
"docs:build": "cp packages/react-wasm-table/wasm/react_wasm_table_wasm_bg.wasm packages/react-wasm-table/dist/ 2>/dev/null || true && bun run --filter document build",
"test": "bun test packages/",
"test:e2e": "cd e2e && bunx playwright test",
"test:rust": "cargo test --workspace",
"test:watch": "bun test --watch",
"lint": "oxlint .",
"lint:rust": "cargo clippy --workspace -- -D warnings",
"lint:all": "bun run lint && bun run lint:rust",
"format": "oxfmt .",
"format:check": "oxfmt . --check",
"format:rust": "cargo fmt --all",
"format:rust:check": "cargo fmt --all -- --check",
"format:all": "bun run format && bun run format:rust",
"format:all:check": "bun run format:check && bun run format:rust:check",
"check": "bun run lint:all && bun run format:all:check"
},
"devDependencies": {
"@happy-dom/global-registrator": "^20.0.11",
"@resvg/resvg-js": "^2.6.2",
"@testing-library/dom": "^10.4.1",
"@testing-library/react": "^16.3.2",
"@types/bun": "latest",
"@types/node": "^20.0.0",
"@types/react": "^19.2.14",
"@types/react-dom": "^19.2.3",
"oxfmt": "latest",
"oxlint": "latest",
"sharp": "^0.34.5",
"to-ico": "^1.1.5"
},
"peerDependencies": {
"typescript": "^5"
}
}