package.json 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152
  1. {
  2. "name": "@joystream/cli",
  3. "description": "Command Line Interface for Joystream community and governance activities",
  4. "version": "0.6.0",
  5. "author": "Leszek Wiesner",
  6. "bin": {
  7. "joystream-cli": "./bin/run"
  8. },
  9. "bugs": "https://github.com/Joystream/joystream/issues",
  10. "dependencies": {
  11. "@apidevtools/json-schema-ref-parser": "^9.0.6",
  12. "@ffprobe-installer/ffprobe": "^1.1.0",
  13. "@joystream/metadata-protobuf": "^1.0.0",
  14. "@joystream/types": "^0.17.2",
  15. "@oclif/command": "^1.5.19",
  16. "@oclif/config": "^1.14.0",
  17. "@oclif/plugin-autocomplete": "^0.2.0",
  18. "@oclif/plugin-help": "^3.2.2",
  19. "@oclif/plugin-not-found": "^1.2.4",
  20. "@oclif/plugin-warn-if-update-available": "^1.7.0",
  21. "@polkadot/api": "5.9.1",
  22. "@polkadot/keyring": "7.3.1",
  23. "@polkadot/util": "7.3.1",
  24. "@polkadot/util-crypto": "7.3.1",
  25. "@types/cli-progress": "^3.9.1",
  26. "@types/fluent-ffmpeg": "^2.1.16",
  27. "@types/inquirer": "^6.5.0",
  28. "@types/mime-types": "^2.1.0",
  29. "@types/proper-lockfile": "^4.1.1",
  30. "@types/slug": "^0.9.1",
  31. "ajv": "^6.11.0",
  32. "axios": "^0.21.1",
  33. "cli-progress": "^3.9.0",
  34. "cli-ux": "^5.4.5",
  35. "fluent-ffmpeg": "^2.1.2",
  36. "inquirer": "^7.1.0",
  37. "inquirer-datepicker-prompt": "^0.4.2",
  38. "ipfs-http-client": "^47.0.1",
  39. "ipfs-only-hash": "^1.0.2",
  40. "it-all": "^1.0.4",
  41. "it-drain": "^1.0.3",
  42. "it-first": "^1.0.4",
  43. "it-last": "^1.0.4",
  44. "it-to-buffer": "^1.0.4",
  45. "mime-types": "^2.1.30",
  46. "moment": "^2.24.0",
  47. "proper-lockfile": "^4.1.1",
  48. "slug": "^2.1.1",
  49. "tslib": "^1.11.1",
  50. "blake3-wasm": "^2.1.5",
  51. "multihashes": "^4.0.3",
  52. "@apollo/client": "^3.2.5",
  53. "cross-fetch": "^3.0.6",
  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. "json-schema-to-typescript": "^9.1.1",
  70. "mocha": "^5.2.0",
  71. "nyc": "^14.1.1",
  72. "ts-node": "^10.2.1",
  73. "typescript": "^4.4.3",
  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. "council": {
  112. "description": "Council-related information and activities like voting, becoming part of the council etc."
  113. },
  114. "account": {
  115. "description": "Accounts management - create, import or switch currently used account"
  116. },
  117. "api": {
  118. "description": "Inspect the substrate node api, perform lower-level api calls or change the current api provider uri"
  119. },
  120. "working-groups": {
  121. "description": "Working group lead and worker actions"
  122. },
  123. "content": {
  124. "description": "Interactions with content directory module - managing vidoes, channels, assets, categories and curator groups"
  125. }
  126. }
  127. },
  128. "repository": {
  129. "type": "git",
  130. "url": "https://github.com/Joystream/joystream",
  131. "directory": "cli"
  132. },
  133. "scripts": {
  134. "postpack": "rm -f oclif.manifest.json",
  135. "posttest": "yarn lint",
  136. "prepack": "rm -rf lib && tsc -b && oclif-dev manifest && oclif-dev readme",
  137. "test": "nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"",
  138. "build": "tsc --build tsconfig.json",
  139. "version": "oclif-dev readme && git add README.md",
  140. "lint": "eslint ./src --ext .ts",
  141. "checks": "tsc --noEmit --pretty && prettier ./ --check && yarn lint",
  142. "format": "prettier ./ --write",
  143. "generate:schema-typings": "rm -rf ./src/schemas/typings && json2ts -i ./src/schemas/json/ -o ./src/schemas/typings/ && prettier ./src/schemas/typings/ --write",
  144. "generate:graphql-typings": "graphql-codegen",
  145. "generate:all": "yarn generate:schema-typings && yarn generate:graphql-typings"
  146. },
  147. "types": "lib/index.d.ts",
  148. "volta": {
  149. "node": "14.16.1",
  150. "yarn": "1.22.15"
  151. }
  152. }