package.json 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147
  1. {
  2. "name": "storage-node",
  3. "description": "Joystream storage subsystem.",
  4. "version": "2.0.0",
  5. "author": "Joystream contributors",
  6. "bin": {
  7. "storage-node": "./bin/run"
  8. },
  9. "bugs": "https://github.com/Joystream/joystream/issues",
  10. "dependencies": {
  11. "@apollo/client": "^3.3.21",
  12. "@elastic/ecs-winston-format": "^1.3.1",
  13. "@joystream/metadata-protobuf": "^2.1.0",
  14. "@joystream/types": "^0.18.3",
  15. "@oclif/command": "^1",
  16. "@oclif/config": "^1",
  17. "@oclif/plugin-help": "^3",
  18. "@polkadot/api": "5.9.1",
  19. "@types/base64url": "^2.0.0",
  20. "@types/express": "4.17.13",
  21. "@types/file-type": "^10.9.1",
  22. "@types/lodash": "^4.14.171",
  23. "@types/multer": "^1.4.5",
  24. "@types/node-cache": "^4.2.5",
  25. "@types/promise-timeout": "^1.3.0",
  26. "@types/read-chunk": "^3.1.0",
  27. "@types/rimraf": "^3.0.2",
  28. "@types/send": "^0.17.0",
  29. "@types/superagent": "^4.1.12",
  30. "@types/url-join": "^4.0.1",
  31. "@types/uuid": "^8.3.1",
  32. "@types/winston": "^2.4.4",
  33. "ajv": "^7",
  34. "await-lock": "^2.1.0",
  35. "base64url": "^3.0.1",
  36. "blake3-wasm": "^2.1.5",
  37. "cross-fetch": "^3.1.4",
  38. "express": "4.17.1",
  39. "express-openapi-validator": "4.12.4",
  40. "express-winston": "^4.1.0",
  41. "fast-folder-size": "^1.4.0",
  42. "fast-safe-stringify": "^2.1.1",
  43. "file-type": "^16.5.0",
  44. "lodash": "^4.17.21",
  45. "multihashes": "^4.0.2",
  46. "node-cache": "^5.1.2",
  47. "openapi-editor": "^0.3.0",
  48. "promise-timeout": "^1.3.0",
  49. "read-chunk": "^3.2.0",
  50. "rimraf": "^3.0.2",
  51. "send": "^0.17.1",
  52. "sleep-promise": "^9.1.0",
  53. "superagent": "^6.1.0",
  54. "tslib": "^1",
  55. "url-join": "^4.0.1",
  56. "uuid": "^8.3.2",
  57. "winston": "^3.3.3",
  58. "winston-elasticsearch": "^0.15.8",
  59. "winston-daily-rotate-file": "^4.5.5"
  60. },
  61. "devDependencies": {
  62. "@graphql-codegen/cli": "^1.21.4",
  63. "@graphql-codegen/import-types-preset": "^1.18.1",
  64. "@graphql-codegen/typescript": "^1.22.0",
  65. "@graphql-codegen/typescript-document-nodes": "^1.17.11",
  66. "@graphql-codegen/typescript-operations": "^1.17.16",
  67. "@joystream/eslint-config": "^1.0.0",
  68. "@oclif/dev-cli": "^1",
  69. "@oclif/test": "^1",
  70. "@types/chai": "^4",
  71. "@types/mocha": "^5",
  72. "@types/node": "^10",
  73. "@types/pg": "^8.6.1",
  74. "@types/swagger-ui-express": "^4.1.2",
  75. "@typescript-eslint/eslint-plugin": "3.8.0",
  76. "@typescript-eslint/parser": "3.8.0",
  77. "chai": "^4",
  78. "eslint": "^7.6.0",
  79. "eslint-config-oclif": "^3.1",
  80. "eslint-config-oclif-typescript": "^0.1",
  81. "globby": "^10",
  82. "mocha": "^5",
  83. "nyc": "^14",
  84. "pg": "^8.7.1",
  85. "prettier": "^2.3.0",
  86. "sinon": "^11.1.1",
  87. "swagger-ui-express": "^4.1.6",
  88. "ts-node": "^10.2.1",
  89. "type-doc": "^0.1.41",
  90. "typescript": "^4.4.3"
  91. },
  92. "engines": {
  93. "node": ">=14.16.1"
  94. },
  95. "volta": {
  96. "node": "14.16.1",
  97. "yarn": "1.22.15"
  98. },
  99. "files": [
  100. "/bin",
  101. "/lib",
  102. "/npm-shrinkwrap.json",
  103. "/oclif.manifest.json"
  104. ],
  105. "homepage": "https://github.com/Joystream/joystream",
  106. "keywords": [
  107. "joystream",
  108. "storage-node"
  109. ],
  110. "license": "GPL-3.0-only",
  111. "main": "lib/index.js",
  112. "oclif": {
  113. "commands": "./lib/commands",
  114. "bin": "storage-node",
  115. "plugins": [
  116. "@oclif/plugin-help"
  117. ],
  118. "topics": {
  119. "leader": {
  120. "description": "Storage working group leader commands."
  121. },
  122. "operator": {
  123. "description": "Storage provider(operator) commands."
  124. }
  125. }
  126. },
  127. "repository": {
  128. "type": "git",
  129. "url": "https://github.com/Joystream/joystream",
  130. "directory": "storage-node"
  131. },
  132. "scripts": {
  133. "postpack": "rm -f oclif.manifest.json",
  134. "posttest": "yarn lint",
  135. "prepack": "rm -rf lib && tsc -b && oclif-dev manifest && oclif-dev readme",
  136. "version": "oclif-dev readme && git add README.md",
  137. "build": "tsc --build tsconfig.json",
  138. "format": "yarn prettier ./src --write",
  139. "lint": "eslint ./src --ext .ts",
  140. "api:edit": "openapi-editor --file ./src/api-spec/openapi.yaml --port 10021",
  141. "generate:types:graphql": "yarn graphql-codegen -c ./src/services/queryNode/codegen.yml",
  142. "generate:types:json-schema": "yarn ts-node ./src/services/metadata/generateTypes.ts",
  143. "ensure": "yarn format && yarn lint --fix && yarn build",
  144. "checks": "tsc --noEmit --pretty && prettier ./src --check && yarn lint"
  145. },
  146. "types": "lib/index.d.ts"
  147. }