Operand

consumer? no; user.

gram: essay

> ./src/vendor/automerge-wasm/package.json

Lenses
(coming soon!)


{
  "collaborators": [
    "Orion Henry <orion@inkandswitch.com>",
    "Alex Good <alex@memoryandthought.me>",
    "Martin Kleppmann"
  ],
  "name": "@automerge/automerge-wasm",
  "description": "peter's vendored wasm-bindgen bindings to the automerge rust implementation",
  "homepage": "https://github.com/automerge/automerge/tree/main/rust/automerge-wasm",
  "repository": "github:automerge/automerge",
  "version": "0.3.0",
  "license": "MIT",
  "files": [
    "README.md",
    "LICENSE",
    "package.json",
    "index.d.ts",
    "web/automerge_wasm_bg.wasm",
    "web/automerge_wasm_bg.js",
    "web/index.js"
  ],
  "private": false,
  "types": "index.d.ts",
  "module": "./web/automerge_wasm.js",
  "main": "./nodejs/automerge_wasm.cjs",
  "scripts": {
    "lint": "eslint test/*.ts index.d.ts",
    "debug": "cross-env PROFILE=dev TARGET_DIR=debug yarn buildall",
    "dev": "cross-env PROFILE=dev TARGET_DIR=debug FEATURES='' TARGET=nodejs yarn target",
    "build": "cross-env PROFILE=dev TARGET_DIR=debug FEATURES='' yarn buildall",
    "release": "cross-env PROFILE=release TARGET_DIR=release yarn buildall",
    "buildall": "cross-env TARGET=nodejs yarn target && cross-env TARGET=bundler yarn target && cross-env TARGET=deno yarn target && TARGET=web yarn target && node -e \"require('fs').cpSync('./src/export-web-wasm.js', './web/index.js')\" && node ./fixup-node-cjs.mjs",
    "target": "rimraf ./$TARGET && yarn compile && yarn bindgen && yarn opt",
    "compile": "cargo build --target wasm32-unknown-unknown --profile $PROFILE",
    "bindgen": "wasm-bindgen --no-typescript --weak-refs --target $TARGET --out-dir $TARGET ../target/wasm32-unknown-unknown/$TARGET_DIR/automerge_wasm.wasm",
    "opt": "echo wasm-opt -O4 $TARGET/automerge_wasm_bg.wasm -o $TARGET/automerge_wasm_bg.wasm",
    "test": "mocha --loader=ts-node/esm test/**/*.mts"
  },
  "devDependencies": {
    "@types/mocha": "^10.0.1",
    "@types/node": "^18.11.13",
    "@types/uuid": "^9.0.1",
    "@typescript-eslint/eslint-plugin": "^5.46.0",
    "@typescript-eslint/parser": "^5.46.0",
    "cross-env": "^7.0.3",
    "eslint": "^8.29.0",
    "fast-sha256": "^1.3.0",
    "mocha": "^10.2.0",
    "pako": "^2.1.0",
    "rimraf": "^3.0.2",
    "ts-mocha": "^10.0.0",
    "ts-node": "^10.9.1",
    "typescript": "^4.9.4",
    "uuid": "^9.0.0"
  },
  "exports": {
    "types": "index.d.ts",
    "workerd": "./web/index.js",
    "browser": "./web/index.js",
    "require": "./nodejs/automerge_wasm.cjs",
    "import": "./nodejs/automerge_wasm.cjs"
  }
}