package.json 4.0 KB

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