-
Notifications
You must be signed in to change notification settings - Fork 115
/
package.json
173 lines (173 loc) · 6.04 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
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
{
"name": "storage-node",
"description": "Joystream storage subsystem.",
"version": "4.2.0",
"author": "Joystream contributors",
"bin": {
"storage-node": "./bin/run"
},
"bugs": "https://github.com/Joystream/joystream/issues",
"dependencies": {
"@apollo/client": "^3.3.21",
"@elastic/ecs-winston-format": "^1.3.1",
"@joystream/metadata-protobuf": "^2.15.0",
"@joystream/opentelemetry": "1.0.0",
"@joystream/types": "^4.6.0",
"@oclif/command": "^1",
"@oclif/config": "^1",
"@oclif/plugin-help": "^3",
"@polkadot/api": "10.7.1",
"@types/base64url": "^2.0.0",
"@types/express": "4.17.13",
"@types/file-type": "^10.9.1",
"@types/lodash": "^4.14.171",
"@types/mkdirp": "^0.5.1",
"@types/multer": "^1.4.5",
"@types/node-cache": "^4.2.5",
"@types/promise-timeout": "^1.3.0",
"@types/read-chunk": "^3.1.0",
"@types/rimraf": "^3.0.2",
"@types/send": "^0.17.0",
"@types/superagent": "^4.1.12",
"@types/url-join": "^4.0.1",
"@types/uuid": "^8.3.1",
"@types/winston": "^2.4.4",
"ajv": "^8.0.0",
"await-lock": "^2.1.0",
"base64url": "^3.0.1",
"blake3-wasm": "^2.1.5",
"cors": "^2.8.5",
"cross-fetch": "^3.1.4",
"express": "4.17.1",
"express-async-handler": "^1.2.0",
"express-openapi-validator": "4.12.4",
"express-winston": "^4.1.0",
"fast-folder-size": "^1.4.0",
"fast-safe-stringify": "^2.1.1",
"file-type": "^16.5.0",
"graphql": "^15.3.0",
"lodash": "^4.17.21",
"mkdirp": "^0.5.1",
"multihashes": "^4.0.2",
"node-cache": "^5.1.2",
"openapi-editor": "^0.3.0",
"promise-timeout": "^1.3.0",
"react": "^18.2.0",
"read-chunk": "^3.2.0",
"rimraf": "^3.0.2",
"send": "^0.17.1",
"sleep-promise": "^9.1.0",
"subscriptions-transport-ws": "^0.11.0",
"superagent": "^6.1.0",
"tslib": "^1",
"url-join": "^4.0.1",
"uuid": "^8.3.2",
"winston": "^3.3.3",
"winston-daily-rotate-file": "^4.5.5",
"winston-elasticsearch": "^0.17.4"
},
"devDependencies": {
"@graphql-codegen/cli": "^1.21.4",
"@graphql-codegen/import-types-preset": "^1.18.1",
"@graphql-codegen/typescript": "^1.22.0",
"@graphql-codegen/typescript-document-nodes": "^1.17.11",
"@graphql-codegen/typescript-operations": "^1.17.16",
"@joystream/eslint-config": "^1.0.0",
"@oclif/dev-cli": "^1",
"@oclif/test": "^1",
"@openapitools/openapi-generator-cli": "^2.3.6",
"@types/chai": "^4",
"@types/cors": "^2.8.12",
"@types/mocha": "^5",
"@types/node": "^18.6.0",
"@types/pg": "^8.6.1",
"@types/swagger-ui-express": "^4.1.2",
"@types/ws": "^5.1.2",
"@typescript-eslint/eslint-plugin": "3.8.0",
"@typescript-eslint/parser": "3.8.0",
"chai": "^4",
"eslint": "^7.6.0",
"eslint-config-oclif": "^3.1",
"eslint-config-oclif-typescript": "^0.1",
"globby": "^10",
"json-schema-to-typescript": "^10.1.4",
"mocha": "^5",
"nyc": "^14",
"openapi-typescript": "^4.0.2",
"pg": "^8.7.1",
"prettier": "^2.3.0",
"sinon": "^11.1.1",
"swagger-ui-express": "^4.1.6",
"ts-node": "^10.2.1",
"type-doc": "^0.1.41",
"typescript": "^5.0.2"
},
"engines": {
"node": ">=14.18.0"
},
"volta": {
"node": "18.6.0",
"yarn": "1.22.19"
},
"files": [
"/bin",
"/lib",
"/npm-shrinkwrap.json",
"/oclif.manifest.json"
],
"homepage": "https://github.com/Joystream/joystream",
"keywords": [
"joystream",
"storage-node"
],
"license": "GPL-3.0-only",
"main": "lib/index.js",
"oclif": {
"commands": "./lib/commands",
"bin": "storage-node",
"plugins": [
"@oclif/plugin-help"
],
"topics": {
"leader": {
"description": "Storage working group leader commands."
},
"operator": {
"description": "Storage provider(operator) commands."
},
"util": {
"description": "Useful utility commands."
}
}
},
"repository": {
"type": "git",
"url": "https://github.com/Joystream/joystream",
"directory": "storage-node"
},
"scripts": {
"postpack": "rm -f oclif.manifest.json",
"posttest": "yarn lint",
"prepack": "rm -rf lib && tsc -b && oclif-dev manifest && oclif-dev readme",
"version": "oclif-dev readme && git add README.md",
"build:client": "tsc --build ./client/tsconfig.json",
"build:node": "tsc --build tsconfig.json && mkdir -p ./lib/api-spec && cp ./src/api-spec/openapi.yaml ./lib/api-spec/openapi.yaml",
"build": "yarn generate:types:all && yarn build:client && yarn build:node",
"format": "yarn prettier ./src --write",
"lint": "eslint ./src --ext .ts",
"api:edit": "openapi-editor --file ./src/api-spec/openapi.yaml --port 10021",
"generate:schema:graphql": "../scripts/save-storage-squid-schema.sh src/services/queryNode/schema.graphql",
"generate:types:graphql": "yarn graphql-codegen -c ./src/services/queryNode/codegen.yml",
"generate:types:json-schema": "yarn ts-node --transpile-only ./src/services/metadata/generateTypes.ts",
"generate:types:api": "yarn openapi-typescript ./src/api-spec/openapi.yaml -o ./src/services/webApi/types/generated.ts -c ../prettierrc.js",
"generate:types:all": "yarn generate:types:graphql && yarn generate:types:json-schema && yarn generate:types:api",
"generate:client": "yarn openapi-generator-cli generate -i ./src/api-spec/openapi.yaml -g typescript-axios -o ./client",
"generate:all": "yarn generate:types:graphql && yarn generate:types:json-schema && yarn generate:types:api && yarn generate:client",
"generate:docs:cli": "yarn oclif-dev readme",
"ensure": "yarn format && yarn lint --fix && yarn build",
"checks": "tsc --noEmit --pretty && prettier ./src --check && yarn lint",
"start": "./bin/run server",
"start:with-instrumentation": "export OTEL_APPLICATION=storage-node; export OTEL_EXPORTER_OTLP_ENDPOINT=http://localhost:8200; export OTEL_RESOURCE_ATTRIBUTES=service.name=colossus,deployment.environment=production; node --require @joystream/opentelemetry ./bin/run server"
},
"types": "lib/index.d.ts"
}