package.json 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158
  1. {
  2. "name": "@joystream/cli",
  3. "description": "Command Line Interface for Joystream community and governance activities",
  4. "version": "0.7.0",
  5. "author": "Leszek Wiesner",
  6. "bin": {
  7. "joystream-cli": "./bin/run"
  8. },
  9. "bugs": "https://github.com/Joystream/joystream/issues",
  10. "dependencies": {
  11. "@apollo/client": "^3.3.13",
  12. "cross-fetch": "^3.0.6",
  13. "@apidevtools/json-schema-ref-parser": "^9.0.6",
  14. "@ffprobe-installer/ffprobe": "^1.1.0",
  15. "@joystream/metadata-protobuf": "^2.1.0",
  16. "@joystream/types": "^0.18.3",
  17. "@oclif/command": "^1.5.19",
  18. "@oclif/config": "^1.14.0",
  19. "@oclif/plugin-autocomplete": "^0.2.0",
  20. "@oclif/plugin-help": "^3.2.2",
  21. "@oclif/plugin-not-found": "^1.2.4",
  22. "@oclif/plugin-warn-if-update-available": "^1.7.0",
  23. "@polkadot/api": "5.9.1",
  24. "@polkadot/keyring": "7.3.1",
  25. "@polkadot/util": "7.3.1",
  26. "@polkadot/util-crypto": "7.3.1",
  27. "@types/cli-progress": "^3.9.1",
  28. "@types/fluent-ffmpeg": "^2.1.16",
  29. "@types/inquirer": "^6.5.0",
  30. "@types/mime-types": "^2.1.0",
  31. "@types/proper-lockfile": "^4.1.1",
  32. "@types/slug": "^0.9.1",
  33. "ajv": "^6.11.0",
  34. "axios": "^0.21.1",
  35. "cli-progress": "^3.9.0",
  36. "cli-ux": "^5.4.5",
  37. "fluent-ffmpeg": "^2.1.2",
  38. "inquirer": "^7.1.0",
  39. "inquirer-datepicker-prompt": "^0.4.2",
  40. "ipfs-http-client": "^47.0.1",
  41. "ipfs-only-hash": "^1.0.2",
  42. "it-all": "^1.0.4",
  43. "it-drain": "^1.0.3",
  44. "it-first": "^1.0.4",
  45. "it-last": "^1.0.4",
  46. "it-to-buffer": "^1.0.4",
  47. "mime-types": "^2.1.30",
  48. "moment": "^2.24.0",
  49. "proper-lockfile": "^4.1.1",
  50. "slug": "^2.1.1",
  51. "tslib": "^1.11.1",
  52. "blake3-wasm": "^2.1.5",
  53. "multihashes": "^4.0.3",
  54. "form-data": "^4.0.0",
  55. "graphql": "^14.7.0"
  56. },
  57. "devDependencies": {
  58. "@oclif/dev-cli": "^1.22.2",
  59. "@oclif/test": "^1.2.5",
  60. "@polkadot/ts": "^0.4.8",
  61. "@types/chai": "^4.2.11",
  62. "@types/mocha": "^5.2.7",
  63. "@types/node": "^10.17.18",
  64. "chai": "^4.2.0",
  65. "eslint": "^7.6.0",
  66. "eslint-config-oclif": "^3.1.0",
  67. "eslint-config-oclif-typescript": "^0.1.0",
  68. "globby": "^10.0.2",
  69. "mocha": "^5.2.0",
  70. "nyc": "^14.1.1",
  71. "ts-node": "^10.2.1",
  72. "typescript": "^4.4.3",
  73. "json-schema-to-typescript": "^10.1.4",
  74. "@graphql-codegen/cli": "^1.21.4",
  75. "@graphql-codegen/typescript": "^1.22.0",
  76. "@graphql-codegen/import-types-preset": "^1.18.1",
  77. "@graphql-codegen/typescript-operations": "^1.17.16",
  78. "@graphql-codegen/typescript-document-nodes": "^1.17.11"
  79. },
  80. "engines": {
  81. "node": ">=14.0.0",
  82. "yarn": "^1.22.0"
  83. },
  84. "publishConfig": {
  85. "access": "public",
  86. "registry": "https://registry.npmjs.org"
  87. },
  88. "files": [
  89. "/bin",
  90. "/lib",
  91. "/npm-shrinkwrap.json",
  92. "/oclif.manifest.json"
  93. ],
  94. "homepage": "https://github.com/Joystream/joystream/blob/master/cli",
  95. "keywords": [
  96. "oclif"
  97. ],
  98. "license": "GPL-3.0-only",
  99. "main": "lib/index.js",
  100. "oclif": {
  101. "repositoryPrefix": "<%- repo %>/blob/master/cli/<%- commandPath %>",
  102. "commands": "./lib/commands",
  103. "bin": "joystream-cli",
  104. "plugins": [
  105. "@oclif/plugin-help",
  106. "@oclif/plugin-autocomplete",
  107. "@oclif/plugin-not-found",
  108. "@oclif/plugin-warn-if-update-available"
  109. ],
  110. "topics": {
  111. "account": {
  112. "description": "Accounts management - create, import or switch currently used account"
  113. },
  114. "api": {
  115. "description": "Inspect the substrate node api, perform lower-level api calls or change the current api provider uri"
  116. },
  117. "working-groups": {
  118. "description": "Working group lead and worker actions"
  119. },
  120. "content": {
  121. "description": "Interactions with content directory module - managing vidoes, channels, assets, categories and curator groups"
  122. },
  123. "membership": {
  124. "description": "Membership management - buy a new membership, update membership, manage membership keys"
  125. },
  126. "forum": {
  127. "description": "Forum working group activities (moderation, category management)"
  128. },
  129. "staking": {
  130. "description": "Staking and validation commands"
  131. }
  132. }
  133. },
  134. "repository": {
  135. "type": "git",
  136. "url": "https://github.com/Joystream/joystream",
  137. "directory": "cli"
  138. },
  139. "scripts": {
  140. "postpack": "rm -f oclif.manifest.json",
  141. "posttest": "yarn lint",
  142. "prepack": "rm -rf lib && tsc -b && oclif-dev manifest && oclif-dev readme",
  143. "test": "nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"",
  144. "build": "rm -rf lib && tsc --build tsconfig.json",
  145. "version": "oclif-dev readme && git add README.md",
  146. "lint": "eslint ./src --ext .ts",
  147. "checks": "tsc --noEmit --pretty && prettier ./ --check && yarn lint",
  148. "format": "prettier ./ --write",
  149. "generate:schema-typings": "rm -rf ./src/schemas/typings && json2ts -i ./src/schemas/json/ -o ./src/schemas/typings/ && yarn format",
  150. "generate:graphql-typings": "graphql-codegen",
  151. "generate:all": "yarn generate:schema-typings && yarn generate:graphql-typings"
  152. },
  153. "types": "lib/index.d.ts",
  154. "volta": {
  155. "node": "14.16.1",
  156. "yarn": "1.22.15"
  157. }
  158. }