-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
32 lines (32 loc) · 1.26 KB
/
package.json
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
{
"name": "game-of-commons-devcamp-dev",
"private": true,
"workspaces": [
"ui",
"tests"
],
"scripts": {
"start": "npm run network 2",
"network": "hc s clean && npm run build:happ && concurrently-repeat \"npm run start:agent\"",
"start:agent": "cross-env HC_PORT=$(port) concurrently -k \"npm run start:happ\" \"sleep 5 && npm run start -w ui\"",
"test": "npm run build:happ && npm t -w tests",
"start:happ": "concurrently \"RUST_LOG=warn hc s generate ./workdir/game-of-commons-devcamp.happ --run=$HC_PORT -a game-of-commons-devcamp network mdns\" \"npm run playground\"",
"package": "npm run build:happ && npm run package -w ui && hc web-app pack workdir",
"build:happ": "npm run build:dnas && hc app pack ./workdir",
"build:dnas": "npm run build:zomes && hc dna pack ./dna/workdir",
"build:zomes": "CARGO_TARGET_DIR=target cargo build --release --target wasm32-unknown-unknown",
"playground": "run-singleton \"holochain-playground\""
},
"devDependencies": {
"@holochain-playground/cli": "^0.0.11",
"concurrently": "^6.2.1",
"concurrently-repeat": "^0.0.1",
"cross-env": "^7.0.3",
"new-port-cli": "^1.0.0",
"rimraf": "^3.0.2",
"run-singleton-cli": "^0.0.5"
},
"engines": {
"npm": ">=7.0.0"
}
}