{
  "name": "uhooks",
  "version": "0.4.0",
  "description": "micro hooks: a minimalistic client/server hooks' implementation",
  "main": "./cjs/index.js",
  "scripts": {
    "build": "npm run cjs && npm run espruino && npm run rollup:index && npm run rollup:es && npm run rollup:async && npm run rollup:esm && npm run test && npm run size",
    "cjs": "ascjs --no-default esm cjs",
    "espruino": "node -e 'console.log(require(`fs`).readFileSync(`esm/e.js`).toString().replace(/^ *\\/\\/.*\\n/gm,``).replace(/export.*/,``).trim())'>e.js",
    "rollup:async": "rollup --config rollup/async.config.js && sed -i.bck 's/^var /self./' async.js && rm -rf async.js.bck",
    "rollup:esm": "rollup --config rollup/esm.config.js",
    "rollup:es": "rollup --config rollup/es.config.js && sed -i.bck 's/^var /self./' es.js && rm -rf es.js.bck",
    "rollup:index": "rollup --config rollup/index.config.js && sed -i.bck 's/^var /self./' index.js && rm -rf index.js.bck",
    "coveralls": "c8 report --reporter=text-lcov | coveralls",
    "size": "echo 'async ES6' && cat async.js | brotli | wc -c && echo '' && echo 'sync ESM / ES6' && cat esm.js | brotli | wc -c && cat es.js | brotli | wc -c && echo '' && echo 'espruino' && cat e.js | brotli | wc -c",
    "test": "c8 node test/e.js && c8 node test/index.js"
  },
  "keywords": [
    "hooks",
    "lightweight",
    "minimal",
    "client",
    "server"
  ],
  "author": "Andrea Giammarchi",
  "license": "ISC",
  "devDependencies": {
    "@rollup/plugin-node-resolve": "^13.3.0",
    "@ungap/degap": "^0.2.8",
    "ascjs": "^5.0.1",
    "c8": "^7.11.3",
    "coveralls": "^3.1.1",
    "rollup": "^2.74.1",
    "rollup-plugin-terser": "^7.0.2"
  },
  "module": "./esm/index.js",
  "type": "module",
  "exports": {
    ".": {
      "import": "./esm/index.js",
      "default": "./cjs/index.js"
    },
    "./async": {
      "import": "./esm/async.js",
      "default": "./cjs/async.js"
    },
    "./e": {
      "import": "./esm/e.js",
      "default": "./cjs/e.js"
    },
    "./extras": {
      "import": "./esm/extras.js",
      "default": "./cjs/extras.js"
    },
    "./package.json": "./package.json"
  },
  "unpkg": "esm.js",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/WebReflection/uhooks.git"
  },
  "bugs": {
    "url": "https://github.com/WebReflection/uhooks/issues"
  },
  "homepage": "https://github.com/WebReflection/uhooks#readme"
}
