package.json 4.7 KB

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