-
Notifications
You must be signed in to change notification settings - Fork 65
/
package.json
212 lines (212 loc) · 7.29 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
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
{
"name": "express-typescript-skeleton",
"version": "2.9.1",
"description": "🔰🦸 Template to start developing a REST API with Node.js (Express), TypeScript, ESLint, Prettier, Husky, Prisma, etc.",
"keywords": [
"node",
"typescript",
"eslint",
"husky",
"prettier",
"docker",
"makefile"
],
"repository": "https://github.com/borjapazr/express-typescript-skeleton",
"license": "MIT",
"author": {
"name": "Borja Paz Rodríguez",
"email": "[email protected]",
"url": "https://bpaz.dev"
},
"main": "dist/index.js",
"files": [
"dist",
"CHANGELOG.md",
"LICENSE",
"README.md"
],
"scripts": {
"dev": "cross-env NODE_ENV=development nodemon",
"build": "run-p build:*",
"build:compile": "rimraf dist && tsc -p tsconfig.build.json && tsc-alias -p tsconfig.build.json --silent",
"build:assets": "copyfiles --error -f package*.json dist/ && copyfiles -u 1 --error */**/*.prisma dist/",
"start": "cross-env NODE_ENV=production npm run build && node ./dist/index.js",
"check:types": "tsc --pretty --noEmit",
"check:format": "prettier --check .",
"check:lint": "eslint . --color",
"check:packagejson": "npmPkgJsonLint .",
"check:markdown": "markdownlint '**/*.md' '.github/**/*.md'",
"check:spelling": "cspell .",
"fix:format": "prettier --check --write --ignore-unknown .",
"fix:lint": "npm run check:lint -- --fix",
"check:staged": "lint-staged",
"test": "cross-env NODE_ENV=test DESTROY_SOCKETS=true jest --verbose --colors --detectOpenHandles --runInBand --forceExit",
"test:unit": "npm run test -- --testPathPattern=unit",
"test:int": "npm run test -- --testPathPattern=integration",
"test:e2e": "npm run test -- --testPathPattern=e2e",
"test:watch": "npm run test -- --watch",
"test:coverage": "npm run test -- --coverage --silent",
"coverage:view": "http-server -p 9003 ./coverage/lcov-report -o",
"prisma:generate": "prisma generate",
"prisma:generate:watch": "prisma generate --watch",
"prisma:migrate": "prisma migrate dev --skip-seed",
"prisma:seed": "prisma db seed",
"prisma:reset": "prisma migrate reset",
"prisma:studio": "prisma studio",
"prisma:format": "prisma format",
"commit": "cz",
"version": "standard-version -t",
"reset-hard": "git clean -dfx && git reset --hard && npm install",
"prepare-release": "run-s reset-hard version",
"update-deps": "npm-check-updates -u",
"prepare": "cross-env is-ci || husky install"
},
"dependencies": {
"@ngneat/falso": "^7.2.0",
"@prisma/client": "^5.10.2",
"@tsed/ajv": "^7.62.2",
"@tsed/common": "^7.62.2",
"@tsed/components-scan": "^7.62.2",
"@tsed/core": "^7.62.2",
"@tsed/di": "^7.62.2",
"@tsed/exceptions": "^7.62.2",
"@tsed/ioredis": "^7.62.2",
"@tsed/json-mapper": "^7.62.2",
"@tsed/logger": "^6.6.3",
"@tsed/openspec": "^7.62.2",
"@tsed/platform-express": "^7.62.2",
"@tsed/prisma": "^7.62.2",
"@tsed/schema": "^7.62.2",
"@tsed/swagger": "^7.62.2",
"ajv": "^8.12.0",
"argon2": "^0.40.1",
"body-parser": "^1.20.2",
"compression": "^1.7.4",
"cookie-parser": "^1.4.6",
"cors": "^2.8.5",
"dotenv-defaults": "^5.0.2",
"dotenv-expand": "^11.0.6",
"endent": "^2.1.0",
"express": "4",
"fast-equals": "^5.0.1",
"figlet": "^1.7.0",
"file-stream-rotator": "^1.0.0",
"http-status-codes": "^2.3.0",
"ioredis": "^5.3.2",
"jsonwebtoken": "^9.0.2",
"just-is-empty": "^3.4.1",
"luxon": "^3.4.4",
"method-override": "^3.0.0",
"multer": "1.4.5-lts.1",
"node-emoji": "^2.1.3",
"pino": "^8.19.0",
"pino-http": "^9.0.0",
"pino-pretty": "^10.3.1",
"read-pkg": "5.2.0",
"reflect-metadata": "^0.2.1",
"source-map-support": "^0.5.21",
"ts-node": "^10.9.2",
"uuid": "^9.0.1"
},
"devDependencies": {
"@commitlint/cli": "^19.0.3",
"@commitlint/config-conventional": "^19.0.3",
"@cspell/dict-bash": "^4.1.3",
"@cspell/dict-companies": "^3.0.31",
"@cspell/dict-es-es": "^2.4.0",
"@cspell/dict-filetypes": "^3.0.3",
"@cspell/dict-html": "^4.0.5",
"@cspell/dict-lorem-ipsum": "^4.0.0",
"@cspell/dict-node": "^4.0.3",
"@cspell/dict-npm": "^5.0.15",
"@cspell/dict-software-terms": "^3.3.18",
"@cspell/dict-typescript": "^3.1.2",
"@tsed/cli-plugin-prisma": "^5.1.0",
"@types/body-parser": "^1.19.5",
"@types/compression": "^1.7.5",
"@types/cookie-parser": "^1.4.7",
"@types/cors": "^2.8.17",
"@types/dotenv-defaults": "^2.0.4",
"@types/express": "^4.17.21",
"@types/figlet": "^1.5.8",
"@types/jest": "^29.5.12",
"@types/jsonwebtoken": "^9.0.6",
"@types/luxon": "^3.4.2",
"@types/method-override": "^0.0.35",
"@types/multer": "^1.4.11",
"@types/node": "^20.11.24",
"@types/node-emoji": "^1.8.2",
"@types/source-map-support": "^0.5.10",
"@types/supertest": "^6.0.2",
"@types/swagger-schema-official": "^2.0.25",
"@types/uuid": "^9.0.8",
"@typescript-eslint/eslint-plugin": "^7.1.0",
"@typescript-eslint/parser": "^7.1.0",
"commitizen": "^4.3.0",
"copyfiles": "^2.4.1",
"cross-env": "^7.0.3",
"cspell": "^8.5.0",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^8.57.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-airbnb-typescript": "^18.0.0",
"eslint-config-prettier": "^9.1.0",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-deprecation": "^2.0.0",
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-hexagonal-architecture": "^1.0.3",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jest": "^27.9.0",
"eslint-plugin-jest-extended": "^2.0.0",
"eslint-plugin-jsonc": "^2.13.0",
"eslint-plugin-markdown": "^3.0.1",
"eslint-plugin-n": "^16.6.2",
"eslint-plugin-optimize-regex": "^1.2.1",
"eslint-plugin-prefer-arrow": "^1.2.3",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-promise": "^6.1.1",
"eslint-plugin-security": "^2.1.1",
"eslint-plugin-simple-import-sort": "^12.0.0",
"eslint-plugin-sonarjs": "^0.24.0",
"eslint-plugin-unicorn": "^51.0.1",
"eslint-plugin-unused-imports": "^3.1.0",
"eslint-plugin-yml": "^1.12.2",
"get-tsconfig": "^4.7.2",
"http-server": "^14.1.1",
"husky": "^9.0.11",
"ioredis-mock": "^8.9.0",
"is-ci": "^3.0.1",
"jest": "^29.7.0",
"jest-extended": "^4.0.2",
"jest-mock-extended": "^3.0.5",
"lint-staged": "^15.2.2",
"markdownlint": "^0.33.0",
"markdownlint-cli": "^0.39.0",
"nodemon": "^3.1.0",
"npm-check-updates": "^16.14.15",
"npm-package-json-lint": "^7.1.0",
"npm-package-json-lint-config-default": "^6.0.0",
"npm-run-all2": "^6.1.2",
"prettier": "^3.2.5",
"prettier-plugin-packagejson": "^2.4.12",
"prettier-plugin-prisma": "^5.0.0",
"prisma": "^5.10.2",
"rimraf": "^5.0.5",
"standard-version": "^9.5.0",
"supertest": "^6.3.4",
"ts-jest": "^29.1.2",
"tsc-alias": "^1.8.8",
"tsconfig-paths": "^4.2.0",
"tsx": "^4.7.1",
"typescript": "^5.3.3",
"yaml-eslint-parser": "^1.2.2"
},
"engines": {
"node": ">=20.9.0",
"npm": ">=6.7.0"
},
"prisma": {
"schema": "src/infrastructure/shared/persistence/prisma/schema.prisma",
"seed": "tsx src/infrastructure/shared/persistence/prisma/seed.ts"
}
}