-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
37 lines (37 loc) · 1.47 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
{
"name": "my-app-dev",
"private": true,
"workspaces": [
"ui",
"tests"
],
"scripts": {
"start": "npm run build:happ && cross-env HC_PORT=$(port) concurrently \"npm run playground\" \"npm run start:happ\" \"npm run start -w ui\"",
"test": "npm run build:happ && npm t -w tests",
"start:happ": "RUST_LOG=warn hc s generate ./example/workdir/example-elo.happ --run=$HC_PORT -a my-app 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": "npm run build:dnas && hc app pack ./example/workdir",
"build:dnas": "npm run build:zomes && hc dna pack ./example/workdir",
"build:zomes": "CARGO_TARGET_DIR=target cargo build --release --target wasm32-unknown-unknown",
"playground": "run-singleton \"holochain-playground\"",
"clean": "npm run clean:node && npm run clean:rust",
"clean:node": "npx rimraf node_modules && npx rimraf ui/node_modules/ && npx rimraf tests/node_modules",
"clean:rust": "npx rimraf .hc* && npx rimraf target && npx rimraf .cargo && npx rimraf Cargo.lock"
},
"devDependencies": {
"@holochain-playground/cli": "^0.0.8",
"bestzip": "^2.2.1",
"concurrently": "^7.2.0",
"cross-env": "^7.0.3",
"new-port-cli": "^1.0.0",
"rimraf": "^3.0.2",
"run-singleton-cli": "^0.0.5"
},
"engines": {
"npm": ">=7.0.0"
},
"dependencies": {
"ts-node": "^10.7.0"
}
}