package.json 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. {
  2. "repository": "https://github.com/singulart",
  3. "version": "2.0.0",
  4. "license": "MIT",
  5. "scripts": {
  6. "generate": "graphql-codegen && graphql-codegen --config codegen-atlas.yml",
  7. "start": "nest start",
  8. "prebuild": "rimraf dist",
  9. "build": "nest build",
  10. "format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
  11. "start:dev": "nest start --watch",
  12. "start:debug": "nest start --debug --watch",
  13. "start:prod": "node dist/src/main.js",
  14. "lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix",
  15. "test": "jest",
  16. "test:watch": "jest --watch",
  17. "test:cov": "jest --coverage",
  18. "test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand",
  19. "test:e2e": "jest --config ./test/jest-e2e.json",
  20. "postinstall": "npm run generate"
  21. },
  22. "dependencies": {
  23. "@discord-nestjs/common": "^3.4.2",
  24. "@discord-nestjs/core": "^3.6.0",
  25. "@golevelup/nestjs-graphql-request": "^0.1.13",
  26. "@graphql-codegen/cli": "^2.13.1",
  27. "@graphql-codegen/typescript-graphql-request": "^4.5.5",
  28. "@graphql-codegen/typescript-operations": "^2.5.3",
  29. "@joystream/types": "0.20.3",
  30. "@nestjs/common": "^8.4.7",
  31. "@nestjs/config": "2.1.0",
  32. "@nestjs/core": "^8.4.7",
  33. "@nestjs/event-emitter": "^1.3.1",
  34. "@nestjs/platform-express": "^8.4.7",
  35. "@nestjs/schedule": "^2.1.0",
  36. "@polkadot/util": "9.5.1",
  37. "@polkadot/util-crypto": "9.5.1",
  38. "axios": "^0.27.2",
  39. "cache-manager": "^4.1.0",
  40. "crypto": "^1.0.1",
  41. "discord.js": "^13.11.0",
  42. "graphql": "^16.6.0",
  43. "graphql-request": "^4.3.0",
  44. "install": "^0.13.0",
  45. "moment-duration-format": "^2.3.2",
  46. "nanoid": "^3.3.4",
  47. "npm": "^8.19.2",
  48. "pg": "^8.8.0",
  49. "reflect-metadata": "0.1.13",
  50. "rimraf": "3.0.2",
  51. "rxjs": "7.5.5",
  52. "sequelize": "^6.23.2",
  53. "sequelize-typescript": "^2.1.3",
  54. "typescript-retry-decorator": "^2.0.6"
  55. },
  56. "devDependencies": {
  57. "@nestjs/cli": "^8.2.8",
  58. "@nestjs/schematics": "^8.0.11",
  59. "@nestjs/testing": "^8.4.7",
  60. "@types/cache-manager": "^4.0.2",
  61. "@types/express": "^4.17.14",
  62. "@types/jest": "28.1.1",
  63. "@types/moment-duration-format": "^2.2.3",
  64. "@types/node": "^18.7.23",
  65. "@types/supertest": "^2.0.12",
  66. "@typescript-eslint/eslint-plugin": "^5.38.1",
  67. "@typescript-eslint/parser": "^5.38.1",
  68. "eslint": "^8.24.0",
  69. "eslint-config-prettier": "^8.5.0",
  70. "jest": "28.1.1",
  71. "prettier": "^2.7.1",
  72. "source-map-support": "^0.5.21",
  73. "supertest": "^6.2.4",
  74. "ts-jest": "28.0.5",
  75. "ts-loader": "^9.4.1",
  76. "ts-node": "^10.9.1",
  77. "tsconfig-paths": "4.0.0",
  78. "typescript": "^4.8.4"
  79. }
  80. }