forked from ChainSafe/js-libp2p-noise
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
122 lines (121 loc) · 3.47 KB
/
package.json
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
114
115
116
117
118
119
120
121
122
{
"name": "@dao-xyz/libp2p-noise",
"version": "14.1.2",
"license": "Apache-2.0 OR MIT",
"homepage": "https://github.com/dao-xyz/js-libp2p-noise#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/dao-xyz/js-libp2p-noise.git"
},
"bugs": {
"url": "https://github.com/dao-xyz/js-libp2p-noise/issues"
},
"keywords": [
"crypto",
"libp2p",
"noise"
],
"engines": {
"node": ">=16.0.0",
"npm": ">=7.0.0"
},
"type": "module",
"types": "./dist/src/index.d.ts",
"files": [
"src",
"dist",
"!dist/test",
"!**/*.tsbuildinfo"
],
"exports": {
".": {
"types": "./dist/src/index.d.ts",
"import": "./dist/src/index.js"
}
},
"eslintConfig": {
"extends": "ipfs",
"parserOptions": {
"sourceType": "module"
},
"rules": {
"@typescript-eslint/no-unused-vars": "error",
"@typescript-eslint/explicit-function-return-type": "warn",
"@typescript-eslint/strict-boolean-expressions": "off"
},
"ignorePatterns": [
"src/proto/payload.js",
"src/proto/payload.d.ts",
"test/fixtures/node-globals.js"
]
},
"scripts": {
"bench": "npm run bench:handshake && npm run bench:nonce && npm run bench:crypto",
"bench:handshake": "node ./benchmarks/handshake.js",
"bench:nonce": "node --loader ts-node/esm ./benchmarks/nonce.ts",
"bench:crypto": "node --loader ts-node/esm ./benchmarks/crypto.ts",
"clean": "aegir clean",
"dep-check": "aegir dep-check",
"build": "aegir build",
"lint": "aegir lint",
"lint:fix": "aegir lint --fix",
"test": "aegir test",
"test:node": "aegir test -t node",
"test:browser": "aegir test -t browser -t webworker",
"test:electron-main": "aegir test -t electron-main",
"test:interop": "aegir test -t node -f dist/test/interop.js",
"docs": "aegir docs",
"proto:gen": "protons ./src/proto/payload.proto",
"prepublish": "patch-package && npm run build"
},
"dependencies": {
"@chainsafe/as-chacha20poly1305": "^0.1.0",
"@chainsafe/as-sha256": "^0.4.1",
"@libp2p/crypto": "^3.0.2",
"@libp2p/interface": "^1.0.2",
"@libp2p/peer-id": "^4.0.2",
"it-byte-stream": "^1.0.0",
"it-length-prefixed": "^9.0.1",
"it-length-prefixed-stream": "^1.0.0",
"it-pair": "^2.0.6",
"it-pipe": "^3.0.1",
"it-stream-types": "^2.0.1",
"protons-runtime": "^5.0.0",
"uint8arraylist": "^2.4.7",
"uint8arrays": "^5.0.0",
"wherearewe": "^2.0.1",
"libsodium-wrappers":"^0.7.13",
"@stablelib/hkdf": "^1.0.1",
"@stablelib/sha256": "^1.0.1"
},
"devDependencies": {
"@chainsafe/libp2p-yamux": "^6.0.1",
"@libp2p/daemon-client": "^8.0.1",
"@libp2p/daemon-server": "^7.0.1",
"@libp2p/interface-compliance-tests": "^5.0.5",
"@libp2p/interop": "^10.0.0",
"@libp2p/logger": "^4.0.0",
"@libp2p/peer-id-factory": "^3.0.9",
"@libp2p/tcp": "^9.0.0",
"@multiformats/multiaddr": "^12.1.0",
"@types/sinon": "^17.0.1",
"@types/benchmark":"^2.1.5",
"@types/libsodium-wrappers": "^0.7.13",
"aegir": "^41.1.10",
"benchmark": "^2.1.4",
"execa": "^8.0.1",
"go-libp2p": "^1.0.3",
"iso-random-stream": "^2.0.2",
"libp2p": "^1.0.8",
"mkdirp": "^3.0.0",
"p-defer": "^4.0.0",
"protons": "^7.0.0",
"sinon": "^17.0.1",
"ts-node":"^10.9.2",
"eslint-plugin-n":"^16.4.0",
"patch-package":"^8.0.0"
},
"browser": {
"./dist/src/crypto/index.js": "./dist/src/crypto/index.browser.js"
}
}