-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
36 lines (35 loc) · 1.64 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": "ludos-dev",
"private": true,
"workspaces": [
"ui"
],
"scripts": {
"start": "AGENTS=2 npm run network",
"dev": "VITE_ADMIN_PORT=$(port) VITE_APP_PORT=$(port) UI_PORT=8888 npm run x",
"x": "hc s clean && npm run build:happ && UI_PORT=8888 concurrently \"npm start -w ui\" \"npm run start:happ\"",
"network": "hc s clean && npm run build:happ && UI_PORT=8888 concurrently \"npm start -w ui\" \"npm run launch:happ\" \"holochain-playground\"",
"test": "npm run build:zomes && hc app pack workdir --recursive && npm t -w tests",
"launch:happ": "echo \"pass\" | RUST_LOG=warn hc launch --piped -n $AGENTS workdir/ludos.happ --ui-port $UI_PORT network mdns",
"package": "npm run build:happ && npm run package -w ui && hc web-app pack workdir --recursive",
"start:happ": "echo \"starting with admin $VITE_ADMIN_PORT\" && RUST_LOG=warn echo \"pass\" | hc s -f=$VITE_ADMIN_PORT --piped generate workdir/ludos.happ --run=$VITE_APP_PORT -a ludos network mdns",
"build:happ": "npm run build:zomes && hc app pack workdir --recursive",
"build:zomes": "RUSTFLAGS='' CARGO_TARGET_DIR=target cargo build --release --target wasm32-unknown-unknown"
},
"devDependencies": {
"@holochain-playground/cli": "^0.0.11",
"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",
"svelte-check": "^2.0.0",
"svelte-preprocess": "^4.10.7",
"@rollup/plugin-typescript": "^8.0.0",
"typescript": "^4.0.0",
"tslib": "^2.0.0",
"@tsconfig/svelte": "^2.0.0",
"bestzip": "^2.2.0"
}
}