package.json 4.6 KB

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