package.json 4.1 KB

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