-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
65 lines (65 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
{
"private": true,
"name": "api-template",
"version": "0.0.0",
"license": "MIT",
"scripts": {
"prestart": "pnpm run db:migrate",
"build": "rimraf dist && babel src --extensions \".js,.ts\" --out-dir dist --copy-files",
"start": "cross-env NODE_ENV=production node dist/main/server.js",
"dev": "tsnd -r tsconfig-paths/register --inspect --exit-child --transpile-only --ignore-watch node_modules --respawn src/main/server.ts",
"type-check": "tsc --noEmit",
"lint": "eslint --ignore-path .gitignore \"+(src|__tests__)/**/*.+(ts|js)\"",
"lint:fix": "pnpm lint --fix",
"test": "vitest run --passWithNoTests",
"test:ci": "vitest run --passWithNoTests --coverage",
"docker:dev": "cross-env DATABASE_PORT=5432 tsnd -r tsconfig-paths/register --inspect --exit-child --transpile-only --ignore-watch node_modules --respawn src/main/server.ts",
"docker:up": "docker compose up -d",
"docker:down": "docker compose down",
"prisma:dev": "cross-env DATABASE_HOST=localhost prisma",
"db:migrate": "prisma migrate deploy",
"db:config": "pnpm exec run db:migrate"
},
"engines": {
"node": ">=18",
"pnpm": ">=8"
},
"prisma": {
"schema": "./src/infra/database/prisma/schema.prisma"
},
"devDependencies": {
"@babel/cli": "7.22.9",
"@babel/core": "7.22.9",
"@babel/node": "7.22.6",
"@babel/plugin-proposal-class-properties": "7.18.6",
"@babel/preset-env": "7.22.9",
"@babel/preset-typescript": "7.22.5",
"@faker-js/faker": "8.0.2",
"@rocketseat/eslint-config": "2.1.0",
"@types/cors": "2.8.13",
"@types/express": "4.17.17",
"@types/node": "20.4.5",
"@types/swagger-ui-express": "4.1.3",
"@vitest/coverage-v8": "0.33.0",
"babel-plugin-module-resolver": "5.0.0",
"babel-plugin-transform-typescript-metadata": "0.3.2",
"eslint": "8.46.0",
"eslint-plugin-import-helpers": "1.3.1",
"git-commit-msg-linter": "5.0.4",
"prisma": "5.0.0",
"ts-node-dev": "2.0.0",
"tsconfig-paths": "4.2.0",
"typescript": "5.1.6",
"vitest": "0.33.0"
},
"dependencies": {
"@prisma/client": "5.0.0",
"cors": "2.8.5",
"cross-env": "7.0.3",
"dotenv": "16.3.1",
"express": "4.18.2",
"helmet": "7.0.0",
"rimraf": "5.0.1",
"swagger-ui-express": "5.0.0"
}
}