-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
74 lines (74 loc) · 2.54 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
{
"name": "next-typescript-prisma-postgresql",
"description": "Next TypeScript Prisma PostgreSQL Web App",
"version": "1.0.0",
"private": true,
"license": "MIT",
"scripts": {
"build": "next build",
"build:start": "npm run build && npm run start &",
"dev": "next dev",
"docker": "docker compose up",
"docker:ci": "docker compose up -d",
"lint": "next lint",
"prisma:db:push": "prisma db push",
"prisma:deploy": "prisma migrate deploy",
"prisma:format": "prisma format",
"prisma:generate": "prisma generate",
"prisma:migrate:create": "prisma migrate dev",
"prisma:migrate:reset:create": "prisma migrate reset",
"prisma:seed": "prisma db seed",
"prisma:studio": "prisma studio",
"start": "next start",
"test": "concurrently --kill-others --max-processes 1 npm:test:jest:ci npm:test:cypress:e2e:ci",
"test:coverage:check": "concurrently --kill-others --max-processes 1 npm:test:coverage:merge npm:test:coverage:report --check-coverage --lines 95",
"test:coverage:merge": "istanbul-merge --out coverage/merged/coverage-final.json coverage/jest/coverage-final.json ./coverage/cypress/coverage-final.json",
"test:coverage:report": "nyc report --reporter=lcov --reporter=text --reporter=text-summary --temp-dir=./coverage/merged --report-dir=./coverage/merged",
"test:cypress:e2e:ci": "cypress run --browser chrome",
"test:cypress:e2e:open": "cypress open --e2e --browser chrome",
"test:jest:ci": "jest"
},
"prisma": {
"seed": "ts-node --project ./tsconfig.prisma.json prisma/seed.ts"
},
"dependencies": {
"@next/font": "13.1.6",
"@prisma/client": "^4.10.1",
"@types/node": "18.13.0",
"@types/react": "18.0.28",
"@types/react-dom": "18.0.10",
"eslint": "8.34.0",
"eslint-config-next": "13.1.6",
"next": "13.1.6",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-markdown": "^8.0.5",
"react-spinners": "^0.13.8"
},
"nyc": {
"report-dir": "./coverage/cypress"
},
"devDependencies": {
"@cypress/code-coverage": "^3.10.0",
"@types/jest": "^29.4.0",
"@typescript-eslint/eslint-plugin": "^5.51.0",
"babel-plugin-istanbul": "^6.1.1",
"concurrently": "^7.6.0",
"istanbul-merge": "^1.1.1",
"jest": "^29.4.2",
"jest-mock-extended": "^3.0.1",
"local-cypress": "^1.2.6",
"nyc": "^15.1.0",
"prisma": "^4.10.1",
"ts-jest": "^29.0.5",
"ts-node": "^10.9.1",
"typescript": "^4.9.5"
},
"engines": {
"node": "18",
"npm": "8"
},
"publishConfig": {
"access": "restricted"
}
}