forked from devhatt/octopost-backend
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
94 lines (94 loc) · 2.86 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
{
"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": "tsc -p tsconfig.build.json",
"prebuild": "ts-patch install -s",
"lint": "eslint . --max-warnings=0 --no-warn-ignored",
"format": "prettier . --check --ignore-unknown",
"prepare": "husky",
"commit": "git-cz",
"typecheck": "tsc -p tsconfig.build.json --noEmit",
"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"
},
"devDependencies": {
"@commitlint/cli": "19.2.1",
"@commitlint/config-conventional": "19.1.0",
"@commitlint/cz-commitlint": "19.2.0",
"@eslint/js": "9.1.1",
"@faker-js/faker": "8.4.1",
"@redocly/cli": "1.12.0",
"@types/express": "4.17.21",
"@types/morgan": "1.9.9",
"@types/supertest": "6.0.2",
"@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-unicorn": "52.0.0",
"eslint-plugin-vitest": "0.5.1",
"globals": "15.0.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",
"tsx": "4.7.2",
"typescript": "5.4.5",
"typescript-eslint": "7.6.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",
"dotenv": "16.4.5",
"express": "4.19.2",
"glob": "10.3.12",
"joi": "17.13.0",
"morgan": "1.10.0"
},
"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 --no-warn-ignored",
"prettier --write --ignore-unknown"
]
}
}