-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
43 lines (43 loc) · 1.33 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
{
"name": "nodejs-vitest-demo",
"version": "0.0.1",
"description": "Node.js complete test environment using TypeScript, Prisma, PostgreSQL and Vitest.",
"main": "index.js",
"type": "module",
"scripts": {
"start:dev": "tsx watch src/index.ts",
"start": "node build/index.js",
"build": "tsup src --out-dir build",
"test": "vitest run",
"test:watch": "vitest",
"test:coverage": "vitest run --coverage",
"test:create-prisma-environment": "npm link ./prisma/vitest-environment-prisma",
"test:install-prisma-environment": "npm link vitest-environment-prisma",
"pretest:e2e": "run-s test:create-prisma-environment test:install-prisma-environment",
"test:e2e": "vitest run -c vitest.e2e.config.ts",
"test:e2e:watch": "vitest -c vitest.e2e.config.ts"
},
"keywords": [],
"author": "",
"license": "ISC",
"devDependencies": {
"@swc/core": "^1.5.3",
"@types/express": "^4.17.21",
"@types/node": "^20.10.5",
"@types/supertest": "^6.0.2",
"@vitest/coverage-v8": "^1.1.0",
"npm-run-all": "^4.1.5",
"prisma": "^5.7.1",
"supertest": "^6.3.3",
"tsup": "^8.0.1",
"tsx": "^4.7.0",
"typescript": "^5.3.3",
"vite-tsconfig-paths": "^4.2.3",
"vitest": "^1.1.0"
},
"dependencies": {
"@prisma/client": "5.7.1",
"dotenv": "^16.3.1",
"express": "^4.18.2"
}
}