-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
50 lines (50 loc) · 1.7 KB
/
Copy pathpackage.json
File metadata and controls
50 lines (50 loc) · 1.7 KB
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
{
"name": "template_typescript-prisma-postgresql",
"version": "1.0.0",
"main": "index.js",
"license": "MIT",
"scripts": {
"dev": "ts-node-dev -r tsconfig-paths/register --exit-child --transpile-only --ignore-watch node_modules src/shared/infra/http/server.ts",
"seed": "ts-node src/database/seed.ts",
"start": "yarn install && yarn docker:up && yarn prisma generate && yarn migrate:run && yarn seed && yarn dev",
"migrate:run": "npx prisma migrate dev",
"migrate:reset": "npx prisma migrate reset && ts-node src/database/seed.ts",
"build": "swc src -d dist --source-maps --copy-files",
"build:tsc": "tsc && tsc-alias",
"test": "NODE_ENV=test jest --runInBand --detectOpenHandles",
"docker:up": "docker-compose -f docker/docker-compose.yaml --env-file docker/.env up -d"
},
"devDependencies": {
"@swc/cli": "^0.1.57",
"@swc/core": "^1.2.165",
"@types/bcrypt": "^5.0.0",
"@types/dotenv": "^8.2.0",
"@types/express": "^4.17.13",
"@types/jest": "^27.4.1",
"@types/jsonwebtoken": "^8.5.8",
"@types/supertest": "^2.0.12",
"@types/swagger-ui-express": "^4.1.3",
"@types/winston": "^2.4.4",
"jest": "^27.5.1",
"prisma": "^3.11.1",
"supertest": "^6.2.2",
"ts-jest": "^27.1.4",
"ts-node-dev": "^1.1.8",
"tsc-alias": "^1.6.6",
"tsconfig-paths": "^3.14.1",
"typescript": "^4.6.3"
},
"dependencies": {
"@prisma/client": "^3.11.1",
"bcrypt": "^5.0.1",
"dotenv": "^16.0.0",
"express": "^4.17.3",
"express-async-errors": "^3.1.1",
"jsonwebtoken": "^8.5.1",
"reflect-metadata": "^0.1.13",
"swagger-ui-express": "^4.3.0",
"ts-node": "^10.7.0",
"tsyringe": "^4.6.0",
"winston": "^3.7.2"
}
}