-
Notifications
You must be signed in to change notification settings - Fork 44
Expand file tree
/
Copy pathpackage.json
More file actions
121 lines (121 loc) · 4.2 KB
/
package.json
File metadata and controls
121 lines (121 loc) · 4.2 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
121
{
"name": "@streamr/sdk",
"version": "103.3.1",
"description": "JavaScript / TypeScript SDK for Streamr",
"repository": {
"type": "git",
"url": "git+https://github.com/streamr-dev/network.git",
"directory": "packages/client"
},
"main": "./dist/exports-nodejs.cjs",
"module": "./dist/exports-nodejs.js",
"types": "./dist/exports-nodejs.d.ts",
"script": "./dist/exports-umd.min.js",
"exports": {
".": {
"types": "./dist/exports-nodejs.d.ts",
"browser": {
"types": "./dist/exports-browser.d.ts",
"import": "./dist/exports-browser.js",
"require": "./dist/exports-browser.cjs",
"default": "./dist/exports-browser.js"
},
"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.*",
"dist/exports-umd.*",
"dist/encryption/migrations",
"!*.tsbuildinfo",
"LICENSE",
"README.md",
"readme-header.png"
],
"scripts": {
"prebuild": "npm run reset-self && node bin/generate-config-validator.js && ./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 src/generated *.tsbuildinfo node_modules/.cache || true",
"eslint": "eslint --cache --cache-location=node_modules/.cache/.eslintcache/ '*/**/*.{js,ts,mts}'",
"test": "npm run test-unit && npm run test-integration && npm run test-end-to-end",
"test-unit": "jest --useStderr --forceExit test/unit",
"test-integration": "jest --bail --useStderr --forceExit --testTimeout=40000 test/integration/*.test.*",
"test-end-to-end": "jest --bail --useStderr --forceExit --testTimeout=40000 test/end-to-end/*.test.*",
"test-browser-unit": "karma start karma-unit.config.ts",
"test-browser-integration": "karma start karma-integration.config.ts",
"test-browser-end-to-end": "karma start karma-end-to-end.config.ts",
"test-browser-smoke": "bash test/browser-smoke-test/smoke-test.sh",
"test-exports": "cd test/exports && npm run link && tsc --noEmit --project ./tsconfig.json && npm test"
},
"author": "Streamr Network AG <contact@streamr.network>",
"license": "Apache-2.0",
"devDependencies": {
"@jest/globals": "^30.0.5",
"@rollup/plugin-alias": "^6.0.0",
"@rollup/plugin-commonjs": "^29.0.2",
"@rollup/plugin-json": "^6.1.0",
"@rollup/plugin-node-resolve": "^16.0.3",
"@rollup/plugin-terser": "^1.0.0",
"@streamr/test-utils": "103.3.1",
"@types/heap": "^0.2.35",
"@types/lodash": "^4.17.24",
"ajv": "^8.18.0",
"ajv-formats": "^3.0.1",
"benchmark": "^2.1.4",
"buffer": "^6.0.3",
"bytes": "^3.1.1",
"express": "^5.2.1",
"jest-leak-detector": "^27.3.1",
"jest-matcher-utils": "^30.0.5",
"nightwatch": "^3.15.0",
"rimraf": "^6.1.3",
"rollup": "^4.60.1",
"rollup-plugin-copy": "^3.5.0",
"rollup-plugin-dts": "^6.4.1",
"ts-node": "^10.9.2",
"tsx": "^4.21.0",
"util": "^0.12.4",
"weak-napi": "^2.0.2"
},
"dependencies": {
"@noble/post-quantum": "^0.4.1",
"@protobuf-ts/runtime": "^2.8.2",
"@protobuf-ts/runtime-rpc": "^2.8.2",
"@streamr/config": "^5.9.2",
"@streamr/dht": "103.3.1",
"@streamr/network-contracts": "^9.1.0",
"@streamr/proto-rpc": "103.3.1",
"@streamr/trackerless-network": "103.3.1",
"@streamr/utils": "103.3.1",
"env-paths": "^4.0.0",
"ethers": "^6.13.0",
"eventemitter3": "^5.0.4",
"idb": "^8.0.3",
"lodash": "^4.18.1",
"lru-cache": "^11.3.0",
"p-limit": "^3.1.0",
"p-memoize": "4.0.4",
"p-throttle": "4.1.1",
"readable-stream": "^4.7.0",
"reflect-metadata": "^0.2.1",
"sqlite": "^5.1.1",
"sqlite3": "^6.0.1",
"timers-browserify": "^2.0.12",
"ts-essentials": "^10.1.1",
"ts-toolbelt": "^9.6.0",
"tsyringe": "^4.10.0",
"uuid": "^11.1.0",
"zod": "^4.3.6"
},
"optionalDependencies": {
"bufferutil": "^4.1.0",
"utf-8-validate": "^6.0.6"
}
}