UNPKG

@libp2p/crypto

Version:
114 lines (113 loc) 3.19 kB
{ "name": "@libp2p/crypto", "version": "5.1.7", "description": "Crypto primitives for libp2p", "license": "Apache-2.0 OR MIT", "homepage": "https://github.com/libp2p/js-libp2p/tree/main/packages/crypto#readme", "repository": { "type": "git", "url": "git+https://github.com/libp2p/js-libp2p.git" }, "bugs": { "url": "https://github.com/libp2p/js-libp2p/issues" }, "publishConfig": { "access": "public", "provenance": true }, "keywords": [ "IPFS", "crypto", "libp2p", "rsa", "secp256k1" ], "type": "module", "types": "./dist/src/index.d.ts", "typesVersions": { "*": { "*": [ "*", "dist/*", "dist/src/*", "dist/src/*/index" ], "src/*": [ "*", "dist/*", "dist/src/*", "dist/src/*/index" ] } }, "files": [ "src", "dist", "!dist/test", "!**/*.tsbuildinfo" ], "exports": { ".": { "types": "./dist/src/index.d.ts", "import": "./dist/src/index.js" }, "./ciphers": { "types": "./dist/src/ciphers/index.d.ts", "import": "./dist/src/ciphers/index.js" }, "./hmac": { "types": "./dist/src/hmac/index.d.ts", "import": "./dist/src/hmac/index.js" }, "./keys": { "types": "./dist/src/keys/index.d.ts", "import": "./dist/src/keys/index.js" }, "./webcrypto": { "types": "./dist/src/webcrypto/index.d.ts", "import": "./dist/src/webcrypto/index.js" } }, "scripts": { "clean": "aegir clean", "lint": "aegir lint", "dep-check": "aegir dep-check", "doc-check": "aegir doc-check", "build": "aegir build", "test": "aegir test", "test:chrome": "aegir test -t browser", "test:chrome-webworker": "aegir test -t webworker", "test:firefox": "aegir test -t browser -- --browser firefox", "test:firefox-webworker": "aegir test -t webworker -- --browser firefox", "test:webkit": "aegir test -t browser -- --browser webkit", "test:node": "aegir test -t node --cov", "test:electron-main": "aegir test -t electron-main", "generate": "protons ./src/keys/keys.proto" }, "dependencies": { "@libp2p/interface": "^2.10.5", "@noble/curves": "^1.9.1", "@noble/hashes": "^1.8.0", "multiformats": "^13.3.6", "protons-runtime": "^5.5.0", "uint8arraylist": "^2.4.8", "uint8arrays": "^5.1.0" }, "devDependencies": { "@types/mocha": "^10.0.10", "aegir": "^47.0.14", "asn1js": "^3.0.6", "benchmark": "^2.1.4", "protons": "^7.6.1" }, "browser": { "./dist/src/ciphers/aes-gcm.js": "./dist/src/ciphers/aes-gcm.browser.js", "./dist/src/hmac/index.js": "./dist/src/hmac/index.browser.js", "./dist/src/keys/ecdh/index.js": "./dist/src/keys/ecdh/index.browser.js", "./dist/src/keys/ed25519/index.js": "./dist/src/keys/ed25519/index.browser.js", "./dist/src/keys/rsa/index.js": "./dist/src/keys/rsa/index.browser.js", "./dist/src/keys/secp256k1/index.js": "./dist/src/keys/secp256k1/index.browser.js", "./dist/src/webcrypto/webcrypto.js": "./dist/src/webcrypto/webcrypto.browser.js" }, "sideEffects": false }