-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
77 lines (77 loc) · 2.27 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
{
"name": "my-node-ts-sample",
"version": "1.0.0",
"description": "A Node.js project with Express, TypeScript, Prisma, MySQL, ESLint, and Jest",
"main": "dist/index.js",
"scripts": {
"start": "node dist/index.js",
"dev": "nodemon --exec ts-node src/index.ts",
"build": "tsc",
"postbuild": "copyfiles -u 1 src/config/swagger.json dist/",
"lint:check": "eslint 'src/**/*.{js,ts}'",
"lint:fix": "eslint 'src/**/*.{js,ts}' --fix",
"format:check": "prettier --check 'src/**/*.{js,ts,json,md}'",
"format:fix": "prettier --write 'src/**/*.{js,ts,json,md}'",
"test": "jest --coverage",
"test:watch": "jest --watch",
"prisma:format": "prisma format",
"prisma:generate": "prisma generate",
"prisma:migrate": "prisma migrate dev",
"prisma:deploy": "prisma migrate deploy",
"prepare": "husky"
},
"dependencies": {
"@prisma/client": "^5.16.2",
"@types/bcrypt": "^5.0.2",
"bcrypt": "^5.1.1",
"dotenv": "^16.0.0",
"express": "^4.17.1",
"express-validator": "^7.1.0",
"i18n": "^0.15.1",
"inversify": "^6.0.2",
"inversify-express-utils": "^6.4.6",
"mysql2": "^3.10.2",
"nodemon": "^3.1.4",
"reflect-metadata": "^0.2.2",
"swagger-jsdoc": "^6.2.8",
"swagger-ui-express": "^5.0.1",
"winston": "^3.13.1",
"winston-daily-rotate-file": "^5.0.0"
},
"devDependencies": {
"@types/express": "^4.17.13",
"@types/i18n": "^0.13.12",
"@types/jest": "^27.5.2",
"@types/node": "^16.11.10",
"@types/supertest": "^6.0.2",
"@types/swagger-jsdoc": "^6.0.4",
"@types/swagger-ui-express": "^4.1.6",
"@typescript-eslint/eslint-plugin": "^5.62.0",
"@typescript-eslint/parser": "^5.62.0",
"copyfiles": "^2.4.1",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.2.1",
"husky": "^9.1.2",
"jest": "^29.7.0",
"lint-staged": "^15.2.7",
"prettier": "^3.3.3",
"prisma": "^5.16.2",
"supertest": "^7.0.0",
"ts-jest": "^29.2.2",
"ts-node": "^10.9.2",
"ts-node-dev": "^1.1.8",
"typescript": "^5.5.3"
},
"lint-staged": {
"src/**/*.{js,jsx,ts,tsx}": [
"prettier --write"
],
"src/**/*.{json,css,md}": [
"prettier --write"
]
},
"engines": {
"node": ">=14.0.0"
}
}