{
  "name": "simple-hpke",
  "version": "0.3.1",
  "description": "Hybrid Public Key Encryption",
  "type": "module",
  "files": [
    "./dist/*"
  ],
  "exports": {
    ".": {
      "import": "./dist/index.js",
      "require": "./dist/index.cjs"
    },
    "./*": {
      "import": [
        "./dist/*.js",
        "./dist/*"
      ],
      "require": [
        "./dist/*.cjs",
        "./dist/*"
      ]
    }
  },
  "scripts": {
    "lint": "eslint \"./**/*.{ts,js}\"",
    "test": "npm run build && esbuild ./test/index.ts --bundle | tapout",
    "test:node": "esbuild ./test/node.ts --bundle --platform=node --format=esm --external:tweetnacl --outfile=./test/node.mjs && node ./test/node.mjs",
    "build-cjs": "esbuild src/*.ts --bundle --format=cjs --keep-names --tsconfig=tsconfig.build.json --outdir=./dist --out-extension:.js=.cjs --sourcemap",
    "build-cjs:min": "esbuild src/*.ts --bundle --format=cjs --minify --keep-names --tsconfig=tsconfig.build.json --outdir=./dist --out-extension:.js=.min.cjs --sourcemap",
    "build-esm": "esbuild src/*.ts --bundle --format=esm --metafile=dist/meta.json --keep-names --tsconfig=tsconfig.build.json --outdir=./dist --sourcemap && tsc --emitDeclarationOnly --project tsconfig.build.json --outDir dist",
    "build-esm:min": "esbuild ./src/*.ts --format=esm --keep-names --bundle --tsconfig=tsconfig.build.json --minify --out-extension:.js=.min.js --outdir=./dist --sourcemap",
    "build-docs": "typedoc ./src/index.ts",
    "build": "mkdir -p ./dist && rm -rf ./dist/* && npm run build-cjs && npm run build-esm && npm run build-esm:min && npm run build-cjs:min",
    "toc": "markdown-toc --maxdepth 5 -i README.md",
    "preversion": "npm run lint",
    "version": "npm run toc && auto-changelog -p --template keepachangelog --breaking-pattern 'BREAKING CHANGE:' && git add CHANGELOG.md README.md",
    "postversion": "git push --follow-tags && npm publish",
    "prepublishOnly": "npm run build"
  },
  "dependencies": {
    "uint8arrays": "^5.1.1"
  },
  "devDependencies": {
    "@substrate-system/debug": "^0.9.64",
    "@substrate-system/keys": "^0.2.43",
    "@substrate-system/tapout": "^0.0.40",
    "@substrate-system/tapzero": "^0.10.16",
    "auto-changelog": "^2.4.0",
    "esbuild": "^0.28.1",
    "eslint": "^10.6.0",
    "markdown-toc": "^1.2.0",
    "newneostandard": "^0.14.1",
    "typedoc": "^0.28.20",
    "typescript": "^6.0.3",
    "typescript-eslint": "^8.63.0"
  },
  "main": "dist/index.js",
  "types": "./dist/index.d.ts",
  "directories": {
    "doc": "docs",
    "example": "example",
    "test": "test"
  },
  "keywords": [
    "HPKE",
    "crypto",
    "browser"
  ],
  "homepage": "https://github.com/vanishing-page/simple-hpke",
  "bugs": {
    "url": "https://github.com/vanishing-page/simple-hpke/issues"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/vanishing-page/simple-hpke.git"
  },
  "license": "SEE LICENSE IN LICENSE",
  "author": "nichoth <nichoth@nichoth.com> (https://nichoth.com)"
}
