-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathpackage.json
50 lines (50 loc) · 1.88 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
{
"name": "@holochain-syn/dev",
"private": true,
"scripts": {
"start": "AGENTS=2 BOOTSTRAP_PORT=$(port) SIGNAL_PORT=$(port) npm run network",
"network": "hc s clean && npm run build:happ && UI_PORT=8887 concurrently \"npm run dev:libs\" \"npm run launch:happ\" \"npm start -w demo\"",
"launch:happ": "concurrently \"hc-spin -n $AGENTS workdir/syn-test.happ --ui-port $UI_PORT \"",
"dev:libs": "concurrently \"npm run build:watch -w @holochain-syn/client\" \"npm run build:watch -w @holochain-syn/store\" \"npm run build:watch -w @holochain-syn/core\" \"npm run build:watch -w @holochain-syn/text-editor\"",
"prepare": "npm run build:libs",
"build:libs": "npm run build -w @holochain-syn/client -w @holochain-syn/store -w @holochain-syn/core -w @holochain-syn/text-editor",
"build:ui": "npm run build -w syntext",
"test": "npm run build:happ && npm run build:libs && npm test -w tests",
"build:happ": "npm run build:dna && hc app pack workdir",
"build:dna": "npm run build:zome && hc dna pack workdir",
"build:zome": "CARGO_TARGET_DIR=target cargo build --release --target wasm32-unknown-unknown",
"docs:dev": "vitepress dev docs",
"docs:build": "vitepress build docs",
"docs:preview": "vitepress preview docs"
},
"workspaces": [
"packages/client",
"packages/store",
"packages/core",
"packages/text-editor",
"tests",
"docs",
"demo"
],
"devDependencies": {
"@holochain/hc-spin": "^0.300.2",
"concurrently": "^6.2.1",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.3.0",
"lint-staged": "^11.1.2",
"new-port-cli": "^1.0.0",
"prettier": "^2.3.2",
"typescript": "^4.9.4",
"vitepress": "^1.0.0-rc.32"
},
"eslintConfig": {
"extends": [
"@open-wc/eslint-config",
"eslint-config-prettier"
]
},
"prettier": {
"singleQuote": true,
"arrowParens": "avoid"
}
}