-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
71 lines (71 loc) · 2.4 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
{
"name": "ts-express-prisma-rest",
"version": "0.0.1",
"description": "A boilerplate for express app using relational database and sequelize",
"main": "index.js",
"scripts": {
"pretest:watch": "docker compose -f docker-compose.test.yml up -d",
"test:watch": "DATABASE_URL=postgres://postgres:[email protected]:5432/postgres npx prisma db push && jest --watch --forceExit --detectOpenHandles --runInBand --silent",
"posttest:watch": "docker compose -f docker-compose.test.yml down",
"pretest": "docker compose -f docker-compose.test.yml up -d",
"test": "DATABASE_URL=postgres://postgres:[email protected]:5432/postgres npx prisma db push && DATABASE_URL=postgres://postgres:[email protected]:5432/postgres jest --forceExit --detectOpenHandles --runInBand --silent",
"test:ci": "npx prisma db push && jest --forceExit --detectOpenHandles --runInBand --silent",
"posttest": "docker compose -f docker-compose.test.yml down",
"prestart:dev": "docker compose up -d",
"start:dev": "tsc-watch --onSuccess 'node ./dist/src/app.js'",
"poststart:dev": "docker compose down",
"build": "tsc",
"lint": "biome lint",
"format": "biome format",
"prepare": "husky install",
"docs": "npx typedoc"
},
"repository": {
"type": "git",
"url": "git+https://github.com/pshaddel/ts-express-prisma-rest.git"
},
"keywords": [],
"author": "",
"license": "ISC",
"bugs": {
"url": "https://github.com/pshaddel/ts-express-prisma-rest/issues"
},
"homepage": "https://github.com/pshaddel/ts-express-prisma-rest#readme",
"dependencies": {
"@prisma/client": "^6.0.1",
"cors": "^2.8.5",
"dotenv": "^16.4.5",
"express": "^5.0.1",
"helmet": "^6.2.0",
"typescript": "^5.7.2",
"zod": "^3.23.8"
},
"devDependencies": {
"@biomejs/biome": "^1.9.4",
"@commitlint/cli": "^17.4.4",
"@commitlint/config-conventional": "^17.4.4",
"@swc/core": "^1.3.38",
"@swc/jest": "^0.2.24",
"@total-typescript/ts-reset": "^0.4.2",
"@types/cors": "^2.8.13",
"@types/express": "^4.17.17",
"@types/helmet": "^4.0.0",
"@types/jest": "^29.4.0",
"@types/node": "^18.14.6",
"@types/supertest": "^2.0.12",
"husky": "^8.0.3",
"jest": "^29.5.0",
"npm-check-updates": "^16.7.10",
"prettier": "^2.8.4",
"prisma": "^6.0.1",
"supertest": "^6.3.3",
"ts-jest": "^29.0.5",
"ts-node": "^10.9.1",
"tsc-watch": "^6.0.0",
"typedoc": "^0.27.3",
"typedoc-plugin-markdown": "^3.14.0"
},
"engines": {
"node": ">=20.0.0"
}
}