-
Notifications
You must be signed in to change notification settings - Fork 598
Expand file tree
/
Copy pathpackage.json
More file actions
120 lines (120 loc) · 3.06 KB
/
package.json
File metadata and controls
120 lines (120 loc) · 3.06 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
114
115
116
117
118
119
120
{
"name": "@aztec/p2p",
"version": "0.0.0",
"type": "module",
"exports": {
".": "./dest/index.js",
"./mocks": "./dest/mocks/index.js",
"./bootstrap": "./dest/bootstrap/bootstrap.js"
},
"typedocOptions": {
"entryPoints": [
"./src/index.ts"
],
"name": "P2P",
"tsconfig": "./tsconfig.json"
},
"scripts": {
"build": "yarn clean && tsc -b",
"build:dev": "tsc -b --watch",
"clean": "rm -rf ./dest .tsbuildinfo",
"formatting": "run -T prettier --check ./src && run -T eslint ./src",
"formatting:fix": "run -T eslint --fix ./src && run -T prettier -w ./src",
"test": "NODE_NO_WARNINGS=1 node --experimental-vm-modules ../node_modules/.bin/jest --passWithNoTests",
"start": "node ./dest",
"start:dev": "tsc-watch -p tsconfig.json --onSuccess 'yarn start'"
},
"inherits": [
"../package.common.json"
],
"jest": {
"moduleNameMapper": {
"^(\\.{1,2}/.*)\\.[cm]?js$": "$1"
},
"testRegex": "./src/.*\\.test\\.(js|mjs|ts)$",
"rootDir": "./src",
"transform": {
"^.+\\.tsx?$": [
"@swc/jest",
{
"jsc": {
"parser": {
"syntax": "typescript",
"decorators": true
},
"transform": {
"decoratorVersion": "2022-03"
}
}
}
]
},
"extensionsToTreatAsEsm": [
".ts"
],
"reporters": [
[
"default",
{
"summaryThreshold": 9999
}
]
],
"testTimeout": 15000
},
"dependencies": {
"@aztec/circuit-types": "workspace:^",
"@aztec/circuits.js": "workspace:^",
"@aztec/foundation": "workspace:^",
"@aztec/kv-store": "workspace:^",
"@aztec/telemetry-client": "workspace:^",
"@chainsafe/discv5": "9.0.0",
"@chainsafe/enr": "3.0.0",
"@chainsafe/libp2p-gossipsub": "13.0.0",
"@chainsafe/libp2p-noise": "^15.0.0",
"@chainsafe/libp2p-yamux": "^6.0.2",
"@libp2p/bootstrap": "10.0.0",
"@libp2p/crypto": "^4.1.1",
"@libp2p/identify": "1.0.18",
"@libp2p/interface": "1.3.1",
"@libp2p/kad-dht": "10.0.4",
"@libp2p/mplex": "10.0.16",
"@libp2p/peer-id": "4.0.7",
"@libp2p/peer-id-factory": "4.1.1",
"@libp2p/peer-store": "10.0.16",
"@libp2p/prometheus-metrics": "^4.2.4",
"@libp2p/tcp": "9.0.24",
"@multiformats/multiaddr": "12.1.14",
"interface-datastore": "^8.2.11",
"interface-store": "^5.1.8",
"it-pipe": "^3.0.1",
"libp2p": "1.5.0",
"semver": "^7.6.0",
"sha3": "^2.1.4",
"tslib": "^2.4.0"
},
"devDependencies": {
"@aztec/archiver": "workspace:^",
"@jest/globals": "^29.5.0",
"@types/jest": "^29.5.0",
"@types/node": "^18.14.6",
"get-port": "^7.1.0",
"it-drain": "^3.0.5",
"it-length": "^3.0.6",
"jest": "^29.5.0",
"jest-mock-extended": "^3.0.4",
"ts-node": "^10.9.1",
"typescript": "^5.0.4",
"uint8arrays": "^5.0.3",
"viem": "^2.7.15"
},
"files": [
"dest",
"src",
"!*.test.*"
],
"types": "./dest/index.d.ts",
"engines": {
"node": ">=18"
}
}