-
Notifications
You must be signed in to change notification settings - Fork 44
Expand file tree
/
Copy pathpackage.json
More file actions
94 lines (94 loc) · 3.09 KB
/
package.json
File metadata and controls
94 lines (94 loc) · 3.09 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
{
"name": "@streamr/dht",
"version": "103.3.1",
"description": "Streamr Network DHT",
"repository": {
"type": "git",
"url": "git+https://github.com/streamr-dev/network.git",
"directory": "packages/dht"
},
"main": "./dist/exports-nodejs.cjs",
"module": "./dist/exports-nodejs.js",
"types": "./dist/exports-nodejs.d.ts",
"exports": {
".": {
"types": "./dist/exports-nodejs.d.ts",
"browser": {
"types": "./dist/exports-browser.d.ts",
"import": "./dist/exports-browser.js",
"require": "./dist/exports-browser.cjs"
},
"node": "./dist/exports-nodejs.cjs",
"import": "./dist/exports-nodejs.js",
"require": "./dist/exports-nodejs.cjs",
"default": "./dist/exports-nodejs.js"
}
},
"files": [
"dist/exports-nodejs.*",
"dist/exports-browser.*",
"!*.tsbuildinfo",
"README.md"
],
"license": "STREAMR NETWORK OPEN SOURCE LICENSE",
"author": "Streamr Network AG <contact@streamr.network>",
"scripts": {
"prebuild": "npm run reset-self && ./proto.sh",
"build": "tsc -b",
"postbuild": "NODE_OPTIONS='--import tsx' rollup -c rollup.config.mts",
"check": "tsc -b tsconfig.jest.json",
"reset-self": "rimraf --glob 'dist/**/*.tsbuildinfo'",
"clean": "jest --clearCache --config '{}' || true; rm -rf dist generated *.tsbuildinfo node_modules/.cache || true",
"eslint": "eslint --cache --cache-location=node_modules/.cache/.eslintcache/ '*/**/*.{js,ts}'",
"test": "npm run test-unit && npm run test-integration && npm run test-end-to-end",
"test-browser": "karma start karma.config.ts",
"test-unit": "jest test/unit",
"test-integration": "jest --bail test/integration",
"test-end-to-end": "jest --bail test/end-to-end",
"benchmark": "jest test/benchmark"
},
"dependencies": {
"@js-sdsl/ordered-map": "^4.4.2",
"@protobuf-ts/runtime": "^2.8.2",
"@protobuf-ts/runtime-rpc": "^2.8.2",
"@streamr/autocertifier-client": "103.3.1",
"@streamr/cdn-location": "103.3.1",
"@streamr/geoip-location": "103.3.1",
"@streamr/proto-rpc": "103.3.1",
"@streamr/utils": "103.3.1",
"eventemitter3": "^5.0.4",
"heap": "^0.2.6",
"ipaddr.js": "^2.3.0",
"k-bucket": "^5.1.0",
"lodash": "^4.18.1",
"lru-cache": "^11.3.0",
"node-datachannel": "^0.27.0",
"timers-browserify": "^2.0.12",
"uuid": "^11.1.0",
"websocket": "^1.0.34",
"ws": "^8.20.0"
},
"devDependencies": {
"@rollup/plugin-alias": "^6.0.0",
"@rollup/plugin-json": "^6.1.0",
"@rollup/plugin-node-resolve": "^16.0.3",
"@streamr/browser-test-runner": "^0.0.1",
"@streamr/test-utils": "103.3.1",
"@types/heap": "^0.2.35",
"@types/k-bucket": "^5.0.1",
"@types/lodash": "^4.17.24",
"@types/websocket": "^1.0.10",
"@types/ws": "^8.18.1",
"jest-leak-detector": "^27.3.1",
"jest-matcher-utils": "^30.0.5",
"rimraf": "^6.1.3",
"rollup": "^4.60.1",
"rollup-plugin-dts": "^6.4.1",
"ts-essentials": "^10.1.1",
"tsx": "^4.21.0"
},
"optionalDependencies": {
"bufferutil": "^4.1.0",
"utf-8-validate": "^6.0.6"
}
}