package.json 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148
  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.1",
  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. "@types/cli-progress": "^3.9.1",
  23. "@types/fluent-ffmpeg": "^2.1.16",
  24. "@types/inquirer": "^6.5.0",
  25. "@types/mime-types": "^2.1.0",
  26. "@types/proper-lockfile": "^4.1.1",
  27. "@types/slug": "^0.9.1",
  28. "ajv": "^6.11.0",
  29. "axios": "^0.21.1",
  30. "cli-progress": "^3.9.0",
  31. "cli-ux": "^5.4.5",
  32. "fluent-ffmpeg": "^2.1.2",
  33. "inquirer": "^7.1.0",
  34. "inquirer-datepicker-prompt": "^0.4.2",
  35. "ipfs-http-client": "^47.0.1",
  36. "ipfs-only-hash": "^1.0.2",
  37. "it-all": "^1.0.4",
  38. "it-drain": "^1.0.3",
  39. "it-first": "^1.0.4",
  40. "it-last": "^1.0.4",
  41. "it-to-buffer": "^1.0.4",
  42. "mime-types": "^2.1.30",
  43. "moment": "^2.24.0",
  44. "proper-lockfile": "^4.1.1",
  45. "slug": "^2.1.1",
  46. "tslib": "^1.11.1",
  47. "blake3-wasm": "^2.1.5",
  48. "multihashes": "^4.0.3",
  49. "@apollo/client": "^3.2.5",
  50. "cross-fetch": "^3.0.6",
  51. "form-data": "^4.0.0"
  52. },
  53. "devDependencies": {
  54. "@oclif/dev-cli": "^1.22.2",
  55. "@oclif/test": "^1.2.5",
  56. "@polkadot/ts": "^0.4.8",
  57. "@types/chai": "^4.2.11",
  58. "@types/mocha": "^5.2.7",
  59. "@types/node": "^10.17.18",
  60. "chai": "^4.2.0",
  61. "eslint": "^7.6.0",
  62. "eslint-config-oclif": "^3.1.0",
  63. "eslint-config-oclif-typescript": "^0.1.0",
  64. "globby": "^10.0.2",
  65. "json-schema-to-typescript": "^9.1.1",
  66. "mocha": "^5.2.0",
  67. "nyc": "^14.1.1",
  68. "ts-node": "^10.2.1",
  69. "typescript": "^4.4.3",
  70. "@graphql-codegen/cli": "^1.21.4",
  71. "@graphql-codegen/typescript": "^1.22.0",
  72. "@graphql-codegen/import-types-preset": "^1.18.1",
  73. "@graphql-codegen/typescript-operations": "^1.17.16",
  74. "@graphql-codegen/typescript-document-nodes": "^1.17.11"
  75. },
  76. "engines": {
  77. "node": ">=14.0.0",
  78. "yarn": "^1.22.0"
  79. },
  80. "publishConfig": {
  81. "access": "public",
  82. "registry": "https://registry.npmjs.org"
  83. },
  84. "files": [
  85. "/bin",
  86. "/lib",
  87. "/npm-shrinkwrap.json",
  88. "/oclif.manifest.json"
  89. ],
  90. "homepage": "https://github.com/Joystream/joystream/blob/master/cli",
  91. "keywords": [
  92. "oclif"
  93. ],
  94. "license": "GPL-3.0-only",
  95. "main": "lib/index.js",
  96. "oclif": {
  97. "repositoryPrefix": "<%- repo %>/blob/master/cli/<%- commandPath %>",
  98. "commands": "./lib/commands",
  99. "bin": "joystream-cli",
  100. "plugins": [
  101. "@oclif/plugin-help",
  102. "@oclif/plugin-autocomplete",
  103. "@oclif/plugin-not-found",
  104. "@oclif/plugin-warn-if-update-available"
  105. ],
  106. "topics": {
  107. "council": {
  108. "description": "Council-related information and activities like voting, becoming part of the council etc."
  109. },
  110. "account": {
  111. "description": "Accounts management - create, import or switch currently used account"
  112. },
  113. "api": {
  114. "description": "Inspect the substrate node api, perform lower-level api calls or change the current api provider uri"
  115. },
  116. "working-groups": {
  117. "description": "Working group lead and worker actions"
  118. },
  119. "content": {
  120. "description": "Interactions with content directory module - managing vidoes, channels, assets, categories and curator groups"
  121. }
  122. }
  123. },
  124. "repository": {
  125. "type": "git",
  126. "url": "https://github.com/Joystream/joystream",
  127. "directory": "cli"
  128. },
  129. "scripts": {
  130. "postpack": "rm -f oclif.manifest.json",
  131. "posttest": "yarn lint",
  132. "prepack": "rm -rf lib && tsc -b && oclif-dev manifest && oclif-dev readme",
  133. "test": "nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"",
  134. "build": "tsc --build tsconfig.json",
  135. "version": "oclif-dev readme && git add README.md",
  136. "lint": "eslint ./src --ext .ts",
  137. "checks": "tsc --noEmit --pretty && prettier ./ --check && yarn lint",
  138. "format": "prettier ./ --write",
  139. "generate:schema-typings": "rm -rf ./src/schemas/typings && json2ts -i ./src/schemas/json/ -o ./src/schemas/typings/ && prettier ./src/schemas/typings/ --write",
  140. "generate:graphql-typings": "graphql-codegen",
  141. "generate:all": "yarn generate:schema-typings && yarn generate:graphql-typings"
  142. },
  143. "types": "lib/index.d.ts",
  144. "volta": {
  145. "node": "14.16.1",
  146. "yarn": "1.22.15"
  147. }
  148. }