automerge/automerge-wasm/package.json
2022-03-23 09:49:06 -04:00

43 lines
1.4 KiB
JSON

{
"collaborators": [
"Orion Henry <orion@inkandswitch.com>",
"Alex Good <alex@memoryandthought.me>",
"Martin Kleppmann"
],
"name": "automerge-wasm-pack",
"description": "wasm-bindgen bindings to the automerge rust implementation",
"version": "0.0.23",
"license": "MIT",
"files": [
"README.md",
"package.json",
"index.d.ts",
"node/index.js",
"node/index_bg.wasm",
"web/index.js",
"web/index_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 index -d node && cp index.d.ts node",
"release-w": "rimraf ./web && wasm-pack build --target web --release --out-name index -d web && cp index.d.ts web",
"release-n": "rimraf ./node && wasm-pack build --target nodejs --release --out-name index -d node && cp index.d.ts node",
"release": "yarn release-w && yarn release-n",
"test": "yarn build && 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"
}
}