-
Notifications
You must be signed in to change notification settings - Fork 521
Expand file tree
/
Copy pathpackage.json
More file actions
113 lines (113 loc) · 3.12 KB
/
package.json
File metadata and controls
113 lines (113 loc) · 3.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
{
"name": "@libp2p/crypto",
"version": "5.1.13",
"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": "^3.1.0",
"@noble/curves": "^2.0.1",
"@noble/hashes": "^2.0.1",
"multiformats": "^13.4.0",
"protons-runtime": "^6.0.1",
"uint8arraylist": "^2.4.8",
"uint8arrays": "^5.1.0"
},
"devDependencies": {
"@types/mocha": "^10.0.10",
"aegir": "^47.0.22",
"asn1js": "^3.0.6",
"benchmark": "^2.1.4",
"protons": "^8.1.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
}