package.json 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  1. {
  2. "name": "storage-node-v2",
  3. "description": "Joystream storage subsystem.",
  4. "version": "0.1.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. "@oclif/command": "^1",
  14. "@oclif/config": "^1",
  15. "@oclif/plugin-help": "^3",
  16. "@polkadot/api": "4.2.1",
  17. "@types/base64url": "^2.0.0",
  18. "@types/express": "4.17.13",
  19. "@types/file-type": "^10.9.1",
  20. "@types/lodash": "^4.14.171",
  21. "@types/multer": "^1.4.5",
  22. "@types/node-cache": "^4.2.5",
  23. "@types/node-fetch": "^2.5.12",
  24. "@types/read-chunk": "^3.1.0",
  25. "@types/send": "^0.17.0",
  26. "@types/url-join": "^4.0.1",
  27. "@types/winston": "^2.4.4",
  28. "await-lock": "^2.1.0",
  29. "base64url": "^3.0.1",
  30. "blake3": "^2.1.4",
  31. "express": "4.17.1",
  32. "express-openapi-validator": "^4.12.4",
  33. "express-winston": "^4.1.0",
  34. "file-type": "^16.5.0",
  35. "lodash": "^4.17.21",
  36. "multihashes": "^4.0.2",
  37. "node-cache": "^5.1.2",
  38. "node-fetch": "^2.6.1",
  39. "openapi-editor": "^0.3.0",
  40. "read-chunk": "^3.2.0",
  41. "send": "^0.17.1",
  42. "sleep-promise": "^9.1.0",
  43. "tslib": "^1",
  44. "url-join": "^4.0.1",
  45. "winston": "^3.3.3"
  46. },
  47. "devDependencies": {
  48. "@graphql-codegen/cli": "^1.21.4",
  49. "@graphql-codegen/import-types-preset": "^1.18.1",
  50. "@graphql-codegen/typescript": "^1.22.0",
  51. "@graphql-codegen/typescript-document-nodes": "^1.17.11",
  52. "@graphql-codegen/typescript-operations": "^1.17.16",
  53. "@joystream/eslint-config": "^1.0.0",
  54. "@oclif/dev-cli": "^1",
  55. "@oclif/test": "^1",
  56. "@types/chai": "^4",
  57. "@types/mocha": "^5",
  58. "@types/node": "^10",
  59. "@types/swagger-ui-express": "^4.1.2",
  60. "@typescript-eslint/eslint-plugin": "3.8.0",
  61. "@typescript-eslint/parser": "3.8.0",
  62. "chai": "^4",
  63. "eslint": "^7.6.0",
  64. "eslint-config-oclif": "^3.1",
  65. "eslint-config-oclif-typescript": "^0.1",
  66. "globby": "^10",
  67. "mocha": "^5",
  68. "nyc": "^14",
  69. "prettier": "^2.3.0",
  70. "sinon": "^11.1.1",
  71. "swagger-ui-express": "^4.1.6",
  72. "ts-node": "^8.8.2",
  73. "type-doc": "^0.1.41",
  74. "typescript": "^3.3"
  75. },
  76. "engines": {
  77. "node": ">=14.16.1"
  78. },
  79. "volta": {
  80. "node": "14.16.1",
  81. "yarn": "1.22.4"
  82. },
  83. "files": [
  84. "/bin",
  85. "/lib",
  86. "/npm-shrinkwrap.json",
  87. "/oclif.manifest.json"
  88. ],
  89. "homepage": "https://github.com/Joystream/joystream",
  90. "keywords": [
  91. "joystream",
  92. "storage-node"
  93. ],
  94. "license": "GPL-3.0-only",
  95. "main": "lib/index.js",
  96. "oclif": {
  97. "commands": "./lib/commands",
  98. "bin": "storage-node",
  99. "plugins": [
  100. "@oclif/plugin-help"
  101. ],
  102. "topics": {
  103. "wg": {
  104. "description": "Storage working group commands."
  105. },
  106. "wg:leader": {
  107. "description": "Storage working group leader commands."
  108. }
  109. }
  110. },
  111. "repository": {
  112. "type": "git",
  113. "url": "https://github.com/Joystream/joystream",
  114. "directory": "storage-node-v2"
  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. "version": "oclif-dev readme && git add README.md",
  121. "build": "tsc --build tsconfig.json",
  122. "format": "prettier ./src --write",
  123. "lint": "eslint ./src --ext .ts",
  124. "api:edit": "openapi-editor --file ./src/api-spec/openapi.yaml --port 10021",
  125. "generate:types:graphql": "yarn graphql-codegen -c ./src/services/query-node/codegen.yml"
  126. },
  127. "types": "lib/index.d.ts"
  128. }