package.json 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  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. "@golevelup/nestjs-graphql-request": "^0.1.13",
  24. "@graphql-codegen/cli": "^2.13.1",
  25. "@graphql-codegen/typescript-graphql-request": "^4.5.5",
  26. "@graphql-codegen/typescript-operations": "^2.5.3",
  27. "@joystream/types": "0.20.3",
  28. "@nestjs/common": "^8.4.7",
  29. "@nestjs/config": "2.1.0",
  30. "@nestjs/core": "^8.4.7",
  31. "@nestjs/event-emitter": "^1.3.1",
  32. "@nestjs/platform-express": "^8.4.7",
  33. "@nestjs/schedule": "^2.1.0",
  34. "@polkadot/util": "9.5.1",
  35. "@polkadot/util-crypto": "9.5.1",
  36. "axios": "^0.27.2",
  37. "cache-manager": "^4.1.0",
  38. "crypto": "^1.0.1",
  39. "graphql": "^16.6.0",
  40. "graphql-request": "^4.3.0",
  41. "install": "^0.13.0",
  42. "moment-duration-format": "^2.3.2",
  43. "nanoid": "^3.3.4",
  44. "pg": "^8.8.0",
  45. "reflect-metadata": "0.1.13",
  46. "rimraf": "3.0.2",
  47. "rxjs": "7.5.5",
  48. "sequelize": "^6.23.2",
  49. "sequelize-typescript": "^2.1.3",
  50. "typescript-retry-decorator": "^2.0.6"
  51. },
  52. "devDependencies": {
  53. "@nestjs/cli": "^8.2.8",
  54. "@nestjs/schematics": "^8.0.11",
  55. "@nestjs/testing": "^8.4.7",
  56. "@types/cache-manager": "^4.0.2",
  57. "@types/express": "^4.17.14",
  58. "@types/jest": "28.1.1",
  59. "@types/moment-duration-format": "^2.2.3",
  60. "@types/node": "^18.7.23",
  61. "@types/supertest": "^2.0.12",
  62. "@typescript-eslint/eslint-plugin": "^5.38.1",
  63. "@typescript-eslint/parser": "^5.38.1",
  64. "eslint": "^8.24.0",
  65. "eslint-config-prettier": "^8.5.0",
  66. "jest": "28.1.1",
  67. "prettier": "^2.7.1",
  68. "source-map-support": "^0.5.21",
  69. "supertest": "^6.2.4",
  70. "ts-jest": "28.0.5",
  71. "ts-loader": "^9.4.1",
  72. "ts-node": "^10.9.1",
  73. "tsconfig-paths": "4.0.0",
  74. "typescript": "^4.8.4"
  75. }
  76. }