-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
127 lines (127 loc) · 6.65 KB
/
Copy pathpackage.json
File metadata and controls
127 lines (127 loc) · 6.65 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
{
"name": "crebain",
"version": "0.9.0",
"description": "Research-only spatial visualization, simulation, and sensor-fusion prototype",
"license": "MIT OR Apache-2.0",
"type": "module",
"repository": {
"type": "git",
"url": "https://github.com/sepahead/crebain.git"
},
"homepage": "https://github.com/sepahead/crebain#readme",
"bugs": {
"url": "https://github.com/sepahead/crebain/issues"
},
"keywords": [
"drone-detection",
"sensor-fusion",
"tauri",
"ros1",
"zenoh",
"gaussian-splatting",
"coreml",
"cuda",
"computer-vision",
"surveillance"
],
"author": "Sepehr Mahmoudian <sepmhn@gmail.com>",
"engines": {
"node": ">=20.19.0",
"bun": ">=1.3.14"
},
"scripts": {
"dev": "bunx --bun vite",
"build": "bun run check:phase0-baseline && bun run typecheck && bunx --bun vite build && bun run check:production-boundary",
"preview": "bunx --bun vite preview",
"check:bundle": "bun run build && node scripts/check-bundle-size.mjs",
"check:bundle-tool": "node scripts/test-check-bundle-size.mjs",
"check:ncp-coherence": "scripts/check-ncp-coherence.sh",
"check:phase0-baseline": "node scripts/verify-phase0-baseline.mjs && node scripts/test-phase0-baseline.mjs",
"check:product-profiles": "node scripts/verify-product-profiles.mjs && node scripts/test-product-profiles.mjs",
"check:ipc-contracts": "node scripts/generate-ipc-contract-registry.mjs && node scripts/test-ipc-contract-registry.mjs",
"check:audit-tools": "python3 scripts/test-audit-tracked-files.py && python3 scripts/test-evidence-manifest.py",
"check:release-tools": "scripts/check-version-coherence.sh && scripts/test-version-coherence.sh && bun run check:audit-tools && bun run check:bundle-tool",
"check:vendor-compat": "python3 scripts/verify-vendor-compat.py && python3 scripts/test-vendor-compat.py",
"check:ros-defs": "python3 scripts/validate_ros_defs.py",
"check:nix-deps": "bunx --bun bun2nix | node scripts/normalize-bun-nix.mjs | cmp bun.nix - && node scripts/test-normalize-bun-nix.mjs",
"check:plant-boundary": "node scripts/check-plant-authority-boundary.mjs",
"check:plant-frames": "node scripts/verify-plant-frame-conventions.mjs && node scripts/test-plant-frame-conventions.mjs && cargo test --locked --manifest-path src-tauri/Cargo.toml -p crebain-plant-authority --test frame_golden_vectors",
"check:production-vendors": "node scripts/test-production-vendor-boundary.mjs",
"check:production-boundary": "bun run check:production-vendors && node scripts/check-production-authority-boundary.mjs && node scripts/test-production-authority-boundary.mjs",
"perf:smoke": "node scripts/perf-smoke.mjs",
"benchmark:native-detector": "cargo run --locked --release --manifest-path src-tauri/Cargo.toml --example native_detector_benchmark --",
"typecheck": "tsc --noEmit",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"format": "prettier --write .",
"format:check": "prettier --check .",
"test": "bunx --bun vitest",
"test:run": "bunx --bun vitest run",
"test:ui": "bunx --bun vitest --ui",
"test:coverage": "bunx --bun vitest run --coverage",
"check:rust": "cargo check --locked --manifest-path src-tauri/Cargo.toml",
"check:plant": "cargo check --locked --manifest-path src-tauri/Cargo.toml -p crebain-plant-authority",
"test:rust": "cargo test --locked --manifest-path src-tauri/Cargo.toml --all-targets",
"test:plant": "cargo test --locked --manifest-path src-tauri/Cargo.toml -p crebain-plant-authority",
"clippy:rust": "cargo clippy --locked --manifest-path src-tauri/Cargo.toml --all-targets -- -D warnings",
"clippy:plant": "cargo clippy --locked --manifest-path src-tauri/Cargo.toml -p crebain-plant-authority --all-targets -- -D warnings",
"fmt:plant:check": "cargo fmt --manifest-path src-tauri/Cargo.toml -p crebain-plant-authority -- --check",
"self-check:plant": "cargo run --quiet --locked --manifest-path src-tauri/Cargo.toml -p crebain-plant-authority --bin crebain-plantd -- --self-check",
"check:rust:ncp": "cargo check --locked --manifest-path src-tauri/Cargo.toml --features ncp",
"clippy:rust:ncp": "cargo clippy --locked --manifest-path src-tauri/Cargo.toml --features ncp --all-targets -- -D warnings",
"test:rust:ncp": "cargo test --locked --manifest-path src-tauri/Cargo.toml --features ncp --all-targets",
"fmt:rust": "cargo fmt --manifest-path src-tauri/Cargo.toml",
"fmt:rust:check": "cargo fmt --manifest-path src-tauri/Cargo.toml --check",
"validate": "bun run check:phase0-baseline && bun run check:product-profiles && bun run check:ipc-contracts && bun run check:release-tools && bun run check:vendor-compat && bun run check:ros-defs && bun run check:nix-deps && bun run check:production-vendors && bun run typecheck && bun run lint && bun run format:check && bun run test:run",
"validate:all": "bun run check:ncp-coherence && bun run validate && bun run fmt:rust:check && bun run check:plant-boundary && bun run check:plant-frames && bun run fmt:plant:check && bun run check:plant && bun run test:plant && bun run clippy:plant && bun run self-check:plant && bun run check:rust && bun run test:rust && bun run clippy:rust && bun run clippy:rust:ncp && bun run test:rust:ncp",
"tauri": "bunx tauri",
"tauri:dev": "bunx tauri dev",
"tauri:build": "bunx tauri build",
"clean": "rm -rf dist node_modules/.vite src-tauri/target"
},
"dependencies": {
"@dimforge/rapier3d-compat": "0.19.3",
"@sepahead/ncp": "github:sepahead/NCP#v0.8.0",
"@sparkjsdev/spark": "0.1.10",
"react": "^19.2.8",
"react-dom": "^19.2.8",
"three": "0.182.0"
},
"devDependencies": {
"@eslint/js": "^10.0.1",
"@tailwindcss/postcss": "^4.3.3",
"@tauri-apps/api": "^2.11.1",
"@tauri-apps/cli": "^2.11.4",
"@types/bun": "^1.3.14",
"@types/react": "^19.2.17",
"@types/react-dom": "^19.2.3",
"@types/three": "^0.182.0",
"@vitejs/plugin-react": "^6.0.4",
"@vitest/coverage-istanbul": "^4.1.10",
"@vitest/ui": "^4.1.10",
"autoprefixer": "^10.5.4",
"bun2nix": "2.1.2",
"eslint": "^10.8.0",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-react-hooks": "^7.1.1",
"eslint-plugin-react-refresh": "^0.5.3",
"globals": "^17.7.0",
"happy-dom": "^20.11.1",
"playwright": "^1.62.0",
"postcss": "^8.5.23",
"prettier": "^3.9.6",
"tailwindcss": "^4.3.3",
"typescript": "^6.0.3",
"typescript-eslint": "^8.65.0",
"vite": "^8.1.5",
"vitest": "^4.1.10"
},
"overrides": {
"@babel/core": "7.29.7",
"brace-expansion": "5.0.8",
"flatted": "3.4.2",
"picomatch": "4.0.5",
"postcss": "8.5.23",
"rollup": "4.62.2"
}
}