forked from devhatt/octopost-backend
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
119 lines (119 loc) · 3.71 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
{
"name": "@octopost/backend",
"version": "1.0.0",
"main": "./build/index.js",
"type": "module",
"private": true,
"engines": {
"node": "22",
"pnpm": "8"
},
"scripts": {
"dev": " cross-env MODE=DEV tsx --watch src/index.ts",
"start": "cross-env MODE=PROD node build/index.js",
"prestart": "pnpm run build",
"build": "tsup src/index.ts --format esm --out-dir build",
"prebuild": "ts-patch install -s",
"lint": "eslint . --max-warnings=0",
"format": "prettier . --check --ignore-unknown",
"format:fix": "prettier . --write --ignore-unknown",
"prepare": "husky",
"commit": "git-cz",
"test": "vitest",
"test:coverage": "vitest --coverage --watch",
"test:ui": "vitest --coverage --ui --watch",
"migrate:production": "dotenv -e .env.prod -- npx prisma migrate deploy",
"migrate": "dotenv -e .env.dev -- npx prisma migrate dev",
"docs:serve": "redocly preview-docs ./openapi/main.yaml",
"docs:build": "redocly build-docs ./openapi/main.yaml --output build-docs/index.html",
"docs:lint": "redocly lint --extends minimal ./openapi/main.yaml",
"docker-dev": "docker compose --profile dev up",
"docker-prod": "docker compose --profile prod up --build",
"prisma:generate": "npx prisma generate",
"prisma:push": "npx prisma db push"
},
"devDependencies": {
"@commitlint/cli": "19.3.0",
"@commitlint/config-conventional": "19.2.2",
"@commitlint/cz-commitlint": "19.2.0",
"@eslint/js": "9.2.0",
"@faker-js/faker": "8.4.1",
"@redocly/cli": "1.12.0",
"@types/bcrypt": "5.0.2",
"@types/express": "4.17.21",
"@types/jsonwebtoken": "9.0.6",
"@types/morgan": "1.9.9",
"@types/node": "20.14.8",
"@types/nodemailer": "6.4.15",
"@types/stack-trace": "0.0.33",
"@types/supertest": "6.0.2",
"@typescript-eslint/eslint-plugin": "7.13.0",
"@typescript-eslint/parser": "7.13.0",
"@vitest/coverage-istanbul": "1.5.0",
"@vitest/ui": "1.5.0",
"commitizen": "4.3.0",
"cross-env": "7.0.3",
"dotenv-cli": "7.4.1",
"eslint": "8.57.0",
"eslint-config-prettier": "9.1.0",
"eslint-define-config": "2.1.0",
"eslint-import-resolver-typescript": "3.6.1",
"eslint-plugin-import": "2.29.1",
"eslint-plugin-only-warn": "1.1.0",
"eslint-plugin-perfectionist": "2.10.0",
"eslint-plugin-prettier": "5.1.3",
"eslint-plugin-simple-import-sort": "12.1.0",
"eslint-plugin-unicorn": "52.0.0",
"eslint-plugin-vitest": "0.5.4",
"globals": "15.1.0",
"husky": "9.0.11",
"lint-staged": "15.2.2",
"prettier": "3.2.5",
"prisma": "5.13.0",
"supertest": "7.0.0",
"ts-patch": "3.1.2",
"tsup": "8.2.4",
"tsx": "4.9.3",
"typescript": "5.4.5",
"typescript-eslint": "7.8.0",
"typescript-transform-paths": "3.4.7",
"vite-tsconfig-paths": "4.3.2",
"vitest": "1.5.0",
"vitest-mock-extended": "1.3.1"
},
"dependencies": {
"@prisma/client": "5.13.0",
"axios": "1.6.8",
"bcrypt": "5.1.1",
"dotenv": "16.4.5",
"express": "4.19.2",
"express-http-context": "1.2.4",
"glob": "10.3.12",
"handlebars": "4.7.8",
"jsonwebtoken": "9.0.2",
"morgan": "1.10.0",
"nodemailer": "6.9.13",
"stack-trace": "1.0.0-pre2",
"winston": "3.13.1",
"winston-daily-rotate-file": "5.0.0",
"zod": "3.23.8"
},
"config": {
"commitizen": {
"path": "@commitlint/cz-commitlint"
}
},
"repository": {
"type": "git",
"url": "https://github.com/devhatt/octopost-backend.git"
},
"lint-staged": {
"*.{ts,tsx}": [
"eslint --fix --report-unused-disable-directives --max-warnings=0 --ignore",
"prettier --write --ignore-unknown"
]
},
"prisma": {
"seed": "tsx prisma/seed.ts"
}
}