34 lines
1.2 KiB
JSON
34 lines
1.2 KiB
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": "rimraf ./dev && wasm-pack build --target nodejs --dev --out-name index -d dev",
|
|
"release": "rimraf ./dev && wasm-pack build --target nodejs --release --out-name index -d dev && yarn opt",
|
|
"pkg": "rimraf ./pkg && wasm-pack build --target web --release --out-name index -d pkg && cd pkg && yarn pack && mv automerge-wasm*tgz ..",
|
|
"prof": "rimraf ./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",
|
|
"pako": "^2.0.4",
|
|
"fast-sha256": "^1.3.0",
|
|
"rimraf": "^3.0.2"
|
|
}
|
|
}
|