|
| 1 | +{ |
| 2 | + "name": "catchme_server", |
| 3 | + "version": "0.0.1", |
| 4 | + "description": "", |
| 5 | + "author": "", |
| 6 | + "private": true, |
| 7 | + "license": "UNLICENSED", |
| 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 | + "db-pull": "dotenv -e .env.development -- prisma db pull && prisma generate --schema ./prisma/schema.prisma", |
| 17 | + "db-push": "dotenv -e .env.development -- prisma db push && prisma generate --schema ./prisma/schema.prisma", |
| 18 | + "db-pull:prod": "cross-env NODE_ENV=production npx prisma db pull && prisma generate --schema ./prisma/schema.prisma", |
| 19 | + "db-push:prod": "cross-env NODE_ENV=production npx prisma db push && prisma generate --schema ./prisma/schema.prisma", |
| 20 | + "lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix", |
| 21 | + "test": "jest", |
| 22 | + "test:watch": "jest --watch", |
| 23 | + "test:cov": "jest --coverage", |
| 24 | + "test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand", |
| 25 | + "test:e2e": "jest --config ./test/jest-e2e.json", |
| 26 | + "lint-staged": "lint-staged" |
| 27 | + }, |
| 28 | + "lint-staged": { |
| 29 | + "**/*.ts": [ |
| 30 | + "eslint --fix" |
| 31 | + ] |
| 32 | + }, |
| 33 | + "dependencies": { |
| 34 | + "@nestjs/axios": "^0.1.0", |
| 35 | + "@nestjs/common": "^8.0.0", |
| 36 | + "@nestjs/config": "^2.1.0", |
| 37 | + "@nestjs/core": "^8.0.0", |
| 38 | + "@nestjs/jwt": "^9.0.0", |
| 39 | + "@nestjs/passport": "^8.2.2", |
| 40 | + "@nestjs/terminus": "^9.0.0", |
| 41 | + "@prisma/client": "^4.0.0", |
| 42 | + "@slack/client": "^5.0.2", |
| 43 | + "aws-sdk": "^2.1167.0", |
| 44 | + "browserless": "^9.5.4", |
| 45 | + "class-transformer": "^0.5.1", |
| 46 | + "class-validator": "^0.13.2", |
| 47 | + "compression": "^1.7.4", |
| 48 | + "cross-env": "^7.0.3", |
| 49 | + "dayjs": "^1.11.4", |
| 50 | + "dotenv": "^16.0.3", |
| 51 | + "express-basic-auth": "^1.2.1", |
| 52 | + "express-rate-limit": "^6.4.0", |
| 53 | + "global": "^4.4.0", |
| 54 | + "helmet": "^5.1.0", |
| 55 | + "lodash": "^4.17.21", |
| 56 | + "multer-s3": "^2.10.0", |
| 57 | + "multer-s3-transform": "^2.10.3", |
| 58 | + "nanoid": "^3.3.4", |
| 59 | + "nest-raven": "^8.2.0", |
| 60 | + "nest-winston": "^1.6.2", |
| 61 | + "passport": "^0.6.0", |
| 62 | + "passport-jwt": "^4.0.0", |
| 63 | + "prisma": "^4.1.0", |
| 64 | + "random": "^3.0.6", |
| 65 | + "reflect-metadata": "^0.1.13", |
| 66 | + "rimraf": "^3.0.2", |
| 67 | + "rxjs": "^7.2.0", |
| 68 | + "sharp": "^0.30.7", |
| 69 | + "swagger-ui-express": "^4.4.0", |
| 70 | + "user-agents": "^1.0.1131", |
| 71 | + "uuid": "^8.3.2", |
| 72 | + "winston": "^3.8.1" |
| 73 | + }, |
| 74 | + "devDependencies": { |
| 75 | + "@nestjs/cli": "^8.0.0", |
| 76 | + "@nestjs/platform-express": "^8.4.7", |
| 77 | + "@nestjs/schedule": "^2.1.0", |
| 78 | + "@nestjs/schematics": "^8.0.0", |
| 79 | + "@nestjs/swagger": "^5.2.1", |
| 80 | + "@nestjs/testing": "^8.0.0", |
| 81 | + "@types/cache-manager": "^4.0.1", |
| 82 | + "@types/cache-manager-redis-store": "^2.0.1", |
| 83 | + "@types/compression": "^1.7.2", |
| 84 | + "@types/express": "^4.17.13", |
| 85 | + "@types/jest": "27.5.0", |
| 86 | + "@types/lodash": "^4.14.182", |
| 87 | + "@types/multer": "^1.4.7", |
| 88 | + "@types/multer-s3": "^2.7.12", |
| 89 | + "@types/node": "^16.0.0", |
| 90 | + "@types/passport-jwt": "^3.0.6", |
| 91 | + "@types/sharp": "^0.30.4", |
| 92 | + "@types/supertest": "^2.0.11", |
| 93 | + "@typescript-eslint/eslint-plugin": "^5.0.0", |
| 94 | + "@typescript-eslint/parser": "^5.0.0", |
| 95 | + "eslint": "^8.0.1", |
| 96 | + "eslint-config-prettier": "^8.3.0", |
| 97 | + "eslint-plugin-prettier": "^4.0.0", |
| 98 | + "fast-shuffle": "^5.0.1", |
| 99 | + "husky": "^8.0.0", |
| 100 | + "jest": "28.0.3", |
| 101 | + "lint-staged": "^13.0.3", |
| 102 | + "prettier": "^2.3.2", |
| 103 | + "source-map-support": "^0.5.20", |
| 104 | + "supertest": "^6.1.3", |
| 105 | + "ts-jest": "28.0.1", |
| 106 | + "ts-loader": "^9.2.3", |
| 107 | + "ts-node": "^10.0.0", |
| 108 | + "tsconfig-paths": "4.0.0", |
| 109 | + "typescript": "^4.3.5" |
| 110 | + }, |
| 111 | + "jest": { |
| 112 | + "moduleFileExtensions": [ |
| 113 | + "js", |
| 114 | + "json", |
| 115 | + "ts" |
| 116 | + ], |
| 117 | + "rootDir": "src", |
| 118 | + "testRegex": ".*\\.spec\\.ts$", |
| 119 | + "transform": { |
| 120 | + "^.+\\.(t|j)s$": "ts-jest" |
| 121 | + }, |
| 122 | + "collectCoverageFrom": [ |
| 123 | + "**/*.(t|j)s" |
| 124 | + ], |
| 125 | + "coverageDirectory": "../coverage", |
| 126 | + "testEnvironment": "node" |
| 127 | + } |
| 128 | +} |
0 commit comments