package.json 4.6 KB

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