{
  "name": "microlink",
  "version": "0.3.0",
  "description": "Comlink Alternative. Built with JSON-RPC.",
  "unpkg": "./dist/microlink.bundle.js",
  "jsdelivr": "./dist/microlink.bundle.js",
  "exports": {
    ".": {
      "require": "./cjs/index.js",
      "import": "./esm/index.js"
    },
    "./cjs": "./cjs/index.js",
    "./cjs/index.js": "./cjs/index.js",
    "./cjs/expose.js": "./cjs/expose.js",
    "./cjs/wrap.js": "./cjs/wrap.js",
    "./esm": "./esm/index.js",
    "./esm/index.js": "./esm/index.js",
    "./esm/expose.js": "./esm/expose.js",
    "./esm/wrap.js": "./esm/wrap.js"
  },
  "files": [
    "cjs",
    "esm",
    "dist"
  ],
  "scripts": {
    "build": "npm run build:cjs && npm run build:bundle",
    "build:bundle": "mkdir -p ./dist && npx browserify ./cjs/index.js > ./dist/microlink.bundle.js",
    "build:cjs": "babel --plugins @babel/plugin-transform-modules-commonjs --plugins @babel/plugin-transform-export-namespace-from ./esm/* --out-dir ./cjs",
    "clean": "rm -rf ./cjs/* ./dist/*",
    "format": "npx prettier@latest --arrow-parens=avoid --print-width=200 --trailing-comma=none --write esm test",
    "serve": "npx srvd@latest --debug",
    "test": "npm run test:js && npm run test:build",
    "test:js": "node -r esm ./test/test.js",
    "test:build": "npm run build && node -r ./cjs/index.js -e '' && node -r ./dist/microlink.bundle.js -e ''"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/DanielJDufour/microlink.git"
  },
  "keywords": [
    "comlink",
    "jsonrpc",
    "message",
    "rpc",
    "threads",
    "web",
    "worker"
  ],
  "author": "Daniel J. Dufour",
  "license": "CC0-1.0",
  "bugs": {
    "url": "https://github.com/DanielJDufour/microlink/issues"
  },
  "homepage": "https://github.com/DanielJDufour/microlink#readme",
  "devDependencies": {
    "@babel/cli": "^7.23.4",
    "@babel/core": "^7.23.5",
    "@babel/plugin-transform-export-namespace-from": "^7.23.4",
    "@babel/plugin-transform-modules-commonjs": "^7.23.3",
    "flug": "^2.6.0",
    "mock-worker": "^0.0.1"
  }
}
