123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153 |
- {
- "name": "@joystream/distributor-cli",
- "description": "Joystream distributor node CLI",
- "version": "0.1.0",
- "author": "Joystream contributors",
- "bin": {
- "joystream-distributor": "./bin/run"
- },
- "bugs": "https://github.com/Joystream/joystream/issues",
- "dependencies": {
- "@apollo/client": "^3.2.5",
- "@elastic/ecs-winston-format": "^1.1.0",
- "@joystream/metadata-protobuf": "^2.1.0",
- "@joystream/types": "^0.18.3",
- "@oclif/command": "^1",
- "@oclif/config": "^1",
- "@oclif/plugin-help": "^3",
- "ajv": "^7",
- "axios": "^0.21.1",
- "blake3-wasm": "^2.1.5",
- "cors": "^2.8.5",
- "cross-fetch": "^3.1.4",
- "express": "^4.17.1",
- "express-http-proxy": "^1.6.2",
- "express-openapi-validator": "^4.12.4",
- "express-winston": "^4.1.0",
- "fast-safe-stringify": "^2.1.1",
- "file-type": "^16.5.1",
- "graphql": "^14.7.0",
- "inquirer": "^8.1.2",
- "js-image-generator": "^1.0.3",
- "lodash": "^4.17.21",
- "lru-cache": "^6.0.0",
- "multihashes": "^4.0.3",
- "node-cache": "^5.1.2",
- "node-cleanup": "^2.1.2",
- "proper-lockfile": "^4.1.2",
- "queue": "^6.0.2",
- "read-chunk": "^3.2.0",
- "send": "^0.17.1",
- "tslib": "^1",
- "winston": "^3.3.3",
- "winston-elasticsearch": "^0.15.8",
- "url-join": "^4.0.1",
- "@types/url-join": "^4.0.1",
- "winston-daily-rotate-file": "^4.5.5",
- "jsonwebtoken": "^8.5.1",
- "yaml": "^1.10.2"
- },
- "devDependencies": {
- "@adobe/jsonschema2md": "https://github.com/adobe/jsonschema2md",
- "@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",
- "@oclif/dev-cli": "^1",
- "@oclif/test": "^1",
- "@openapitools/openapi-generator-cli": "^2.3.6",
- "@types/chai": "^4",
- "@types/cors": "^2.8.12",
- "@types/express-http-proxy": "^1.6.2",
- "@types/inquirer": "^8.1.1",
- "@types/mocha": "^5",
- "@types/node": "^14",
- "@types/node-cache": "^4.2.5",
- "@types/node-cleanup": "^2.1.1",
- "@types/send": "^0.17.0",
- "chai": "^4",
- "globby": "^10",
- "json-schema-to-typescript": "^10.1.4",
- "markdown-magic": "^2.5.2",
- "mocha": "^5",
- "nyc": "^14",
- "openapi-typescript": "^4.0.2",
- "ts-node": "^8",
- "typescript": "^3.3",
- "widdershins": "^4.0.1"
- },
- "engines": {
- "node": ">=14.16.1"
- },
- "volta": {
- "node": "14.16.1",
- "yarn": "1.22.15"
- },
- "files": [
- "/bin",
- "/lib",
- "/npm-shrinkwrap.json",
- "/oclif.manifest.json"
- ],
- "homepage": "https://github.com/Joystream/joystream",
- "keywords": [
- "oclif"
- ],
- "license": "GPL-3.0-only",
- "main": "lib/index.js",
- "oclif": {
- "commands": "./lib/commands",
- "bin": "joystream-distributor",
- "plugins": [
- "@oclif/plugin-help"
- ],
- "topics": {
- "leader": {
- "description": "Commands for performing Distribution Working Group leader on-chain duties (like setting distribution module limits and parameters, assigning bags and buckets etc.)"
- },
- "operator": {
- "description": "Commands for performing node operator (Distribution Working Group worker) on-chain duties (like accepting bucket invitations, setting node metadata)"
- },
- "node": {
- "description": "Commands for interacting with a running distributor node through OperatorApi"
- },
- "dev": {
- "description": "Developer utility commands"
- }
- }
- },
- "repository": {
- "type": "git",
- "url": "https://github.com/Joystream/joystream",
- "directory": "distributor-node"
- },
- "scripts": {
- "postpack": "rm -f oclif.manifest.json",
- "prepack": "rm -rf lib && tsc -b && oclif-dev manifest && generate:all",
- "test": "nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"",
- "version": "generate:docs:cli && git add docs/cli/*",
- "generate:types:json-schema": "yarn ts-node ./src/schemas/scripts/generateTypes.ts",
- "generate:types:graphql": "yarn graphql-codegen -c ./src/services/networking/query-node/codegen.yml",
- "generate:types:public-api": "yarn openapi-typescript ./src/api-spec/public.yml -o ./src/types/generated/PublicApi.ts -c ../prettierrc.js",
- "generate:types:operator-api": "yarn openapi-typescript ./src/api-spec/operator.yml -o ./src/types/generated/OperatorApi.ts -c ../prettierrc.js",
- "generate:types:api": "yarn generate:types:public-api && yarn generate:types:operator-api",
- "generate:types:all": "yarn generate:types:json-schema && yarn generate:types:graphql && yarn generate:types:api",
- "generate:api:storage-node": "yarn openapi-generator-cli generate -i ../storage-node/src/api-spec/openapi.yaml -g typescript-axios -o ./src/services/networking/storage-node/generated",
- "generate:api:all": "yarn generate:api:storage-node",
- "generate:docs:cli": "yarn oclif-dev readme --multi --dir ./docs/commands",
- "generate:docs:config": "yarn ts-node --transpile-only ./src/schemas/scripts/generateConfigDoc.ts",
- "generate:docs:public-api": "yarn widdershins ./src/api-spec/public.yml --language_tabs javascript:JavaScript shell:Shell -o ./docs/api/public/index.md -u ./docs/api/templates",
- "generate:docs:operator-api": "yarn widdershins ./src/api-spec/operator.yml --language_tabs javascript:JavaScript shell:Shell -o ./docs/api/operator/index.md -u ./docs/api/templates",
- "generate:docs:api": "yarn generate:docs:public-api && yarn generate:docs:operator-api",
- "generate:docs:toc": "yarn md-magic --path ./docs/**/*.md",
- "generate:docs:all": "yarn generate:docs:cli && yarn generate:docs:config && yarn generate:docs:api && yarn generate:docs:toc",
- "generate:all": "yarn generate:types:all && yarn generate:api:all && yarn generate:docs:all",
- "build": "rm -rf lib && tsc --build tsconfig.json && cp -r ./src/api-spec ./lib/api-spec",
- "lint": "eslint ./src --ext .ts",
- "format": "prettier ./ --write",
- "checks": "tsc --noEmit --pretty && prettier ./ --check && yarn lint",
- "cli": "./bin/run"
- },
- "types": "lib/index.d.ts"
- }
|