-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
38 lines (38 loc) · 1.77 KB
/
package.json
File metadata and controls
38 lines (38 loc) · 1.77 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
{
"name": "nondominium-dev",
"private": true,
"workspaces": [
"packages/*",
"ui",
"tests"
],
"scripts": {
"start": "AGENTS=${AGENTS:-2} BOOTSTRAP_PORT=$(get-port) npm run network",
"network": "hc sandbox clean && npm run build:happ && UI_PORT=$(get-port) concurrently \"npm run --filter ui start\" \"npm run launch:happ\" \"hc playground\"",
"tests": "npm run build:happ && npm t -w tests -- ",
"test:only": "npm t -w tests -- ",
"sweettest": "bun run build:happ && CARGO_TARGET_DIR=target/native-tests cargo test -p nondominium_sweettest",
"sweettest:verbose": "bun run build:happ && CARGO_TARGET_DIR=target/native-tests cargo test -p nondominium_sweettest -- --nocapture",
"sweettest:only": "CARGO_TARGET_DIR=target/native-tests cargo test -p nondominium_sweettest",
"launch:happ": "hc-spin -n $AGENTS --ui-port $UI_PORT workdir/nondominium.happ",
"package": "npm run build:happ && npm run --filter ui package && hc web-app pack workdir --recursive",
"build:happ": "npm run build:zomes && npm run build:zomes:hrea && hc dna pack vendor/hrea/dnas/hrea/workdir && hc app pack workdir --recursive",
"build:zomes": "RUSTFLAGS='--cfg getrandom_backend=\"custom\"' cargo build --release --target wasm32-unknown-unknown",
"build:zomes:hrea": "cd vendor/hrea && RUSTFLAGS='--cfg getrandom_backend=\"custom\"' cargo build --release --target wasm32-unknown-unknown",
"check": "cd ui && npm run check",
"check:tests": "npm run --filter tests check"
},
"devDependencies": {
"@holochain/hc-spin": "^0.600.0",
"@types/libsodium-wrappers": "^0.7.14",
"@types/ws": "^8.18.1",
"concurrently": "^6.5.1",
"get-port-cli": "^3.0.0"
},
"engines": {
"node": ">=16.0.0"
},
"hcScaffold": {
"template": "svelte"
}
}