{
  "name": "@digitalbazaar/minimal-cipher",
  "version": "6.1.1",
  "description": "Minimal encryption/decryption JWE library.",
  "license": "BSD-3-Clause",
  "type": "module",
  "exports": "./lib/index.js",
  "browser": {
    "./lib/algorithms/c20p.js": "./lib/algorithms/c20p-browser.js",
    "./lib/algorithms/x25519-helper.js": "./lib/algorithms/x25519-helper-browser.js",
    "./lib/crypto.js": "./lib/crypto-browser.js"
  },
  "files": [
    "lib/**/*.js"
  ],
  "scripts": {
    "test": "npm run test-node",
    "test-node": "cross-env NODE_ENV=test mocha -t 30000 -R ${REPORTER:-spec} --require test/node.js test/unit/index.js",
    "test-karma": "cd test && karma start karma.conf.cjs",
    "coverage": "cross-env NODE_ENV=test c8 npm run test-node",
    "coverage-ci": "cross-env NODE_ENV=test c8 --reporter=lcovonly --reporter=text-summary --reporter=text npm run test-node",
    "coverage-report": "c8 report",
    "lint": "eslint ."
  },
  "dependencies": {
    "@digitalbazaar/ecdsa-multikey": "^1.8.0",
    "@noble/curves": "^2.2.0",
    "@stablelib/chacha": "^2.0.1",
    "@stablelib/chacha20poly1305": "^2.0.1",
    "base58-universal": "^2.0.0",
    "base64url-universal": "^2.0.0"
  },
  "devDependencies": {
    "@digitalbazaar/did-io": "^2.2.0",
    "@digitalbazaar/did-method-key": "^5.3.0",
    "@digitalbazaar/ed25519-verification-key-2020": "^4.2.0",
    "@digitalbazaar/eslint-config": "^8.0.1",
    "@digitalbazaar/x25519-key-agreement-key-2020": "^3.0.1",
    "c8": "^11.0.0",
    "chai": "^4.5.0",
    "cross-env": "^10.1.0",
    "eslint": "^9.39.4",
    "karma": "^6.4.4",
    "karma-chai": "^0.1.0",
    "karma-chrome-launcher": "^3.2.0",
    "karma-mocha": "^2.0.1",
    "karma-mocha-reporter": "^2.2.5",
    "karma-sourcemap-loader": "^0.4.0",
    "karma-webpack": "^5.0.1",
    "mocha": "^11.7.6",
    "mocha-lcov-reporter": "^1.3.0",
    "tweetnacl": "^1.0.3",
    "webpack": "^5.107.2"
  },
  "repository": {
    "type": "git",
    "url": "https://github.com/digitalbazaar/minimal-cipher"
  },
  "keywords": [
    "cipher",
    "encryption",
    "decryption",
    "jwe",
    "cwe",
    "ChaCha20Poly1305",
    "XChaCha20Poly1305",
    "AES-GCM"
  ],
  "author": {
    "name": "Digital Bazaar, Inc.",
    "email": "support@digitalbazaar.com",
    "url": "https://digitalbazaar.com/"
  },
  "bugs": {
    "url": "https://github.com/digitalbazaar/minimal-cipher/issues"
  },
  "homepage": "https://github.com/digitalbazaar/minimal-cipher",
  "c8": {
    "reporter": [
      "lcov",
      "text-summary",
      "test"
    ]
  },
  "engines": {
    "node": ">=22"
  }
}
