{
  "name": "@digitalcredentials/x25519-key-agreement-key-2020",
  "version": "3.0.0",
  "description": "An X25519 (Curve25519) DH (Diffie-Hellman) key implementation to work with the X25519 2020 Crypto suite.",
  "homepage": "https://github.com/digitalcredentials/x25519-key-agreement-key-2020",
  "repository": {
    "type": "git",
    "url": "https://github.com/digitalcredentials/x25519-key-agreement-key-2020"
  },
  "license": "BSD-3-Clause",
  "files": [
    "dist",
    "lib",
    "rollup.config.js",
    "build-dist.sh",
    "README.md",
    "LICENSE"
  ],
  "main": "dist/index.js",
  "module": "dist/esm/index.js",
  "exports": {
    ".": {
      "require": "./dist/index.js",
      "import": "./dist/esm/index.js"
    },
    "./package.json": "./package.json"
  },
  "dependencies": {
    "@digitalcredentials/base58-universal": "^1.0.0",
    "@noble/ed25519": "^1.6.0",
    "crypto-ld": "^6.0.0",
    "tweetnacl": "^1.0.3"
  },
  "devDependencies": {
    "@babel/core": "^7.13.8",
    "@babel/plugin-transform-modules-commonjs": "^7.13.8",
    "@babel/plugin-transform-runtime": "^7.13.9",
    "@babel/preset-env": "^7.13.9",
    "@babel/runtime": "^7.13.9",
    "@digitalbazaar/x25519-key-agreement-key-2019": "^5.0.1",
    "@digitalcredentials/ed25519-verification-key-2020": "^1.0.1",
    "babel-loader": "^8.2.2",
    "chai": "^4.3.3",
    "cross-env": "^7.0.3",
    "eslint": "^7.21.0",
    "eslint-config-digitalbazaar": "^2.6.1",
    "eslint-plugin-jsdoc": "^32.2.0",
    "esm": "^3.2.25",
    "karma": "^6.1.1",
    "karma-babel-preprocessor": "^8.0.1",
    "karma-chai": "^0.1.0",
    "karma-chrome-launcher": "^3.1.0",
    "karma-mocha": "^2.0.1",
    "karma-mocha-reporter": "^2.2.5",
    "karma-sourcemap-loader": "^0.3.8",
    "karma-webpack": "^5.0.0",
    "mocha": "^8.3.1",
    "mocha-lcov-reporter": "^1.3.0",
    "nyc": "^15.1.0",
    "rimraf": "^3.0.2",
    "rollup": "^2.47.0",
    "webpack": "^5.24.3"
  },
  "nyc": {
    "exclude": [
      "tests"
    ],
    "reporter": [
      "html",
      "text-summary"
    ]
  },
  "browser": {
    "buffer": false,
    "crypto": false,
    "util": false,
    "./lib/crypto.js": "./lib/crypto-browser.js",
    "./dist/crypto.js": "./dist/crypto-browser.js"
  },
  "react-native": {
    "buffer": false,
    "crypto": false,
    "util": false,
    "./lib/crypto.js": "./lib/crypto-nacl.js",
    "./dist/crypto.js": "./dist/crypto-nacl.js"
  },
  "engines": {
    "node": ">=12"
  },
  "keywords": [
    "Decentralized",
    "Linked Data"
  ],
  "scripts": {
    "rollup": "rollup -c rollup.config.js",
    "build": "npm run clear && npm run rollup && ./build-dist.sh",
    "clear": "rimraf dist/ && mkdir dist",
    "prepare": "npm run build",
    "rebuild": "npm run clear && npm run build",
    "test": "npm run lint && npm run test-node && npm run test-karma",
    "test-node": "cross-env NODE_ENV=test mocha -r esm --preserve-symlinks -t 10000 test/*.spec.js",
    "test-karma": "karma start karma.conf.js",
    "coverage": "cross-env NODE_ENV=test nyc --reporter=lcov --reporter=text-summary npm run test-node",
    "coverage-ci": "cross-env NODE_ENV=test nyc --reporter=text-lcov npm run test-node > coverage.lcov",
    "coverage-report": "nyc report",
    "lint": "eslint ."
  }
}
