-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathpackage.json
64 lines (64 loc) · 3.97 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
{
"name": "mewsfeed",
"private": true,
"version": "0.12.0-dev.0",
"workspaces": [
"ui",
"tests"
],
"scripts": {
"start": "AGENTS=1 npm run network",
"local-services": "hc run-local-services --bootstrap-interface $INTERNAL_IP --bootstrap-port $BOOTSTRAP_PORT --signal-interfaces $INTERNAL_IP --signal-port $SIGNAL_PORT",
"network": "npm run build:happ && BOOTSTRAP_PORT=$(port) SIGNAL_PORT=$(port) INTERNAL_IP=$(internal-ip --ipv4) concurrently -k \"npm run local-services\" \"UI_PORT=1420 npm run -w ui start\" \"UI_PORT=1420 npm run launch\"",
"start:agent": "HC_PORT=$(get-port) HC_ADMIN_PORT=$(get-port) concurrently \"npm run launch:happ\" \"npm run start:browser -w ui\"",
"launch": "hc-spin -n $AGENTS --ui-port $UI_PORT workdir/mewsfeed.happ",
"start:launcher": "VITE_IS_LAUNCHER=true AGENTS=2 npm run network:launcher",
"network:launcher": "hc s clean && npm run build:happ && UI_PORT=8888 concurrently \"npm run local-services\" \"npm start -w ui\" \"npm run launch:happ:launcher\" \"holochain-playground\"",
"launch:happ:launcher": "echo \"pass\" | RUST_LOG=warn hc launch --piped -n $AGENTS workdir/mewsfeed.happ --ui-port $UI_PORT network -b http://127.0.0.1:54000 webrtc ws://127.0.0.1:55000",
"launch:happ:electron": "hc-spin -n 1k --ui-path=./ui workdir/mewsfeed.happ",
"start:agent:holo": "npm run build:happ && concurrently \"echo pass | lair-keystore server\" \"./holo-dev-server ./workdir/mewsfeed.happ\" \"sleep 15 && VITE_IS_HOLO_HOSTED=true VITE_CHAPERONE_SERVER_URL=http://127.0.0.1:24274 UI_PORT=5432 npm -w ui run start\"",
"test": "npm run build:happ && npm t -w tests",
"test:watch": "cargo watch --clear -- npm test",
"package": "npm run build:happ && VITE_IS_LAUNCHER=true npm run package:ui && hc web-app pack workdir",
"package:ui": "npm run build -w ui && cd ui/dist && bestzip ../dist.zip *",
"package:holo": "npm run build:happ && npm run package:ui && hc web-app pack workdir",
"build:happ": "rm -f dnas/**/workdir/*.dna && npm run build:dnas && hc app pack ./workdir",
"build:dnas": "npm run build:zomes && hc dna pack ./dnas/mewsfeed/workdir",
"build:zomes": "CARGO_TARGET_DIR=target cargo build --release --target wasm32-unknown-unknown --workspace --exclude mewsfeed",
"playground": "run-singleton \"holochain-playground\"",
"lint": "eslint --fix --ext .ts tests --ext .ts ui/src --ext .vue ui/src",
"cargo:clippy": "cargo clippy --all-targets --all-features -- -D warnings",
"cargo:clippy:watch": "cargo watch --clear -- npm run cargo:clippy",
"cargo:fmt": "cargo fmt",
"cargo:fmt:check": "cargo fmt --check",
"network:android": "npm run build:happ && BOOTSTRAP_PORT=$(port) SIGNAL_PORT=$(port) INTERNAL_IP=$(internal-ip --ipv4) concurrently -k \"npm run local-services\" \"UI_PORT=1420 npm run -w mewsfeed-ui-vue start\" \"npm run tauri dev\" \"npm run tauri android dev\"",
"start:android": "npm run package && BOOTSTRAP_PORT=$(port) SIGNAL_PORT=$(port) INTERNAL_IP=$(internal-ip --ipv4) concurrently -k \"npm run local-services\" \"UI_PORT=1420 npm run -w ui start\" \"npm run launch:android\"",
"launch:android": "tauri android dev",
"launch:tauri": "concurrently-repeat \"npm run tauri dev --no-watch\" $AGENTS",
"tauri": "tauri"
},
"devDependencies": {
"@holochain-playground/cli": "^0.1.1",
"@holochain/hc-spin": "^0.400.0-dev.3",
"@tauri-apps/cli": "^2.0.0-rc",
"@typescript-eslint/eslint-plugin": "^5.59.5",
"@typescript-eslint/parser": "^5.59.5",
"bestzip": "^2.2.1",
"concurrently": "^8.2.2",
"concurrently-repeat": "^0.0.1",
"cross-env": "^7.0.3",
"eslint": "^8.40.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-vue": "^8.7.1",
"get-port-cli": "github:mattyg/get-port-cli#main",
"internal-ip-cli": "^2.0.0",
"new-port-cli": "^1.0.0",
"prettier": "^2.8.8",
"rimraf": "^3.0.2",
"run-singleton-cli": "^0.0.7"
},
"engines": {
"npm": ">=7.0.0"
}
}