shark/fish-server-wasm/package.json

18 lines
598 B
JSON

{
"name": "fish-server-wasm",
"version": "1.0.0",
"description": "Blockfish engine server for wasm / webworkers",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"build-wasm": "cargo build --release && wasm-bindgen target/wasm32-unknown-unknown/release/fish_server_wasm.wasm --out-dir build --target web --no-typescript",
"build-js": "npx esbuild index.js --bundle --outdir=build",
"build": "npm run build-wasm && npm run build-js"
},
"author": "iitalics",
"license": "ISC",
"dependencies": {
"esbuild": "^0.20.1"
}
}