Files
yawn/package.json
T
Akash Shakdwipeea 3b81926ae1 use channels for comms (#9)
this  refactors the app setup and messaging modules
2025-08-20 21:58:09 +05:30

26 lines
1.1 KiB
JSON

{
"type": "module",
"author": "ecoricemon",
"name": "basic",
"version": "0.1.0",
"scripts": {
"wasm-dev": "RUSTFLAGS='-C target-feature=+atomics,+bulk-memory,+mutable-globals' wasm-pack build --dev --out-name wasm-index --target web . -- --features atomics,bulk-memory -Z build-std=panic_abort,std",
"wasm-release": "RUSTFLAGS='-C target-feature=+atomics,+bulk-memory,+mutable-globals' wasm-pack build --release --out-name wasm-index --target web . -- --features atomics,bulk-memory -Z build-std=panic_abort,std",
"bundle-dev": "vite build --mode development",
"bundle-release": "vite build",
"build": "run-s clean wasm-dev bundle-dev",
"build-release": "run-s clean wasm-release bundle-release",
"start": "vite preview",
"clean": "rimraf --glob dist **/pkg",
"clean-all": "rimraf --glob dist **/pkg target node_modules"
},
"devDependencies": {
"@wasm-tool/wasm-pack-plugin": "^1.7.0",
"vite": "^5.1.6",
"vite-plugin-wasm": "^3.3.0",
"rollup-plugin-copy": "^3.5.0",
"rimraf": "^5.0.1",
"npm-run-all": "^4.1.5"
}
}