-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
35 lines (35 loc) · 1.4 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
33
34
35
{
"name": "ioen-micro-ledger-dev",
"private": true,
"workspaces": [
"ui",
"tests"
],
"scripts": {
"findport": "echo $(port)",
"start": "npm run build:happ && npm run start:agent",
"network": "npm run build:happ && concurrently-repeat \"npm run start:agent\"",
"start:agent": "cross-env HC_PORT=$(port) UI_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/ioen-micro-ledger.happ --run=$HC_PORT -a ioen-micro-ledger network mdns\" \"npm run playground\"",
"package": "npm run build:happ && npm run package:ui && hc web-app pack workdir",
"package:ui": "npm run build -w ui && cd ui/dist && bestzip ../dist.zip *",
"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.8",
"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",
"bestzip": "^2.2.0"
},
"engines": {
"npm": ">=7.0.0"
}
}