forked from GeekGene/mewsfeed
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
52 lines (52 loc) · 2.51 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
{
"name": "mewsfeed",
"private": true,
"version": "0.9.0-alpha",
"workspaces": [
"ui",
"tests"
],
"scripts": {
"start:launcher": "AGENTS=2 npm run network:launcher",
"network:launcher": "hc s clean && npm run build:happ && UI_PORT=8888 concurrently \"npm start -w ui\" \"npm run launch:happ\" \"holochain-playground\"",
"launch:happ": "echo \"pass\" | RUST_LOG=warn hc launch --piped -n $AGENTS workdir/mewsfeed.happ --ui-port $UI_PORT network mdns",
"start": "AGENTS=2 npm run network:browser",
"network:browser": "npm run build:happ && concurrently \"npm run playground\" \"npm run start:agents:browser\"",
"start:agents:browser": "concurrently-repeat \"npm run start:agent:browser\" $AGENTS",
"start:agent:browser": "cross-env HC_PORT=$(port) HC_ADMIN_PORT=$(port) concurrently \"npm run start:happ:browser\" \"sleep 5 && npm run start:browser -w ui\"",
"test": "npm run build:happ && npm t -w tests",
"test:watch": "cargo watch --clear -- npm test",
"start:happ:browser": "hc s clean && echo pass | RUST_LOG=warn hc s --piped -f=$HC_ADMIN_PORT generate ./workdir/mewsfeed.happ --run=$HC_PORT -a mewsfeed network mdns",
"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": "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",
"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"
},
"devDependencies": {
"@holochain-playground/cli": "^0.1.0",
"@typescript-eslint/eslint-plugin": "^5.28.0",
"@typescript-eslint/parser": "^5.17.0",
"bestzip": "^2.2.0",
"concurrently": "^6.2.1",
"concurrently-repeat": "^0.0.1",
"cross-env": "^7.0.3",
"eslint": "^8.7.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-vue": "^8.4.0",
"new-port-cli": "^1.0.0",
"prettier": "^2.6.2",
"rimraf": "^3.0.2",
"run-singleton-cli": "^0.0.7"
},
"engines": {
"npm": ">=7.0.0"
}
}