Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
99 lines (93 loc) · 8.26 KB
/
Copy pathpackage.json
File metadata and controls
99 lines (93 loc) · 8.26 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
{
"name": "map-project",
"private": true,
"version": "0.0.0",
"type": "module",
"workspaces": [
"happ",
"host",
"host/map-sdk"
],
"scripts": {
"postinstall": "node scripts/deps-check.mjs --record",
"deps:check": "node scripts/deps-check.mjs",
"nix:check": "node scripts/nix-check.mjs",
"prestart": "npm run nix:check && npm run deps:check",
"start": "npm run build:happ && RUST_LOG=host:warn WASM_LOG=warn npm run start:host",
"start:canvas": "MAP_APPLICATION_EXPERIENCE=canvas npm run start",
"start:loader": "MAP_APPLICATION_EXPERIENCE=holons-loader npm run start",
"start:info": "npm run nix:check && npm run build:happ && RUST_LOG=host:info WASM_LOG=info npm run start:host",
"start:debug": "npm run nix:check && npm run build:happ && RUST_LOG=host:debug WASM_LOG=info npm run start:host",
"start:host": "MAP_START_MODE=dev npm run start -w map-host",
"start:production": "npm run nix:check && npm run build:happ && RUST_LOG=host:info WASM_LOG=warn MAP_START_MODE=prod npm run start -w map-host",
"build": "npm run build:happ && npm run build:host",
"build:host": "npm run build:house-troupe && npm run build -w map-host",
"build:node-visualizers": "node scripts/build-node-visualizers.mjs",
"prebuild:house-troupe": "npm run build:node-visualizers",
"build:happ": "npm run build:happ -w map-happ",
"web:review": "npm run web:review -w map-host",
"web:test": "npm run web:test:dahn -w map-host",
"web:typecheck": "npm run web:typecheck -w map-host",
"check": "npm run check -w map-host && npm run check -w map-happ && npm run web:typecheck",
"fmt": "npm run fmt -w map-host && npm run fmt -w map-happ && npm run fmt:sweetests",
"fmt:check": "npm run fmt:check -w map-host && npm run fmt:check -w map-happ && npm run fmt:sweetests:check",
"fmt:sweetests": "cargo fmt --manifest-path tests/sweetests/Cargo.toml --all",
"fmt:sweetests:check": "cargo fmt --manifest-path tests/sweetests/Cargo.toml --all --check",
"pretest": "npm run deps:check",
"test": "bash scripts/test-run.sh",
"test:run": "npm run test:unit && npm run sweetest",
"test:light": "npm run deps:check && bash scripts/test-run.sh npm run test:unit",
"test:heavy": "npm run deps:check && bash scripts/test-run.sh npm run sweetest:ci",
"test:unit": "npm run test:unit:shared && npm run test:unit:schema && npm run test:unit -w map-host && npm run test:unit:no-run -w map-happ && npm run test:unit -w map-happ && npm run test:unit:sweetests && npm run web:typecheck && npm run web:test && npm run typecheck -w map-sdk && npm run test -w map-sdk",
"test:unit:shared": "bash scripts/test-shared-crates.sh",
"test:unit:schema": "cargo test --manifest-path tools/map-schema/Cargo.toml --test validation_binding_inventory",
"test:unit:sweetests": "cargo test --manifest-path tests/sweetests/Cargo.toml --lib --test fixture_authoring_tests",
"sweetest": "npm run build:happ && npm run build:probes -w map-happ && npm run check:happ-artifacts && RUST_LOG=${RUST_LOG:-warn} WASM_LOG=${WASM_LOG:-warn} npm run sweet:test",
"sweetest:nocapture": "npm run build:happ && npm run build:probes -w map-happ && npm run check:happ-artifacts && RUST_LOG=${RUST_LOG:-warn} WASM_LOG=${WASM_LOG:-warn} npm run sweet:test:nocapture",
"sweetest:ci": "npm run build:happ && npm run build:probes -w map-happ && npm run check:happ-artifacts && RUST_LOG=${RUST_LOG:-warn} WASM_LOG=${WASM_LOG:-warn} npm run sweet:test:ci",
"sweet:test": "cargo test --manifest-path tests/sweetests/Cargo.toml -- --test-threads=1",
"sweet:test:ci": "bash scripts/sweet-test-ci.sh",
"sweet:test:nocapture": "cargo test --manifest-path tests/sweetests/Cargo.toml -- --test-threads=1 --nocapture",
"sweet:dance": "npm run build:happ && npm run build:probes -w map-happ && npm run check:happ-artifacts && RUST_LOG=${RUST_LOG:-warn,holons_guest=debug,wasm=debug,holons_validation=debug,holons_core=info,dance_tests=info,holons_test=info,holochain=error,holochain_data=error,holochain_p2p=error,holochain_cascade=error,kitsune2_core=error,kitsune2_gossip=error,kitsune2_dht=error,tx5=error,sbd_client=error,lair_keystore=error,tracing=error} WASM_LOG=${WASM_LOG:-debug} cargo test --manifest-path tests/sweetests/Cargo.toml --test dance_tests -- --test-threads=1 --nocapture",
"sweet:relationship-perf": "python3 scripts/measure-relationship-retrieval.py",
"sweet:effective-descriptor": "npm run build:happ && RUST_LOG=${RUST_LOG:-warn,holons_test::harness::helpers::test_context=info} bash scripts/test-run.sh cargo nextest run --manifest-path tests/sweetests/Cargo.toml --test effective_descriptor_tests --profile ci --no-capture",
"sweet:commit-perf": "bash scripts/measure-commit-performance.sh",
"sweet:bootstrap-perf": "env RUST_LOG=info WASM_LOG=info sh -c 'npm run build:happ && npm run build:probes -w map-happ && npm run check:happ-artifacts && cargo test --manifest-path tests/sweetests/Cargo.toml --test bootstrap_performance_tests -- --ignored --nocapture'",
"check:happ-artifacts": "cargo run --manifest-path tools/happ-artifact-audit/Cargo.toml -- --manifest happ/coordinator-surface.toml --dna happ/workdir/map_holons.dna --happ happ/workdir/map-holons.happ --probe-wasm happ/target/wasm32-unknown-unknown/release/holons_test_probes.wasm --deny-production-test-only",
"map-schema": "cargo run --manifest-path tools/map-schema/Cargo.toml --",
"map-schema:decompile": "cargo run --manifest-path tools/map-schema/Cargo.toml -- decompile",
"map-schema:help": "cargo run --manifest-path tools/map-schema/Cargo.toml -- help",
"map-schema:compile": "cargo run --manifest-path tools/map-schema/Cargo.toml -- compile",
"map-schema:compile:coreschema": "npm run map-schema:compile -- schema-src --out-dir generated/json-imports",
"map-schema:compile:house-troupe:space-navigator": "npm run map-schema:compile -- house-troupe/space-navigator/schema --out-dir generated/house-troupe/space-navigator/imports",
"map-schema:compile:visualizer-commons:default-presentation": "npm run map-schema:compile -- visualizer-commons/default-presentation/schema --out-dir generated/visualizer-commons/default-presentation/imports",
"map-schema:check:house-troupe:space-navigator": "npm run map-schema:check -- house-troupe/space-navigator/schema",
"map-schema:compile:house-troupe": "npm run map-schema:compile:house-troupe:space-navigator",
"map-schema:sync-house-troupe-resource": "bash scripts/sync-house-troupe-resource.sh",
"build:house-troupe": "npm run map-schema:compile:house-troupe && npm run map-schema:sync-house-troupe-resource",
"map-schema:sync-visualizer-commons-resource": "bash scripts/sync-visualizer-commons-resource.sh",
"build:visualizer-commons": "npm run map-schema:compile:visualizer-commons:default-presentation && npm run map-schema:sync-visualizer-commons-resource",
"map-schema:bootstrap-bundle": "npm run map-schema:compile:coreschema && npm run map-schema -- bootstrap-bundle generated/json-imports --manifest schema-src/core-schema-bootstrap-manifest.json --out-dir generated/core-schema-bootstrap && npm run map-schema:sync-bootstrap-resource",
"map-schema:sync-bootstrap-resource": "bash scripts/sync-core-schema-bootstrap-resource.sh",
"map-schema:check": "cargo run --manifest-path tools/map-schema/Cargo.toml -- check",
"map-schema:check:coreschema": "npm run map-schema:check -- schema-src",
"map-schema:roundtrip:coreschema": "npm run map-schema -- roundtrip-json generated/json-imports --tdl-out generated/tdl-decompiled --json-out generated/json-roundtrip",
"map-schema:verify:coreschema": "bash scripts/check-map-schema-generated.sh",
"regen:sdk-fixtures": "npm run regen:sdk-fixtures -w map-host",
"hooks:install": "bash ./scripts/install-git-hooks.sh",
"clean": "npm run clean:rust:deep && npm run clean:hc:deep -w map-host && npm run clean:ui && npm run clean:session",
"clean:rust": "npm run clean:rust -w map-host && npm run clean:rust -w map-happ",
"clean:rust:deep": "npm run clean:rust:deep -w map-host && npm run clean:rust:deep -w map-happ",
"clean:ui": "npm run clean:ui -w map-host",
"clean:session": "bash scripts/clean-session.sh"
},
"devDependencies": {
"autoprefixer": "^10.4",
"concurrently": "^9",
"rimraf": "^6"
},
"engines": {
"node": ">=22.12.0",
"npm": ">=10.9.0"
}
}