forked from holochain-apps/how
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
36 lines (36 loc) · 2.14 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
{
"name": "how-dev",
"private": true,
"workspaces": [
"ui/apps/*",
"ui/lib",
"tests"
],
"scripts": {
"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) concurrently \"npm run dev:libs\" \"npm run start:happ\" \"sleep 5 && npm run start -w how\"",
"dev:libs": "npm run build:watch -w @how/elements",
"start-proxied": "npm run build:happ && npm run build -w @how/elements && cross-env HC_PORT=$(port) concurrently -k \"npm run start:happ-proxied\" \"npm run start -w how\"",
"start-rerun": "cross-env HC_PORT=8888 concurrently -k \"npm run build:watch -w @how/elements\" \"hc s run 0 -p 8888\" \"npm run start -w how\"",
"prepare": "npm run build -w @how/elements && npm run build -w how",
"test": "npm run build:happ && npm run build -w @how/elements && npm t -w tests",
"start:happ": "rimraf .hc* && RUST_LOG=warn hc s generate ./dna/workdir/happ/how.happ --run=$HC_PORT -a how network mdns",
"start:happ-proxied": "rimraf .hc* && RUST_LOG=warn hc s generate ./dna/workdir/happ/how.happ --run=$HC_PORT -a how network --bootstrap https://bootstrap-staging.holo.host/ quic -p=kitsune-proxy://SYVd4CF3BdJ4DS7KwLLgeU3_DbHoZ34Y-qroZ79DOs8/kitsune-quic/h/165.22.32.11/p/5779/--",
"package": "npm run build:happ && npm run build -w @how/elements && npm run package -w how && hc web-app pack workdir",
"build:happ": "npm run build:dna && hc app pack ./dna/workdir/happ",
"build:dna": "npm run build:zome && hc dna pack ./dna/workdir/dna",
"build:zome": "CARGO_TARGET_DIR=target cargo build --release --target wasm32-unknown-unknown",
"clean": "npm run clean:node && npm run clean:rust",
"clean:node": "rimraf node_modules && rimraf ui/apps/how/node_modules/ && rimraf ui/lib/node_modules && rimraf test/node_modules",
"clean:rust": "rimraf target && rimraf .cargo"
},
"devDependencies": {
"concurrently": "^6.2.1",
"concurrently-repeat": "^0.0.1",
"cross-env": "^7.0.3",
"json-parse-better-errors": "^1.0.2",
"new-port-cli": "^1.0.0",
"rimraf": "^3.0.2"
}
}