package.json 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. {
  2. "name": "aman-backend",
  3. "version": "0.0.1",
  4. "description": "Optimization framework to find the optimum arrival sequence",
  5. "author": "Sven Czarnian",
  6. "private": true,
  7. "license": "MIT",
  8. "scripts": {
  9. "prebuild": "rimraf dist",
  10. "build": "nest build",
  11. "format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
  12. "start": "nest start",
  13. "start:dev": "nest start --watch",
  14. "start:debug": "nest start --debug --watch",
  15. "start:prod": "node dist/main",
  16. "lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix",
  17. "test": "jest",
  18. "test:watch": "jest --watch",
  19. "test:cov": "jest --coverage",
  20. "test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand",
  21. "test:e2e": "jest --config ./test/jest-e2e.json"
  22. },
  23. "dependencies": {
  24. "@nestjs/axios": "^0.1.0",
  25. "@nestjs/common": "^9.0.0",
  26. "@nestjs/config": "^2.2.0",
  27. "@nestjs/core": "^9.0.0",
  28. "@nestjs/jwt": "^9.0.0",
  29. "@nestjs/mongoose": "^9.2.0",
  30. "@nestjs/passport": "^9.0.0",
  31. "@nestjs/platform-express": "^9.0.0",
  32. "@nestjs/swagger": "^6.1.2",
  33. "class-transformer": "^0.5.1",
  34. "class-validator": "^0.13.2",
  35. "crypto": "^1.0.1",
  36. "helmet": "^6.0.0",
  37. "js-yaml": "^4.1.0",
  38. "mongoose": "^6.6.7",
  39. "passport": "^0.6.0",
  40. "passport-jwt": "^4.0.0",
  41. "reflect-metadata": "^0.1.13",
  42. "rimraf": "^3.0.2",
  43. "rxjs": "^7.2.0"
  44. },
  45. "devDependencies": {
  46. "@nestjs/cli": "^9.0.0",
  47. "@nestjs/schematics": "^9.0.0",
  48. "@nestjs/testing": "^9.0.0",
  49. "@types/express": "^4.17.13",
  50. "@types/jest": "28.1.8",
  51. "@types/js-yaml": "^4.0.5",
  52. "@types/node": "^16.0.0",
  53. "@types/passport-jwt": "^3.0.7",
  54. "@types/supertest": "^2.0.11",
  55. "@typescript-eslint/eslint-plugin": "^5.0.0",
  56. "@typescript-eslint/parser": "^5.0.0",
  57. "eslint": "^8.0.1",
  58. "eslint-config-prettier": "^8.3.0",
  59. "eslint-plugin-prettier": "^4.0.0",
  60. "jest": "28.1.3",
  61. "prettier": "^2.3.2",
  62. "source-map-support": "^0.5.20",
  63. "supertest": "^6.1.3",
  64. "ts-jest": "28.0.8",
  65. "ts-loader": "^9.2.3",
  66. "ts-node": "^10.0.0",
  67. "tsconfig-paths": "4.1.0",
  68. "typescript": "^4.7.4"
  69. },
  70. "jest": {
  71. "moduleFileExtensions": [
  72. "js",
  73. "json",
  74. "ts"
  75. ],
  76. "rootDir": "src",
  77. "testRegex": ".*\\.spec\\.ts$",
  78. "transform": {
  79. "^.+\\.(t|j)s$": "ts-jest"
  80. },
  81. "collectCoverageFrom": [
  82. "**/*.(t|j)s"
  83. ],
  84. "coverageDirectory": "../coverage",
  85. "testEnvironment": "node"
  86. }
  87. }