-
Notifications
You must be signed in to change notification settings - Fork 43
Expand file tree
/
Copy pathpackage.json
More file actions
122 lines (122 loc) · 4.65 KB
/
package.json
File metadata and controls
122 lines (122 loc) · 4.65 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
122
{
"name": "@streamr/sdk",
"version": "102.0.0-beta.0",
"description": "JavaScript / TypeScript SDK for Streamr",
"private": true,
"repository": {
"type": "git",
"url": "git+https://github.com/streamr-dev/network.git",
"directory": "packages/client"
},
"types": "./dist/types/src/index.d.ts",
"main": "./dist/src/exports-commonjs.js",
"browser": "./dist/streamr-sdk.web.js",
"exports": {
"browser": "./dist/streamr-sdk.web.js",
"default": {
"types": "./dist/types/src/index.d.ts",
"import": "./dist/src/exports-esm.mjs",
"require": "./dist/src/exports-commonjs.js"
}
},
"scripts": {
"prebuild": "node bin/generate-config-validator.js && bash vendor-hack.sh",
"postbuild": "bash copy-package.sh && bash fix-esm.sh",
"build": "tsc --build ./tsconfig.node.json",
"build-browser": "npm run build-browser-development && npm run build-browser-production",
"build-browser-development": "NODE_ENV=development webpack --mode=development --progress",
"build-browser-production": "NODE_ENV=production webpack --mode=production --progress",
"check": "tsc -p ./tsconfig.jest.json",
"clean": "jest --clearCache || true; rm -rf dist vendor *.tsbuildinfo node_modules/.cache || true",
"eslint": "eslint --cache --cache-location=node_modules/.cache/.eslintcache/ '*/**/*.{js,ts}'",
"generate-protoc-code": "./proto.sh",
"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.js",
"test-browser-integration": "karma start karma-integration.config.js",
"test-browser-end-to-end": "karma start karma-end-to-end.config.js",
"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": {
"@babel/core": "^7.26.0",
"@babel/plugin-proposal-decorators": "^7.25.9",
"@babel/plugin-transform-modules-commonjs": "^7.25.9",
"@babel/plugin-transform-runtime": "^7.25.9",
"@babel/preset-env": "^7.26.0",
"@babel/preset-typescript": "^7.26.0",
"@jest/globals": "^29.7.0",
"@streamr/test-utils": "102.0.0-beta.0",
"@types/heap": "^0.2.34",
"@types/lodash": "^4.17.13",
"@types/node-fetch": "^2.6.4",
"ajv": "^8.17.1",
"ajv-formats": "^3.0.1",
"babel-loader": "^9.2.1",
"babel-plugin-add-module-exports": "^1.0.4",
"babel-plugin-transform-typescript-metadata": "^0.3.2",
"benchmark": "^2.1.4",
"buffer": "^6.0.3",
"bytes": "^3.1.1",
"chromedriver": "^121.0.2",
"crypto-browserify": "^3.12.1",
"express": "^4.21.1",
"git-revision-webpack-plugin": "^5.0.0",
"jest-leak-detector": "^27.3.1",
"jest-matcher-utils": "^29.7.0",
"lodash-webpack-plugin": "^0.11.6",
"nightwatch": "^3.8.1",
"node-polyfill-webpack-plugin": "^4.0.0",
"terser-webpack-plugin": "^5.3.10",
"ts-loader": "^9.5.1",
"util": "^0.12.4",
"weak-napi": "^2.0.2",
"webpack": "^5.96.1",
"webpack-bundle-analyzer": "^4.10.1",
"webpack-cli": "^5.1.4",
"webpack-merge": "^6.0.1"
},
"#IMPORTANT": "babel-runtime must be in dependencies, not devDependencies",
"dependencies": {
"@babel/runtime": "^7.26.0",
"@babel/runtime-corejs3": "^7.26.0",
"@lit-protocol/core": "2.2.5",
"@lit-protocol/uint8arrays": "^6.11.0",
"@protobuf-ts/runtime": "^2.8.2",
"@protobuf-ts/runtime-rpc": "^2.8.2",
"@streamr/config": "^5.4.1",
"@streamr/dht": "102.0.0-beta.0",
"@streamr/proto-rpc": "102.0.0-beta.0",
"@streamr/trackerless-network": "102.0.0-beta.0",
"@streamr/utils": "102.0.0-beta.0",
"core-js": "^3.39.0",
"env-paths": "^2.2.1",
"ethers": "^6.13.0",
"eventemitter3": "^5.0.0",
"idb": "^8.0.0",
"lit-siwe": "^1.1.8",
"lodash": "^4.17.21",
"node-fetch": "^2.7.0",
"p-limit": "^3.1.0",
"p-memoize": "4.0.4",
"p-throttle": "4.1.1",
"quick-lru": "^7.0.0",
"readable-stream": "^4.5.2",
"reflect-metadata": "^0.2.1",
"sqlite": "^5.1.1",
"sqlite3": "^5.1.7",
"ts-essentials": "^10.0.3",
"ts-toolbelt": "^9.6.0",
"tsyringe": "^4.8.0",
"uuid": "^11.0.3",
"zod": "^3.22.4"
},
"optionalDependencies": {
"bufferutil": "^4.0.8",
"utf-8-validate": "^6.0.5"
}
}