package.json 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146
  1. {
  2. "name": "storage-node-v2",
  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. "@joystream/types": "^0.17.0",
  13. "@joystream/metadata-protobuf": "^1.0.0",
  14. "@oclif/command": "^1",
  15. "@oclif/config": "^1",
  16. "@oclif/plugin-help": "^3",
  17. "@polkadot/api": "5.9.1",
  18. "@types/base64url": "^2.0.0",
  19. "@types/express": "4.17.13",
  20. "@types/file-type": "^10.9.1",
  21. "@types/lodash": "^4.14.171",
  22. "@types/multer": "^1.4.5",
  23. "@types/node-cache": "^4.2.5",
  24. "@types/promise-timeout": "^1.3.0",
  25. "@types/read-chunk": "^3.1.0",
  26. "@types/rimraf": "^3.0.2",
  27. "@types/send": "^0.17.0",
  28. "@types/superagent": "^4.1.12",
  29. "@types/url-join": "^4.0.1",
  30. "@types/uuid": "^8.3.1",
  31. "@types/winston": "^2.4.4",
  32. "ajv": "^7",
  33. "await-lock": "^2.1.0",
  34. "base64url": "^3.0.1",
  35. "blake3-wasm": "^2.1.5",
  36. "cross-fetch": "^3.1.4",
  37. "express": "4.17.1",
  38. "express-openapi-validator": "4.12.4",
  39. "express-winston": "^4.1.0",
  40. "fast-folder-size": "^1.4.0",
  41. "file-type": "^16.5.0",
  42. "lodash": "^4.17.21",
  43. "multihashes": "^4.0.2",
  44. "node-cache": "^5.1.2",
  45. "openapi-editor": "^0.3.0",
  46. "promise-timeout": "^1.3.0",
  47. "read-chunk": "^3.2.0",
  48. "rimraf": "^3.0.2",
  49. "send": "^0.17.1",
  50. "sleep-promise": "^9.1.0",
  51. "superagent": "^6.1.0",
  52. "tslib": "^1",
  53. "url-join": "^4.0.1",
  54. "uuid": "^8.3.2",
  55. "winston": "^3.3.3",
  56. "winston-elasticsearch": "^0.15.8"
  57. },
  58. "devDependencies": {
  59. "@graphql-codegen/cli": "^1.21.4",
  60. "@graphql-codegen/import-types-preset": "^1.18.1",
  61. "@graphql-codegen/typescript": "^1.22.0",
  62. "@graphql-codegen/typescript-document-nodes": "^1.17.11",
  63. "@graphql-codegen/typescript-operations": "^1.17.16",
  64. "@joystream/eslint-config": "^1.0.0",
  65. "@oclif/dev-cli": "^1",
  66. "@oclif/test": "^1",
  67. "@types/chai": "^4",
  68. "@types/mocha": "^5",
  69. "@types/node": "^10",
  70. "@types/pg": "^8.6.1",
  71. "@types/swagger-ui-express": "^4.1.2",
  72. "@typescript-eslint/eslint-plugin": "3.8.0",
  73. "@typescript-eslint/parser": "3.8.0",
  74. "chai": "^4",
  75. "eslint": "^7.6.0",
  76. "eslint-config-oclif": "^3.1",
  77. "eslint-config-oclif-typescript": "^0.1",
  78. "globby": "^10",
  79. "mocha": "^5",
  80. "nyc": "^14",
  81. "pg": "^8.7.1",
  82. "prettier": "^2.3.0",
  83. "sinon": "^11.1.1",
  84. "swagger-ui-express": "^4.1.6",
  85. "ts-node": "^10.2.1",
  86. "type-doc": "^0.1.41",
  87. "typescript": "^4.4.3"
  88. },
  89. "engines": {
  90. "node": ">=14.16.1"
  91. },
  92. "volta": {
  93. "node": "14.16.1",
  94. "yarn": "1.22.4"
  95. },
  96. "files": [
  97. "/bin",
  98. "/lib",
  99. "/npm-shrinkwrap.json",
  100. "/oclif.manifest.json"
  101. ],
  102. "homepage": "https://github.com/Joystream/joystream",
  103. "keywords": [
  104. "joystream",
  105. "storage-node"
  106. ],
  107. "license": "GPL-3.0-only",
  108. "main": "lib/index.js",
  109. "oclif": {
  110. "commands": "./lib/commands",
  111. "bin": "storage-node",
  112. "plugins": [
  113. "@oclif/plugin-help"
  114. ],
  115. "topics": {
  116. "dev": {
  117. "description": "Development mode commands."
  118. },
  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-v2"
  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": "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. },
  145. "types": "lib/index.d.ts"
  146. }