forked from glassbeadsoftware/snapmail-rsm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
68 lines (61 loc) · 4.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
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
{
"name": "delivery-root",
"private": true,
"workspaces": [
"webcomponents",
"playground/webapp"
],
"scripts": {
"version" : "hc --version && holochain --version && lair-keystore --version",
"postinstall" : "",
"install:hc" : "bash scripts/install-hc-tools.sh",
"build:wasm" : "CARGO_TARGET_DIR=target cargo build --release --target wasm32-unknown-unknown",
"build:happ" : "npm run build:wasm && bash scripts/pack-happ.sh",
"build:bindings" : "bash scripts/ts-bindings.sh",
"build:webcomponents" : "npm run build -w @delivery/elements",
"build:playground" : "npm run build -w playground/webapp",
"build:all" : "npm run clean:hc & npm run build:happ && npm run build:bindings && npm run build:webcomponents && npm run build:playground",
"devtest" : "npm run build:all && concurrently \"npm run build:watch -w webcomponents\" \"npm run build:watch -w playground/webapp\" \"npm run start\"",
"watch:webcomponents" : "npm run build:watch -w webcomponents",
"start:happ:mem" : "RUST_LOG=warn echo \"pass\" | hc s --piped -f=$ADMIN_PORT generate secret.happ --run=$HC_PORT -a hSecret network mem",
"start:happ:holo" : "RUST_LOG=trace WASM_LOG=trace echo \"pass\" | hc s --piped -f=$ADMIN_PORT generate secret.happ --run=$HC_PORT -a hSecret network --bootstrap https://bootstrap.holo.host/ webrtc wss://signal.holo.host",
"start:happ:local" : "RUST_LOG=trace WASM_LOG=trace echo \"pass\" | hc s --piped -f=$ADMIN_PORT generate secret.happ --run=$HC_PORT -a hSecret network --bootstrap http://127.0.0.1:$BOOT_PORT webrtc ws://127.0.0.1:$SIGNAL_PORT",
"start" : "cross-env HC_PORT=$(port) ADMIN_PORT=$(port) concurrently \"npm run start:happ:holo\" \"sleep 5 && npm run start:ui -w playground/webapp\"",
"start:local" : "cross-env HC_PORT=$(port) ADMIN_PORT=$(port) concurrently \"npm run start:happ:local\" \"sleep 5 && npm run start:ui -w playground/webapp\"",
"start:mem" : "cross-env HC_PORT=$(port) ADMIN_PORT=$(port) concurrently \"npm run start:happ:mem\" \"sleep 5 && npm run start:ui -w playground/webapp\"",
"start:hc-playground" : "cross-env HC_PORT=$(port) ADMIN_PORT=$(port) concurrently \"npm run hc-playground\" \"npm run start:happ:proxied\" \"sleep 5 && npm run start:ui -w playground/webapp\"",
"serve:run" : "hc run-local-services --bootstrap-port $BOOT_PORT --signal-port $SIGNAL_PORT",
"serve" : "cross-env BOOT_PORT=$(port) SIGNAL_PORT=$(port) concurrently \"npm run serve:run\" \"npm run start:happ:local\"",
"network:local2" : "npm run clean:hc & npm run build:all && cross-env BOOT_PORT=$(port) SIGNAL_PORT=$(port) concurrently \"npm run serve:run\" \"npm run start:local\" \"sleep 1 && npm run start:local\"",
"network:local3" : "npm run clean:hc & cross-env BOOT_PORT=$(port) SIGNAL_PORT=$(port) concurrently \"npm run serve:run\" \"npm run start:local\" \"npm run start:local\" \"npm run start:local\"",
"network" : "concurrently-repeat \"npm run start\"",
"network:mem" : "concurrently-repeat \"npm run start:mem\"",
"network:hc-playground" : "concurrently-repeat \"npm run start:hc-playground\"",
"hc-playground" : "run-singleton \"holochain-playground\"",
"clean:hc" : "rm .hc*",
"clean" : "bash scripts/clean.sh",
"clean:npm" : "bash scripts/clean-npm.sh",
"clean:all" : "npm run clean:hc && npm run clean && npm run clean:npm"
},
"devDependencies": {
"@holochain-playground/cli": "^0.0.8",
"bestzip": "^2.2.0",
"concurrently": "^6.2.1",
"concurrently-repeat": "^0.0.1",
"cross-env": "^7.0.3",
"new-port-cli": "^1.0.0",
"run-singleton-cli": "^0.0.5",
"json-parse-better-errors": "^1.0.2"
},
"dependencies": {
"@ddd-qc/cell-proxy" : "=0.19.6",
"@ddd-qc/lit-happ" : "=0.19.6",
"@holochain-open-dev/core-types": "^0.6.3",
"@holochain/client" : "=0.14.1",
"@lit-labs/context" : "0.2.0",
"lit" : "2.6.0"
},
"engines": {
"npm": ">=7.0.0"
}
}