-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
111 lines (111 loc) · 4.61 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
{
"name": "nestjs-rest-api-templete",
"version": "0.1.0",
"description": "NestJS REST API templete with TypeORM, Jest, OAuth, Logging, Swagger docs",
"author": "americano212",
"private": false,
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/americano212/nestjs-rest-api-templete"
},
"scripts": {
"lint": "eslint",
"lint:fix": "eslint --fix",
"typeorm": "node --require ts-node/register ./node_modules/typeorm/cli.js",
"entity:sync": "ts-node -r tsconfig-paths/register ./node_modules/typeorm/cli.js -d bin/ormconfig.ts schema:sync",
"entity:drop": "ts-node -r tsconfig-paths/register ./node_modules/typeorm/cli.js -d bin/ormconfig.ts schema:drop",
"seed:run": "ts-node -r tsconfig-paths/register ./node_modules/typeorm/cli.js -d bin/ormconfig.ts migration:run",
"seed:revert": "ts-node -r tsconfig-paths/register ./node_modules/typeorm/cli.js -d bin/ormconfig.ts migration:revert",
"prebuild": "rimraf dist",
"build": "nest build",
"prestart": "npm run lint && npm run build",
"start": "node dist/src/main",
"start:dev": "nest start --watch",
"start:debug": "nest start --debug --watch",
"dev:docker:up": "docker-compose -f ./docker/mysql/docker-compose.dev.yml up -d",
"dev:docker:down": "docker-compose -f ./docker/mysql/docker-compose.dev.yml down",
"test": "jest",
"test:e2e": "jest --config ./test/jest.e2e.ts -i",
"test:e2e:auto": "npm run test:entity:drop && npm run test:entity:sync && npm run test:seed:run && npm run test:e2e:debug",
"test:debug": "jest --verbose",
"test:e2e:debug": "jest --config ./test/jest.e2e.ts -i --verbose",
"test:cov": "jest --coverage",
"test:entity:sync": "cross-env NODE_ENV=test ts-node -r tsconfig-paths/register ./node_modules/typeorm/cli.js -d bin/ormconfig.ts schema:sync",
"test:entity:drop": "cross-env NODE_ENV=test ts-node -r tsconfig-paths/register ./node_modules/typeorm/cli.js -d bin/ormconfig.ts schema:drop",
"test:seed:run": "cross-env NODE_ENV=test ts-node -r tsconfig-paths/register ./node_modules/typeorm/cli.js -d bin/ormconfig.ts migration:run",
"test:seed:revert": "cross-env NODE_ENV=test ts-node -r tsconfig-paths/register ./node_modules/typeorm/cli.js -d bin/ormconfig.ts migration:revert",
"test:docker:up": "docker-compose -f ./test/docker-compose.test.yml up -d",
"test:docker:down": "docker-compose -f ./test/docker-compose.test.yml down"
},
"dependencies": {
"@aws-sdk/client-s3": "^3.717.0",
"@nestjs/common": "^10.4.15",
"@nestjs/config": "^3.3.0",
"@nestjs/core": "^10.4.15",
"@nestjs/jwt": "^10.2.0",
"@nestjs/mapped-types": "^2.0.6",
"@nestjs/passport": "^10.0.3",
"@nestjs/platform-express": "^10.4.15",
"@nestjs/swagger": "^8.1.0",
"@nestjs/typeorm": "^10.0.2",
"@slack/webhook": "^7.0.4",
"@types/uuid": "^10.0.0",
"bcrypt": "^5.1.1",
"class-transformer": "^0.5.1",
"class-validator": "^0.14.1",
"compression": "^1.7.5",
"cookie-parser": "^1.4.7",
"express-session": "^1.18.1",
"helmet": "^8.0.0",
"nest-winston": "^1.9.7",
"passport": "^0.7.0",
"passport-github2": "^0.1.12",
"passport-google-oauth20": "^2.0.0",
"passport-jwt": "^4.0.1",
"passport-kakao": "^1.0.1",
"passport-local": "^1.0.0",
"passport-naver-v2": "^2.0.8",
"typeorm": "^0.3.20",
"typeorm-naming-strategy": "^2.0.12",
"typeorm-transactional": "^0.5.0",
"winston": "^3.17.0",
"winston-daily-rotate-file": "^5.0.0"
},
"devDependencies": {
"@nestjs/cli": "^10.4.9",
"@nestjs/schematics": "^10.2.3",
"@nestjs/testing": "^10.4.15",
"@types/bcrypt": "^5.0.2",
"@types/compression": "^1.7.5",
"@types/cookie-parser": "^1.4.8",
"@types/express": "^5.0.0",
"@types/express-session": "^1.18.1",
"@types/jest": "^29.5.14",
"@types/multer": "^1.4.12",
"@types/multer-s3": "^3.0.3",
"@types/node": "^22.10.3",
"@types/passport": "^1.0.17",
"@types/passport-github2": "^1.2.9",
"@types/passport-google-oauth20": "^2.0.16",
"@types/passport-jwt": "^4.0.1",
"@types/passport-kakao": "^1.0.3",
"@types/passport-local": "^1.0.38",
"@types/prompts": "^2.4.9",
"@types/supertest": "^6.0.2",
"cross-env": "^7.0.3",
"eslint": "^9.17.0",
"eslint-config-prettier": "^10.0.1",
"eslint-plugin-jest": "^28.10.0",
"eslint-plugin-prettier": "^5.2.1",
"jest": "^29.7.0",
"prettier": "^3.4.2",
"supertest": "^7.0.0",
"ts-jest": "^29.2.5",
"ts-loader": "^9.5.1",
"ts-node": "^10.9.2",
"tsconfig-paths": "^4.2.0",
"typescript": "^5.7.2",
"typescript-eslint": "^8.19.0"
}
}