/
package.json
129 lines (129 loc) · 4.63 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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
{
"name": "nest-api-example",
"version": "0.0.0-development",
"private": true,
"description": "",
"repository": {
"type": "git",
"url": "https://github.com/leosuncin/nest-api-example.git"
},
"license": "GPL-3.0",
"author": "Jaime Leonardo Suncin Cruz <leosuncin@gmail.com>",
"scripts": {
"build": "nest build",
"db:create": "ts-node -r dotenv/config -r tsconfig-paths/register node_modules/typeorm-extension/dist/cli/index.js db:create -r src/config --synchronize=no --initialDatabase=postgres",
"db:drop": "ts-node -r dotenv/config -r tsconfig-paths/register node_modules/typeorm-extension/dist/cli/index.js db:drop -r src/config --initialDatabase=postgres",
"db:seed": "ts-node -r dotenv/config -r tsconfig-paths/register node_modules/typeorm-extension/dist/cli/index.js seed -r src/config",
"format": "prettier --write \"{src,apps,libs,test}/**/*.ts\"",
"lint": "eslint .",
"prepare": "husky install",
"release": "semantic-release",
"start": "nest start",
"start:debug": "nest start --debug --watch",
"start:dev": "nest start --watch",
"start:prod": "node dist/main",
"start:repl": "nest start --entryFile repl",
"test": "jest --selectProjects 'Unit test'",
"test:cov": "jest --selectProjects 'Unit test' --coverage",
"test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand",
"test:e2e": "jest --selectProjects 'E2E test'",
"test:watch": "jest --watch",
"type-check": "tsc --noEmit --noErrorTruncation --pretty false --incremental false -p tsconfig.build.json",
"typeorm": "NODE_OPTIONS='-r dotenv/config -r tsconfig-paths/register' typeorm-ts-node-commonjs -d src/config/data-source"
},
"dependencies": {
"@nestjs/common": "10.3.8",
"@nestjs/config": "3.2.2",
"@nestjs/core": "10.3.8",
"@nestjs/jwt": "10.2.0",
"@nestjs/mapped-types": "2.0.5",
"@nestjs/passport": "10.0.3",
"@nestjs/platform-express": "10.3.8",
"@nestjs/terminus": "10.2.3",
"@nestjs/typeorm": "10.0.2",
"bcryptjs": "2.4.3",
"cachified": "^3.0.1",
"class-transformer": "0.5.1",
"class-validator": "0.14.1",
"cookie-parser": "1.4.6",
"hibp": "14.1.1",
"lru-cache": "^7.14.1",
"nestjs-typeorm-paginate": "4.0.4",
"normalize-email": "1.1.1",
"passport": "0.7.0",
"passport-jwt": "4.0.1",
"pg": "8.11.5",
"reflect-metadata": "0.2.2",
"rxjs": "7.8.1",
"short-uuid": "5.2.0",
"slugify": "1.6.6",
"tiny-invariant": "1.3.3",
"typeorm": "0.3.20"
},
"devDependencies": {
"@commitlint/cli": "19.3.0",
"@commitlint/config-conventional": "19.2.2",
"@faker-js/faker": "8.4.1",
"@nestjs/cli": "10.3.2",
"@nestjs/schematics": "10.1.1",
"@nestjs/testing": "10.3.8",
"@semantic-release/changelog": "6.0.3",
"@semantic-release/exec": "6.0.3",
"@semantic-release/git": "10.0.1",
"@tsconfig/node16-strictest": "1.0.4",
"@types/bcryptjs": "2.4.6",
"@types/cookie-parser": "1.4.7",
"@types/express": "4.17.21",
"@types/jest": "29.5.12",
"@types/jest-dev-server": "5.0.3",
"@types/node": "20.12.12",
"@types/passport": "1.0.16",
"@types/passport-jwt": "4.0.1",
"@types/supertest": "6.0.2",
"@types/validator": "13.11.10",
"@typescript-eslint/eslint-plugin": "7.10.0",
"@typescript-eslint/parser": "7.10.0",
"cspell": "8.8.3",
"dotenv": "16.4.5",
"eslint": "9.3.0",
"eslint-config-prettier": "9.1.0",
"eslint-import-resolver-typescript": "3.6.1",
"eslint-plugin-array-func": "5.0.1",
"eslint-plugin-deprecation": "2.0.0",
"eslint-plugin-eslint-comments": "3.2.0",
"eslint-plugin-import": "2.29.1",
"eslint-plugin-jest": "28.5.0",
"eslint-plugin-jest-formatting": "3.1.0",
"eslint-plugin-n": "17.7.0",
"eslint-plugin-optimize-regex": "1.2.1",
"eslint-plugin-security": "3.0.0",
"eslint-plugin-simple-import-sort": "12.1.0",
"eslint-plugin-switch-case": "1.1.2",
"eslint-plugin-unicorn": "53.0.0",
"factory.io": "0.1.4",
"fast-check": "3.19.0",
"husky": "9.0.11",
"jest": "29.7.0",
"jest-create-mock-instance": "2.0.0",
"lint-staged": "15.2.5",
"nock": "13.5.4",
"node-mocks-http": "1.14.1",
"pactum": "3.6.9",
"pg-mem": "2.8.1",
"prettier": "3.2.5",
"prettier-plugin-toml": "2.0.1",
"semantic-release": "23.1.1",
"sort-package-json": "2.10.0",
"supertest": "7.0.0",
"ts-jest": "29.1.3",
"ts-loader": "9.5.1",
"ts-node": "10.9.2",
"tsconfig-paths": "4.2.0",
"txtgen": "3.0.2",
"typeorm-extension": "2.8.1",
"typescript": "4.9.5"
},
"engines": {
"node": ">=14"
}
}