-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
101 lines (101 loc) · 3.58 KB
/
package.json
File metadata and controls
101 lines (101 loc) · 3.58 KB
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
{
"name": "nestjs-tutorial",
"version": "0.0.1",
"description": "nestjs-tutorial",
"repository": "https://github.com/jinhyuckcha/nestjs-tutorial.git",
"author": "JinHyuck Cha <jhcha@superb-ai.com>",
"private": true,
"license": "UNLICEND",
"scripts": {
"prebuild": "rimraf dist",
"build": "tsc --build && nest build",
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
"start:local": "tsc --build && nest start --watch",
"start:prod": "TZ='UTC' pm2-runtime ./ecosystem.config.js",
"lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix",
"test": "tsc --build && DOTENV_CONFIG_PATH=.env.test jest",
"test:watch": "yarn test --watch",
"test:cov": "yarn test --coverage",
"test:api": "yarn test --config ./test/jest-api.json --forceExit --runInBand",
"test:api:setup": "/bin/bash ./scripts/api-setup.sh",
"test:debug": "DOTENV_CONFIG_PATH=.env.test node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand",
"typeorm": "ts-node -r tsconfig-paths/register ./node_modules/typeorm/cli.js --config migration/ormconfig.ts",
"db:reset": "yarn typeorm schema:drop",
"db:create": "ts-node ./node_modules/typeorm-extension/dist/cli/index.js db:create --config migration/ormconfig.ts",
"db:makeEmptyMigration": "yarn typeorm migration:create -n ",
"db:makeMigration": "yarn typeorm migration:generate -n",
"db:migrate": "yarn typeorm migration:run",
"db:revertMigration": "yarn typeorm migration:revert",
"db:diagram": "ts-node ./node_modules/.bin/typeorm-uml migration/ormconfig.ts --plantuml-url localhost:8080 | xargs wget -O ../../docs/erd.plantuml.png"
},
"dependencies": {
"@nestjs/common": "8.4.5",
"@nestjs/microservices": "8.4.5",
"@nestjs/core": "8.4.5",
"@nestjs/platform-express": "8.4.5",
"@nestjs/typeorm": "8.0.4",
"@golevelup/ts-jest": "^0.3.2",
"@grpc/grpc-js": "^1.8.9",
"@grpc/proto-loader": "^0.7.5",
"@nestjs/config": "^2.3.1",
"@nestjs/cqrs": "^8.0.2",
"@nestjs/jwt": "^9.0.0",
"@nestjs/swagger": "^5.2.0",
"@nestjs/terminus": "^9.1.1",
"axios-retry": "^3.3.1",
"class-validator": "^0.13.2",
"pg": "8.7.3",
"reflect-metadata": "0.1.13",
"rimraf": "^3.0.2",
"rxjs": "7.5.5",
"swagger-ui-express": "^4.3.0",
"typeorm": "0.2.45",
"ulid": "^2.3.0"
},
"devDependencies": {
"@nestjs/cli": "^8.0.0",
"@nestjs/schematics": "^8.0.0",
"@nestjs/testing": "^8.0.0",
"@types/express": "^4.17.13",
"@types/jest": "^26.0.24",
"@types/lodash": "^4.14.178",
"@types/node": "^16.0.0",
"@types/supertest": "^2.0.11",
"@typescript-eslint/eslint-plugin": "5.25.0",
"@typescript-eslint/parser": "5.25.0",
"eslint": "^7.30.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "2.26.0",
"eslint-plugin-prettier": "^3.4.0",
"eslint-plugin-simple-import-sort": "^9.0.0",
"eslint-plugin-unused-imports": "^2.0.0",
"jest": "27.0.6",
"prettier": "^2.3.2",
"supertest": "^6.1.3",
"ts-jest": "^27.0.3",
"ts-loader": "^9.2.3",
"ts-node": "^10.0.0",
"tsconfig-paths": "^3.10.1",
"typeorm-extension": "^1.2.1",
"typeorm-uml": "^1.6.5",
"typescript": "4.6.4"
},
"jest": {
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"rootDir": "src",
"testRegex": ".*\\.spec\\.ts$",
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
},
"collectCoverageFrom": [
"**/*.(t|j)s"
],
"coverageDirectory": "../coverage",
"testEnvironment": "node"
},
"packageManager": "yarn@3.2.0"
}