-
Notifications
You must be signed in to change notification settings - Fork 19
/
package.json
140 lines (140 loc) · 4.61 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
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
{
"name": "@golem-sdk/golem-js",
"version": "0.8.0",
"description": "NodeJS and WebBrowser SDK for building apps running on Golem Network",
"repository": "https://github.com/golemfactory/golem-js",
"keywords": [
"golem",
"network",
"distributed",
"computing",
"sdk",
"internet",
"computer",
"marketplace"
],
"main": "dist/golem-js.js",
"exports": {
".": {
"types": "./dist/index.d.ts",
"browser": "./dist/golem-js.min.js",
"import": "./dist/golem-js.mjs",
"require": "./dist/golem-js.js"
},
"./experimental": {
"types": "./dist/experimental/index.d.ts",
"browser": null,
"import": "./dist/golem-js-experimental.mjs",
"require": "./dist/golem-js-experimental.js"
}
},
"browser": "dist/golem-js.min.js",
"module": "dist/golem-js.mjs",
"types": "dist/index.d.ts",
"jsdelivr": "dist/golem-js.min.js",
"unpkg": "dist/golem-js.min.js",
"scripts": {
"build": "rollup -c --forceExit",
"dev": "rollup -c -w",
"docs": "typedoc src/ --plugin typedoc-plugin-merge-modules --plugin typedoc-theme-hierarchy --out api-reference",
"docs:md": "typedoc src/ --plugin typedoc-plugin-markdown --plugin .typedoc/typedoc-frontmatter-theme.cjs --hideBreadcrumbs true --out api-reference && node .typedoc/summary-generator.cjs",
"test": "npm run test:unit && npm run test:e2e",
"test:unit": "jest --config tests/jest.config.json",
"test:e2e": "cross-env NODE_OPTIONS=--experimental-vm-modules jest --config tests/e2e/jest.config.json tests/e2e/**.spec.ts --runInBand --forceExit",
"test:cypress": "cypress run",
"test:examples": "tsx tests/examples/examples.test.ts",
"test:import": "node --experimental-vm-modules node_modules/jest/bin/jest.js --config tests/import/jest.config.js",
"lint": "npm run lint:ts && npm run lint:ts:tests && npm run lint:eslint",
"lint:ts": "tsc --project tsconfig.json --noEmit",
"lint:ts:tests": "tsc --project tests/tsconfig.json --noEmit",
"lint:eslint": "eslint .",
"format": "prettier -w .",
"format:check": "prettier -c .",
"prepare": "husky install",
"lint:full": "npm run lint && npm run build && npm run lint -w examples"
},
"files": [
"dist"
],
"author": "GolemFactory <[email protected]>",
"license": "LGPL-3.0",
"engines": {
"node": ">=18.0.0"
},
"dependencies": {
"async-lock": "^1.4.1",
"async-retry": "^1.3.3",
"cross-spawn": "^7.0.3",
"debug": "^4.3.7",
"decimal.js-light": "^2.5.1",
"eventemitter3": "^5.0.1",
"eventsource": "^2.0.2",
"flatbuffers": "^24.3.25",
"ip-num": "^1.5.1",
"js-sha3": "^0.9.3",
"rxjs": "^7.8.1",
"semver": "^7.6.3",
"tmp": "^0.2.3",
"uuid": "^10.0.0",
"ws": "^8.18.0",
"ya-ts-client": "^1.1.3"
},
"devDependencies": {
"@commitlint/cli": "^19.5.0",
"@commitlint/config-conventional": "^19.5.0",
"@johanblumenberg/ts-mockito": "^1.0.45",
"@rollup/plugin-commonjs": "^25.0.8",
"@rollup/plugin-node-resolve": "^15.3.0",
"@rollup/plugin-terser": "^0.4.4",
"@rollup/plugin-typescript": "^11.1.6",
"@types/async-lock": "^1.4.2",
"@types/async-retry": "^1.4.9",
"@types/cross-spawn": "^6.0.6",
"@types/debug": "^4.1.12",
"@types/eventsource": "^1.1.15",
"@types/jest": "^29.5.13",
"@types/node": "^18.19.55",
"@types/semver": "^7.5.8",
"@types/supertest": "^6.0.2",
"@types/tmp": "^0.2.6",
"@types/uuid": "^10.0.0",
"@types/ws": "^8.5.12",
"@typescript-eslint/eslint-plugin": "^7.18.0",
"@typescript-eslint/parser": "^7.18.0",
"buffer": "^6.0.3",
"cross-env": "^7.0.3",
"cypress": "^13.15.0",
"cypress-log-to-output": "^1.1.2",
"eslint": "^8.57.1",
"eslint-config-prettier": "^9.1.0",
"husky": "^9.1.6",
"jest": "^29.7.0",
"jest-junit": "^16.0.0",
"prettier": "^3.3.3",
"rollup": "^4.24.0",
"rollup-plugin-filesize": "^10.0.0",
"rollup-plugin-ignore": "^1.0.10",
"rollup-plugin-polyfill-node": "^0.13.0",
"rollup-plugin-visualizer": "^5.12.0",
"semantic-release": "^23.1.1",
"supertest": "^6.3.4",
"ts-jest": "^29.2.5",
"ts-loader": "^9.5.1",
"tsconfig-paths": "^4.2.0",
"tslint-config-prettier": "^1.18.0",
"tsx": "^4.19.1",
"typedoc": "^0.25.13",
"typedoc-plugin-markdown": "^3.17.1",
"typedoc-plugin-merge-modules": "^5.1.0",
"typedoc-theme-hierarchy": "4.1.2",
"typescript": "^5.4.5"
},
"optionalDependencies": {
"@rollup/rollup-darwin-x64": "^4",
"@rollup/rollup-win32-arm64-msvc": "^4",
"@rollup/rollup-win32-x64-msvc": "^4"
},
"workspaces": [
"examples/"
]
}