-
Notifications
You must be signed in to change notification settings - Fork 7
/
package.json
144 lines (144 loc) · 5.03 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
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
{
"name": "starter-kit",
"version": "0.0.0",
"private": true,
"scripts": {
"generate": "prisma generate",
"db:setup": "docker compose -f \"docker-compose.yml\" up -d --wait",
"db:sleep": "sleep 3",
"db:seed": "prisma db seed",
"db:reset": "prisma migrate reset",
"setup": "run-s --print-label db:setup db:sleep migrate:dev db:seed",
"setup:test": "run-s --print-label db:setup db:sleep migrate db:seed",
"teardown": "docker compose down",
"dev": "next dev",
"prebuild": "run-s generate migrate",
"build": "next build",
"build:theme": "npx chakra-cli tokens src/theme/index.ts",
"start": "next start",
"lint": "eslint --report-unused-disable-directives --report-unused-disable-directives .",
"lint:fix": "npm run lint -- --fix",
"format": "prettier --check \"**/*.{js,cjs,mjs,ts,tsx,md,json}\" --ignore-path .prettierignore --config .prettierrc.cjs",
"format:fix": "prettier --write \"**/*.{js,cjs,mjs,ts,tsx,md,json}\" --ignore-path .prettierignore --config .prettierrc.cjs",
"migrate:dev": "prisma migrate dev",
"migrate": "prisma migrate deploy",
"test": "run-s test:*",
"test:vitest": "dotenv -e .env.test vitest run",
"test-dev:vitest": "dotenv -e .env.test vitest",
"test:e2e": "dotenv -e .env.test playwright test",
"test-ci:coverage": "dotenv -e .env.test vitest run -- --coverage",
"test-ci:e2e": "start-server-and-test start http://127.0.0.1:3000 test:e2e",
"test-dev:e2e": "start-server-and-test dev http://127.0.0.1:3000 test:e2e",
"load-test:build": "webpack --config tests/load/webpack.config.js",
"postinstall": "npm run generate && npm run build:theme",
"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build"
},
"prisma": {
"seed": "tsx prisma/seed.ts"
},
"prettier": {
"singleQuote": true,
"semi": false
},
"dependencies": {
"@aws-sdk/client-s3": "3.689.0",
"@aws-sdk/s3-request-presigner": "3.689.0",
"@chakra-ui/anatomy": "^2.3.4",
"@chakra-ui/react": "^2.8.2",
"@chakra-ui/styled-system": "^2.9.2",
"@chakra-ui/theme-tools": "^2.1.2",
"@chakra-ui/utils": "^2.0.15",
"@hookform/resolvers": "^3.3.4",
"@opengovsg/design-system-react": "^1.24.0",
"@opengovsg/sgid-client": "^2.2.0",
"@opengovsg/starter-kitty-validators": "^1.2.5",
"@prisma/client": "^5.7.1",
"@sendgrid/mail": "^8.1.3",
"@tanstack/react-query": "^4.36.1",
"@tanstack/react-query-devtools": "^4.36.1",
"@trpc/client": "10.45.0",
"@trpc/next": "10.45.0",
"@trpc/react-query": "10.45.0",
"@trpc/server": "10.45.0",
"@types/lodash": "^4.14.202",
"@types/validator": "^13.11.7",
"iron-session": "^8.0.1",
"lodash": "^4.17.21",
"nanoid": "^5.0.8",
"next": "^14.2.17",
"pino": "^8.17.2",
"pino-pretty": "^10.3.1",
"react": "18.3.1",
"react-dom": "18.3.1",
"react-error-boundary": "^4.0.12",
"react-hook-form": "^7.51.4",
"react-icons": "^4.12.0",
"superjson": "^2.2.1",
"type-fest": "^4.26.1",
"usehooks-ts": "^2.9.2",
"validator": "^13.11.0",
"wretch": "^2.8.0",
"zod": "^3.22.4"
},
"devDependencies": {
"@babel/plugin-transform-class-properties": "^7.23.3",
"@babel/plugin-transform-object-rest-spread": "^7.23.4",
"@babel/preset-env": "^7.23.8",
"@babel/preset-typescript": "^7.23.3",
"@chakra-ui/cli": "^2.4.1",
"@date-fns/tz": "^1.2.0",
"@electric-sql/pglite": "^0.2.12",
"@ianvs/prettier-plugin-sort-imports": "^4.4.0",
"@playwright/test": "^1.40.1",
"@storybook/addon-a11y": "8.4.2",
"@storybook/addon-essentials": "8.4.2",
"@storybook/addon-interactions": "8.4.2",
"@storybook/addon-links": "8.4.2",
"@storybook/addon-themes": "8.4.2",
"@storybook/blocks": "8.4.2",
"@storybook/nextjs": "8.4.2",
"@storybook/react": "8.4.2",
"@storybook/test": "8.4.2",
"@types/eslint": "^8.56.1",
"@types/node": "^18.19.5",
"@types/react": "18.3.12",
"@typescript-eslint/eslint-plugin": "^8.14.0",
"@typescript-eslint/parser": "^8.14.0",
"@vitest/coverage-istanbul": "^2.1.1",
"clean-webpack-plugin": "^4.0.0",
"date-fns": "^4.1.0",
"dotenv-cli": "^7.3.0",
"eslint": "^8.57.1",
"eslint-config-next": "15.0.3",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-react": "^7.37.2",
"eslint-plugin-react-hooks": "^5.0.0",
"eslint-plugin-storybook": "^0.11.0",
"k6-trpc": "^1.0.0",
"mockdate": "^3.0.5",
"msw": "^2.6.4",
"msw-storybook-addon": "^2.0.4",
"msw-trpc": "^2.0.0-beta.1",
"node-mocks-http": "^1.14.1",
"npm-run-all": "^4.1.5",
"pglite-prisma-adapter": "^0.2.0",
"prettier": "^3.3.2",
"prisma": "^5.7.1",
"start-server-and-test": "^2.0.3",
"storybook": "8.4.2",
"tsx": "^4.7.0",
"typescript": "^5.6.3",
"vite": "^5.4.7",
"vitest": "^2.1.1",
"webpack-cli": "^5.1.4",
"webpack-glob-entries": "^1.0.1"
},
"publishConfig": {
"access": "restricted"
},
"msw": {
"workerDirectory": "public"
}
}