-
Notifications
You must be signed in to change notification settings - Fork 38
Expand file tree
/
Copy pathpackage.json
More file actions
18 lines (18 loc) · 858 Bytes
/
package.json
File metadata and controls
18 lines (18 loc) · 858 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{
"name": "browser-iroh-demo",
"version": "0.1.0",
"scripts": {
"build": "cargo build --target=wasm32-unknown-unknown && wasm-bindgen ./target/wasm32-unknown-unknown/debug/browser_echo.wasm --out-dir=public/wasm --weak-refs --target=web --debug",
"build:release": "cargo build --target=wasm32-unknown-unknown --release && wasm-bindgen ./target/wasm32-unknown-unknown/release/browser_echo.wasm --out-dir=public/wasm --weak-refs --target=web && wasm-opt --enable-nontrapping-float-to-int --enable-bulk-memory -Os -o public/wasm/browser_echo_bg.wasm public/wasm/browser_echo_bg.wasm",
"serve": "http-server --cors -a localhost public/"
},
"author": "n0 team",
"license": "Apache-2.0 OR MIT",
"dependencies": {
"build": "^0.1.4",
"http-server": "^14.1.1",
"npm": "^10.9.3",
"run": "^1.5.0",
"serve": "^14.2.4"
}
}