automerge/automerge-wasm/package.json
2021-12-15 19:07:39 -05:00

30 lines
976 B
JSON

{
"collaborators": [
"Orion Henry <orion@inkandswitch.com>",
"Alex Good <alex@memoryandthought.me>",
"Martin Kleppmann"
],
"name": "automerge-wasm",
"description": "wasm-bindgen bindings to the automerge rust implementation",
"version": "0.1.0",
"license": "MIT",
"files": [
"README.md",
"LICENSE",
"package.json",
"automerge_wasm_bg.wasm",
"automerge_wasm.js"
],
"main": "./dev/index.js",
"scripts": {
"build": "rm -rf dev && wasm-pack build --target nodejs --dev --out-name index -d dev",
"release": "rm -rf dev && wasm-pack build --target nodejs --release --out-name index -d dev && yarn opt",
"prof": "rm -rf dev && wasm-pack build --target nodejs --profiling --out-name index -d dev",
"opt": "wasm-opt -Oz dev/index_bg.wasm -o tmp.wasm && mv tmp.wasm dev/index_bg.wasm",
"test": "yarn build && mocha --bail --full-trace"
},
"dependencies": {},
"devDependencies": {
"mocha": "^9.1.3"
}
}