-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
127 lines (127 loc) · 4.63 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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
{
"name": "frontend-testing-book-nextjs",
"version": "1.0.0",
"private": true,
"license": "MIT",
"scripts": {
"dev": "next dev",
"build": "next build",
"start": "next start",
"lint": "next lint",
"test": "jest",
"test:storybook": "test-storybook --url http://localhost:6006",
"test:e2e": "npx playwright test",
"test:e2e:report": "npx playwright show-report",
"test:e2e:codegen": "npx playwright codegen",
"typecheck": "tsc --noEmit",
"format": "prettier --write \"./src/**/*.{ts,tsx}\"",
"format:check": "prettier \"./src/**/*.ts\" \"./src/**/*.tsx\" --check",
"storybook": "start-storybook -p 6006",
"storybook:build": "build-storybook",
"storybook:serve": "npx http-server storybook-static -a localhost -p 6006 -s",
"storybook:test": "npx wait-on http://localhost:6006 && npm run test:storybook",
"storybook:ci": "npx concurrently -k -s first \"npm run storybook:serve\" \"npm run storybook:test\"",
"storycap": "npx storycap http://localhost:6006",
"vrt:snapshot": "storycap --serverCmd \"npx http-server storybook-static -a localhost -p 6006\" http://localhost:6006",
"vrt:expected": "rimraf .reg/expected && mv __screenshots__ .reg/expected",
"vrt:run": "reg-suit run",
"vrt:serve": "npx http-server .reg -o -p 8080",
"prisma:migrate": "prisma migrate dev",
"prisma:reset": "prisma migrate reset --force",
"prisma:studio": "npx prisma studio",
"docker:prod:build": "docker compose -f docker-compose.prod.yaml build",
"docker:prod:start": "docker compose -f docker-compose.prod.yaml up",
"docker:e2e:start": "npm run prisma:reset && start-server-and-test 'npm start' 3000 'npm run test:e2e'",
"docker:e2e:build": "docker compose -f docker-compose.e2e.yaml build",
"docker:e2e:ci": "docker compose -f docker-compose.e2e.yaml up --exit-code-from e2e"
},
"dependencies": {
"@hookform/resolvers": "^2.9.10",
"@prisma/client": "^4.6.0",
"aws-sdk": "^2.1251.0",
"bcryptjs": "^2.4.3",
"clsx": "^1.2.1",
"connect-redis": "^6.1.3",
"ioredis": "^5.2.4",
"mime-types": "^2.1.35",
"next": "^13.0.2",
"next-session": "^4.0.5",
"prisma": "^4.6.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-hook-form": "^7.39.2",
"react-markdown": "^8.0.3",
"react-syntax-highlighter": "^15.5.0",
"react-use": "^17.4.0",
"uuid": "^9.0.0",
"zod": "^3.19.1"
},
"devDependencies": {
"@babel/core": "^7.19.3",
"@playwright/test": "^1.27.1",
"@storybook/addon-a11y": "^6.5.13",
"@storybook/addon-actions": "^6.5.13",
"@storybook/addon-essentials": "^6.5.13",
"@storybook/addon-interactions": "^6.5.13",
"@storybook/addon-links": "^6.5.13",
"@storybook/builder-webpack5": "^6.5.13",
"@storybook/jest": "^0.0.10",
"@storybook/manager-webpack5": "^6.5.13",
"@storybook/react": "^6.5.13",
"@storybook/test-runner": "^0.9.0",
"@storybook/testing-library": "^0.0.13",
"@storybook/testing-react": "^1.3.0",
"@svgr/webpack": "^6.4.0",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^13.4.0",
"@testing-library/user-event": "^14.4.3",
"@types/bcryptjs": "^2.4.2",
"@types/connect-redis": "^0.0.18",
"@types/jest": "^29.2.2",
"@types/mime-types": "^2.1.1",
"@types/node": "^18.8.5",
"@types/react": "18.0.21",
"@types/react-dom": "18.0.6",
"@types/react-syntax-highlighter": "^15.5.5",
"@types/uuid": "^8.3.4",
"axe-playwright": "^1.1.11",
"babel-loader": "^8.2.5",
"babel-plugin-inline-react-svg": "^2.0.1",
"eslint": "8.25.0",
"eslint-config-next": "12.3.1",
"eslint-plugin-jest-dom": "^4.0.2",
"eslint-plugin-storybook": "^0.6.7",
"eslint-plugin-testing-library": "^5.7.2",
"jest": "^29.3.1",
"jest-environment-jsdom": "^29.3.1",
"jest-html-reporters": "^3.0.11",
"msw": "^0.47.4",
"msw-storybook-addon": "^1.6.3",
"next-router-mock": "^0.9.1",
"npm-run-all": "^4.1.5",
"playwright": "^1.27.1",
"prettier": "^2.7.1",
"prettier-plugin-organize-imports": "^3.1.1",
"reg-keygen-git-hash-plugin": "^0.12.1",
"reg-notify-github-plugin": "^0.12.1",
"reg-publish-s3-plugin": "^0.12.1",
"reg-suit": "^0.12.1",
"start-server-and-test": "^1.14.0",
"storybook-addon-next-router": "^4.0.1",
"storycap": "^3.1.9",
"ts-node": "^10.9.1",
"typescript": "^4.8.4",
"whatwg-fetch": "^3.6.2"
},
"msw": {
"workerDirectory": "public"
},
"prisma": {
"seed": "ts-node --compiler-options {\"module\":\"CommonJS\"} prisma/seed/index.ts"
},
"overrides": {
"storybook-addon-next-router": {
"next": "$next"
}
}
}