45 lines
1.4 KiB
JSON
45 lines
1.4 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.0.1",
|
|
"license": "MIT",
|
|
"files": [
|
|
"README.md",
|
|
"package.json",
|
|
"index.d.ts",
|
|
"node/index.js",
|
|
"node/bindgen.js",
|
|
"node/bindgen_bg.wasm",
|
|
"web/index.js",
|
|
"web/bindgen.js",
|
|
"web/bindgen_bg.wasm"
|
|
],
|
|
"types": "index.d.ts",
|
|
"module": "./web/index.js",
|
|
"main": "./node/index.js",
|
|
"scripts": {
|
|
"build": "rimraf ./node && wasm-pack build --target nodejs --dev --out-name bindgen -d node && cp node-index.js node/index.js",
|
|
"release-w": "rimraf ./web && wasm-pack build --target web --release --out-name bindgen -d web && cp web-index.js web/index.js",
|
|
"release-n": "rimraf ./node && wasm-pack build --target nodejs --release --out-name bindgen -d node && cp node-index.js node/index.js",
|
|
"release": "yarn release-w && yarn release-n",
|
|
"test": "ts-mocha -p tsconfig.json --type-check --bail --full-trace test/*.ts"
|
|
},
|
|
"dependencies": {},
|
|
"devDependencies": {
|
|
"@types/expect": "^24.3.0",
|
|
"@types/jest": "^27.4.0",
|
|
"@types/mocha": "^9.1.0",
|
|
"@types/node": "^17.0.13",
|
|
"fast-sha256": "^1.3.0",
|
|
"mocha": "^9.1.3",
|
|
"pako": "^2.0.4",
|
|
"rimraf": "^3.0.2",
|
|
"ts-mocha": "^9.0.2",
|
|
"typescript": "^4.5.5"
|
|
}
|
|
}
|