package.json 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  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/read-chunk": "^3.1.0",
  24. "@types/send": "^0.17.0",
  25. "@types/superagent": "^4.1.12",
  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. "cross-fetch": "^3.1.4",
  32. "express": "4.17.1",
  33. "express-openapi-validator": "^4.12.4",
  34. "express-winston": "^4.1.0",
  35. "file-type": "^16.5.0",
  36. "lodash": "^4.17.21",
  37. "multihashes": "^4.0.2",
  38. "node-cache": "^5.1.2",
  39. "openapi-editor": "^0.3.0",
  40. "read-chunk": "^3.2.0",
  41. "send": "^0.17.1",
  42. "sleep-promise": "^9.1.0",
  43. "superagent": "^6.1.0",
  44. "tslib": "^1",
  45. "url-join": "^4.0.1",
  46. "winston": "^3.3.3"
  47. },
  48. "devDependencies": {
  49. "@graphql-codegen/cli": "^1.21.4",
  50. "@graphql-codegen/import-types-preset": "^1.18.1",
  51. "@graphql-codegen/typescript": "^1.22.0",
  52. "@graphql-codegen/typescript-document-nodes": "^1.17.11",
  53. "@graphql-codegen/typescript-operations": "^1.17.16",
  54. "@joystream/eslint-config": "^1.0.0",
  55. "@oclif/dev-cli": "^1",
  56. "@oclif/test": "^1",
  57. "@types/chai": "^4",
  58. "@types/mocha": "^5",
  59. "@types/node": "^10",
  60. "@types/pg": "^8.6.1",
  61. "@types/swagger-ui-express": "^4.1.2",
  62. "@typescript-eslint/eslint-plugin": "3.8.0",
  63. "@typescript-eslint/parser": "3.8.0",
  64. "chai": "^4",
  65. "eslint": "^7.6.0",
  66. "eslint-config-oclif": "^3.1",
  67. "eslint-config-oclif-typescript": "^0.1",
  68. "globby": "^10",
  69. "mocha": "^5",
  70. "nyc": "^14",
  71. "pg": "^8.7.1",
  72. "prettier": "^2.3.0",
  73. "sinon": "^11.1.1",
  74. "swagger-ui-express": "^4.1.6",
  75. "ts-node": "^8.8.2",
  76. "type-doc": "^0.1.41",
  77. "typescript": "^3.3"
  78. },
  79. "engines": {
  80. "node": ">=14.16.1"
  81. },
  82. "volta": {
  83. "node": "14.16.1",
  84. "yarn": "1.22.4"
  85. },
  86. "files": [
  87. "/bin",
  88. "/lib",
  89. "/npm-shrinkwrap.json",
  90. "/oclif.manifest.json"
  91. ],
  92. "homepage": "https://github.com/Joystream/joystream",
  93. "keywords": [
  94. "joystream",
  95. "storage-node"
  96. ],
  97. "license": "GPL-3.0-only",
  98. "main": "lib/index.js",
  99. "oclif": {
  100. "commands": "./lib/commands",
  101. "bin": "storage-node",
  102. "plugins": [
  103. "@oclif/plugin-help"
  104. ],
  105. "topics": {
  106. "wg": {
  107. "description": "Storage working group commands."
  108. },
  109. "wg:leader": {
  110. "description": "Storage working group leader commands."
  111. }
  112. }
  113. },
  114. "repository": {
  115. "type": "git",
  116. "url": "https://github.com/Joystream/joystream",
  117. "directory": "storage-node-v2"
  118. },
  119. "scripts": {
  120. "postpack": "rm -f oclif.manifest.json",
  121. "posttest": "yarn lint",
  122. "prepack": "rm -rf lib && tsc -b && oclif-dev manifest && oclif-dev readme",
  123. "version": "oclif-dev readme && git add README.md",
  124. "build": "tsc --build tsconfig.json",
  125. "format": "prettier ./src --write",
  126. "lint": "eslint ./src --ext .ts",
  127. "api:edit": "openapi-editor --file ./src/api-spec/openapi.yaml --port 10021",
  128. "generate:types:graphql": "yarn graphql-codegen -c ./src/services/queryNode/codegen.yml"
  129. },
  130. "types": "lib/index.d.ts"
  131. }