117 lines
3.3 KiB
JSON
117 lines
3.3 KiB
JSON
{
|
|
"name": "@libp2p/crypto",
|
|
"version": "5.1.21",
|
|
"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",
|
|
"module-sync": "./dist/src/index.js"
|
|
},
|
|
"./ciphers": {
|
|
"types": "./dist/src/ciphers/index.d.ts",
|
|
"import": "./dist/src/ciphers/index.js",
|
|
"module-sync": "./dist/src/ciphers/index.js"
|
|
},
|
|
"./hmac": {
|
|
"types": "./dist/src/hmac/index.d.ts",
|
|
"import": "./dist/src/hmac/index.js",
|
|
"module-sync": "./dist/src/hmac/index.js"
|
|
},
|
|
"./keys": {
|
|
"types": "./dist/src/keys/index.d.ts",
|
|
"import": "./dist/src/keys/index.js",
|
|
"module-sync": "./dist/src/keys/index.js"
|
|
},
|
|
"./webcrypto": {
|
|
"types": "./dist/src/webcrypto/index.d.ts",
|
|
"import": "./dist/src/webcrypto/index.js",
|
|
"module-sync": "./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": "^3.2.5",
|
|
"@noble/curves": "^2.0.1",
|
|
"@noble/hashes": "^2.0.1",
|
|
"multiformats": "^14.0.0",
|
|
"protons-runtime": "^7.0.0",
|
|
"uint8arraylist": "^3.0.2",
|
|
"uint8arrays": "^6.1.1"
|
|
},
|
|
"devDependencies": {
|
|
"@types/mocha": "^10.0.10",
|
|
"aegir": "^48.1.1",
|
|
"asn1js": "^3.0.6",
|
|
"benchmark": "^2.1.4",
|
|
"protons": "^9.0.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"
|
|
},
|
|
"sideEffects": false
|
|
}
|