This repository has been archived by the owner on Dec 21, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpackage.json
124 lines (124 loc) · 2.94 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
123
124
{
"name": "@hoprnet/hopr-core",
"version": "0.6.35",
"description": "Privacy-preserving messaging protocol with incentivations for relay operators",
"license": "GPL-3.0-only",
"keywords": [
"privacy",
"web3",
"messaging"
],
"main": "lib/index.js",
"types": "lib/index.d.ts",
"files": [
"lib/",
"!*.spec.ts",
"!*.spec.d.ts",
"!*.spec.js",
"!*.spec.js.map"
],
"publishConfig": {
"access": "public"
},
"engines": {
"node": "12",
"yarn": "1"
},
"homepage": "https://hoprnet.org",
"repository": {
"type": "git",
"url": "https://github.com/hoprnet/hopr-core.git"
},
"scripts": {
"build": "yarn clean && tsc -p .",
"clean": "rm -rf ./lib",
"test": "jest --runInBand --forceExit",
"prepublishOnly": "yarn build",
"lint": "prettier --check .",
"lint:fix": "prettier --write ."
},
"dependencies": {
"@hoprnet/hopr-core-ethereum": "0.5.1",
"@hoprnet/hopr-demo-seeds": "1.8.0",
"@hoprnet/hopr-utils": "^0.6.2",
"abort-controller": "^3.0.0",
"abortable-iterator": "^3.0.0",
"bl": "^4.0.3",
"chalk": "~4.1.0",
"debug": "^4.1.1",
"futoin-hkdf": "~1.3.2",
"heap-js": "^2.1.2",
"it-handshake": "^1.0.2",
"it-pipe": "^1.1.0",
"it-pushable": "^1.4.0",
"leveldown": "~5.6.0",
"levelup": "~4.4.0",
"libp2p": "~0.27.8",
"libp2p-crypto": "~0.17.6",
"libp2p-kad-dht": "~0.18.7",
"libp2p-mplex": "~0.9.5",
"libp2p-secio": "^0.12.5",
"multiaddr": "^7.4.3",
"multihashes": "~0.4.19",
"p-defer": "^3.0.0",
"peer-id": "~0.13",
"peer-info": "~0.17.5",
"read": "~1.0.7",
"rlp": "~2.2.6",
"secp256k1": "~4.0.2",
"simple-peer": "~9.7.2",
"stream-to-it": "^0.2.2",
"webrtc-stun": "^3.0.0",
"wrtc": "0.4.6"
},
"devDependencies": {
"@hoprnet/hopr-core-connector-interface": "1.10.5",
"@hoprnet/hopr-ethereum": "^1.5.0",
"@hoprnet/hopr-testing": "0.2",
"@types/bl": "^2.1.0",
"@types/debug": "^4.1.5",
"@types/jest": "^26.0.7",
"@types/leveldown": "^4.0.2",
"@types/levelup": "^4.3.0",
"@types/memdown": "^3.0.0",
"@types/node": "~12",
"@types/read": "^0.0.28",
"@types/secp256k1": "~4.0.1",
"@types/simple-peer": "^9.6.0",
"husky": "^4.2.5",
"it-pair": "^1.0.0",
"jest": "^26.1.0",
"jest-silent-reporter": "^0.2.1",
"libp2p-tcp": "^0.14.6",
"memdown": "^5.1.0",
"prettier": "^2.0.5",
"ts-jest": "^26.1.4",
"typescript": "^3.9.7"
},
"jest": {
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"rootDir": "src/",
"testRegex": ".spec.ts$",
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
},
"coverageDirectory": "../coverage",
"testEnvironment": "node",
"maxConcurrency": 1
},
"prettier": {
"tabWidth": 2,
"semi": false,
"singleQuote": true,
"printWidth": 120
},
"husky": {
"hooks": {
"pre-commit": "yarn lint:fix"
}
}
}