forked from fluencelabs/cli
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
382 lines (382 loc) · 11 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
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
{
"name": "@fluencelabs/cli",
"packageManager": "[email protected]",
"type": "module",
"version": "0.15.11",
"description": "CLI for working with Fluence network",
"author": "Fluence Labs",
"bin": {
"fluence": "bin/run.js"
},
"homepage": "https://github.com/fluencelabs/cli",
"license": "Apache-2.0",
"main": "dist/index.js",
"repository": {
"type": "git",
"url": "git+https://github.com/fluencelabs/cli.git"
},
"files": [
"/bin",
"/dist",
"/npm-shrinkwrap.json",
"/oclif.manifest.json"
],
"scripts": {
"before-build": "npm i --prefix './src/cli-aqua-dependencies' && node --loader ts-node/esm --no-warnings src/beforeBuild.ts && npm i --prefix './src/aqua-dependencies'",
"build": "shx rm -rf dist && tsc -b && shx cp -r ./src/aqua-dependencies ./dist/aqua-dependencies",
"lint": "eslint . --ext .ts --ext .js",
"lint-fix": "eslint . --ext .ts --ext .js --cache --fix",
"prettier": "prettier --write .",
"find-dead-code": "ts-prune",
"postpack": "shx rm -f oclif.manifest.json",
"before-pack": "yarn clean && yarn before-build",
"prepack": "yarn before-pack && yarn build",
"jest": "node --no-warnings --experimental-vm-modules node_modules/jest/bin/jest.js --verbose",
"clean": "shx rm -rf tmp && shx rm -rf dist",
"pack-linux-x64": "yarn before-pack && oclif pack tarballs -t 'linux-x64' --no-xz",
"pack-darwin-x64": "yarn before-pack && oclif pack tarballs -t 'darwin-x64' --no-xz",
"pack-darwin-arm64": "yarn before-pack && oclif pack tarballs -t 'darwin-arm64' --no-xz",
"pack-win32-x64": "yarn before-pack && oclif pack win --targets 'win32-x64'",
"pack": "yarn before-pack && oclif pack tarballs -t 'linux-x64,darwin-x64,darwin-arm64,win32-x64' --no-xz",
"pack-ci": "yarn before-pack && oclif pack tarballs -t 'linux-x64,darwin-arm64' --no-xz",
"upload-linux-x64": "oclif upload tarballs -t 'linux-x64' --no-xz",
"upload-darwin-x64": "oclif upload tarballs -t 'darwin-x64' --no-xz",
"upload-darwin-arm64": "oclif upload tarballs -t 'darwin-arm64' --no-xz",
"upload-win32-x64": "oclif upload tarballs -t 'win32-x64' --no-xz && oclif upload win --targets 'win32-x64'",
"test-linux-x64": "yarn pack-linux-x64 && yarn test",
"test-darwin-x64": "yarn pack-darwin-x64 && yarn test",
"test-darwin-arm64": "yarn pack-darwin-arm64 && yarn test",
"test-win32-x64": "yarn pack-win32-x64 && yarn test",
"test": "node --loader ts-node/esm --no-warnings ./test/setupTests.ts && yarn jest",
"check": "yarn before-build && yarn build && yarn lint-fix && yarn prettier && yarn circular",
"circular": "madge --circular ./dist",
"on-each-commit": "yarn check && yarn gen-config-docs && cd docs/commands && oclif readme --no-aliases",
"gen-config-docs": "shx rm -rf schemas && shx rm -rf docs/configs && node --loader ts-node/esm --no-warnings ./src/genConfigDocs.ts",
"unused-exports": "ts-unused-exports tsconfig.json",
"up-deps": "npm-check-updates -u",
"oclif-pack": "yarn before-pack && oclif pack tarballs -t 'linux-x64,darwin-x64,darwin-arm64' --no-xz",
"oclif-upload": "oclif upload tarballs -t 'linux-x64,darwin-x64,darwin-arm64'"
},
"dependencies": {
"@fluencelabs/air-beautify-wasm": "0.3.6",
"@fluencelabs/aqua-api": "0.14.2",
"@fluencelabs/aqua-to-js": "0.3.5",
"@fluencelabs/deal-ts-clients": "0.6.7",
"@fluencelabs/fluence-network-environment": "1.1.2",
"@fluencelabs/js-client": "0.8.4",
"@fluencelabs/npm-aqua-compiler": "0.0.3",
"@iarna/toml": "2.2.5",
"@mswjs/interceptors": "0.25.14",
"@multiformats/multiaddr": "12.1.12",
"@oclif/color": "1.0.13",
"@oclif/core": "3.18.1",
"@oclif/plugin-autocomplete": "3.0.5",
"@oclif/plugin-help": "6.0.11",
"@oclif/plugin-not-found": "3.0.8",
"@oclif/plugin-update": "4.1.7",
"@walletconnect/universal-provider": "2.4.7",
"ajv": "8.12.0",
"chokidar": "3.5.3",
"countly-sdk-nodejs": "22.6.0",
"debug": "4.3.4",
"decompress": "4.2.1",
"dotenv": "16.3.1",
"ethers": "6.7.1",
"filenamify": "6.0.0",
"inquirer": "9.2.12",
"ipfs-http-client": "60.0.1",
"lodash-es": "4.17.21",
"lokijs": "1.5.12",
"multiformats": "13.0.1",
"node_modules-path": "2.0.7",
"npm": "10.3.0",
"parse-duration": "^1.1.0",
"platform": "1.3.6",
"semver": "7.5.4",
"xbytes": "1.8.0",
"yaml": "2.3.4",
"yaml-diff-patch": "2.0.0"
},
"devDependencies": {
"@actions/core": "^1.10.1",
"@total-typescript/ts-reset": "0.5.1",
"@tsconfig/node18-strictest-esm": "1.0.1",
"@types/debug": "4.1.12",
"@types/decompress": "4.2.7",
"@types/iarna__toml": "2.0.5",
"@types/inquirer": "9.0.7",
"@types/jest": "29.5.11",
"@types/lodash-es": "4.17.12",
"@types/node": "20.11.0",
"@types/platform": "1.3.6",
"@types/proper-lockfile": "4.1.4",
"@types/semver": "7.5.6",
"@typescript-eslint/eslint-plugin": "6.18.1",
"@typescript-eslint/parser": "6.18.1",
"eslint": "8.56.0",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-import": "2.29.1",
"eslint-plugin-license-header": "0.6.0",
"eslint-plugin-node": "11.1.0",
"eslint-plugin-unused-imports": "3.0.0",
"globby": "14",
"jest": "29.7.0",
"madge": "6.1.0",
"npm-check-updates": "16.14.12",
"oclif": "4.1.0",
"prettier": "3.1.1",
"proper-lockfile": "^4.1.2",
"shx": "0.3.4",
"ts-jest": "29.1.1",
"ts-node": "10.9.2",
"ts-prune": "0.10.3",
"ts-unused-exports": "10.0.1",
"tslib": "2.6.2",
"typescript": "5.3.3",
"undici": "6.3.0"
},
"oclif": {
"bin": "fluence",
"dirname": "fluence",
"commands": "./dist/commands",
"update": {
"s3": {
"bucket": "fcli-binaries",
"xz": false
}
},
"nsisCustomization": "./nsis/custom-installer.nsi",
"topics": {
"aqua": {
"description": "Set of convenience commands for converting JSON and YAML into Aqua object literal syntax"
},
"deal": {
"description": "Manage deals"
},
"default": {
"description": "Manage and display default CLI configurations"
},
"dep": {
"description": "Manage project's dependencies"
},
"key": {
"description": "Manage secret keys, that define peer-ids of both nox and js-client (including the one inside this CLI itself)"
},
"local": {
"description": "Manage local fluence environment using docker-compose"
},
"module": {
"description": "Manage project's service modules"
},
"provider": {
"description": "Set of commands to be used by providers or you can use them to manage your local environment"
},
"service": {
"description": "Manage project's services"
},
"spell": {
"description": "Manage project's spells"
},
"delegator": {
"description": "Commands that are useful for delegators"
}
},
"plugins": [
"@oclif/plugin-help",
"@oclif/plugin-not-found",
"@oclif/plugin-autocomplete",
"@oclif/plugin-update"
],
"topicSeparator": " "
},
"engines": {
"node": "=18"
},
"bugs": {
"url": "https://github.com/fluencelabs/cli/issues"
},
"keywords": [
"oclif"
],
"types": "dist/index.d.ts",
"prettier": {},
"eslintConfig": {
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 2022,
"project": [
"./tsconfig.json",
"./tsconfig.eslint.json",
"./test/tsconfig.json"
]
},
"extends": [
"eslint:recommended",
"plugin:node/recommended",
"plugin:@typescript-eslint/strict-type-checked",
"plugin:import/recommended",
"plugin:import/typescript",
"prettier"
],
"plugins": [
"@typescript-eslint",
"import",
"license-header",
"unused-imports"
],
"rules": {
"eqeqeq": [
"error",
"always"
],
"no-console": [
"error"
],
"arrow-body-style": [
"error",
"always"
],
"no-empty": [
"error",
{
"allowEmptyCatch": true
}
],
"operator-assignment": [
"error",
"never"
],
"curly": [
"error",
"all"
],
"no-unused-expressions": [
"error"
],
"dot-notation": [
"off"
],
"object-curly-spacing": [
"error",
"always"
],
"padding-line-between-statements": [
"error",
{
"blankLine": "always",
"prev": "multiline-expression",
"next": "*"
},
{
"blankLine": "always",
"prev": "*",
"next": "multiline-expression"
},
{
"blankLine": "always",
"prev": "multiline-block-like",
"next": "*"
},
{
"blankLine": "always",
"prev": "*",
"next": "multiline-block-like"
},
{
"blankLine": "always",
"prev": "multiline-const",
"next": "*"
},
{
"blankLine": "always",
"prev": "*",
"next": "multiline-const"
},
{
"blankLine": "always",
"prev": "multiline-let",
"next": "*"
},
{
"blankLine": "always",
"prev": "*",
"next": "multiline-let"
},
{
"blankLine": "any",
"prev": "case",
"next": "case"
}
],
"import/extensions": [
"error",
"always"
],
"import/no-unresolved": "off",
"import/no-cycle": [
"error"
],
"import/order": [
"error",
{
"newlines-between": "always",
"alphabetize": {
"order": "asc",
"caseInsensitive": true
}
}
],
"node/no-unsupported-features/es-syntax": "off",
"node/no-unpublished-import": "off",
"node/no-missing-import": "off",
"@typescript-eslint/explicit-member-accessibility": [
"error",
{
"accessibility": "no-public"
}
],
"@typescript-eslint/strict-boolean-expressions": [
"error",
{
"allowString": false,
"allowNumber": false,
"allowNullableObject": false,
"allowNullableBoolean": false,
"allowNullableString": false,
"allowNullableNumber": false,
"allowAny": false
}
],
"@typescript-eslint/consistent-type-assertions": [
"error",
{
"assertionStyle": "never"
}
],
"unused-imports/no-unused-imports": "error",
"license-header/header": [
"error",
"./resources/license-header.js"
]
},
"overrides": [
{
"files": [
"test/**/*"
],
"rules": {
"no-console": "off"
}
}
]
},
"eslintIgnore": [
"/dist",
"/src/ts/**/*",
"tmp",
"resources"
],
"directories": {
"test": "test"
}
}