forked from Stand-With-Crypto/swc-web
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
208 lines (208 loc) · 9.2 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
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
{
"name": "swc-web",
"version": "0.1.0",
"private": true,
"scripts": {
"ts": "TZ=UTC dotenv -- tsx --tsconfig ./tsconfig.bin.json",
"ts:ci": "TZ=UTC tsx --tsconfig ./tsconfig.bin.json",
"dev": "next dev",
"dev:turbo": "next dev --turbo",
"email:dev": "email dev --dir \"src/utils/server/email/templates\" --port 3333",
"build": "CI_OVERRIDES=true next build",
"postbuild": "next-sitemap",
"start": "next start",
"lint": "concurrently \"next lint --max-warnings=0\" \"prettier --check .\"",
"typecheck": "tsc --noEmit --incremental",
"test": "jest",
"prettier": "prettier --write .",
"storybook": "storybook dev -p 6006",
"audit": "concurrently \"next lint --max-warnings=0 --fix\" \"prettier --log-level silent --write .\" \"npm run typecheck\" \"npm run test -- -u\"",
"build-storybook": "storybook build",
"codegen": "graphql-codegen --config codegen.ts",
"codegen:schemas": "graphql-codegen --config codegen-schemas.ts",
"intl:extract": "formatjs extract 'src/**/*.{ts,tsx}' '!src/**/*.d.ts' --out-file src/intl/generated/extract.json",
"intl:extract-compile": "formatjs extract 'src/**/*.ts*' '!src/**/*.d.ts' --out-file temp.json --flatten --id-interpolation-pattern '[sha512:contenthash:base64:6]' && formatjs compile 'temp.json' --out-file src/intl/generated/compile/en-US.json && rm temp.json",
"db:seed": "prisma db push --force-reset && prisma db seed",
"inngest": "npx inngest-cli@latest dev --no-discovery -u http://localhost:3000/api/inngest",
"newbranch": "npm i && npx prisma generate && npm run codegen",
"initial": "npx prisma generate && npm run codegen && npm run intl:extract-compile && npm run db:seed",
"e2e:run": "docker compose -f swc-cypress-mysql.docker-compose.yml up -d --force-recreate && until docker compose -f swc-cypress-mysql.docker-compose.yml run --rm mysql bash -c \"mysql -h mysql -P 3306 -u root --password=root --database=swc-web-cypress -e \\\"SELECT 1\\\"\"; do echo \"Waiting for MySQL to be ready...\"; sleep 3; done && IS_DEVELOPING_OFFLINE=true DATABASE_URL=mysql://root:root@localhost:3307/swc-web-cypress npx prisma db push --force-reset && IS_DEVELOPING_OFFLINE=true DATABASE_URL=mysql://root:root@localhost:3307/swc-web-cypress NEXT_PUBLIC_IS_CYPRESS=true start-server-and-test 'npm run start -- -p 3001 & npx inngest-cli@latest dev --no-discovery -u http://localhost:3001/api/inngest' http://localhost:3001 \"cypress open --e2e --config baseUrl=http://localhost:3001\"",
"e2e:run-headless": "docker compose -f swc-cypress-mysql.docker-compose.yml up -d --force-recreate && until docker compose -f swc-cypress-mysql.docker-compose.yml run --rm mysql bash -c \"mysql -h mysql -P 3306 -u root --password=root --database=swc-web-cypress -e \\\"SELECT 1\\\"\"; do echo \"Waiting for MySQL to be ready...\"; sleep 3; done && IS_DEVELOPING_OFFLINE=true DATABASE_URL=mysql://root:root@localhost:3307/swc-web-cypress npx prisma db push --force-reset && IS_DEVELOPING_OFFLINE=true DATABASE_URL=mysql://root:root@localhost:3307/swc-web-cypress NEXT_PUBLIC_IS_CYPRESS=true start-server-and-test 'npm run start -- -p 3001 & npx inngest-cli@latest dev --no-discovery -u http://localhost:3001/api/inngest' http://localhost:3001 \"cypress run --e2e --config baseUrl=http://localhost:3001\"",
"db:start-dev": "docker compose -f dev.docker-compose.yml up -d",
"db:stop-dev": "docker compose -f dev.docker-compose.yml down",
"db:studio": "prisma studio"
},
"prisma": {
"seed": "npm run ts --transpile-only src/bin/seed/seedLocalDb.ts"
},
"dependencies": {
"@builder.io/sdk": "^2.2.2",
"@coinbase/onchainkit": "^0.12.1",
"@date-fns/tz": "^1.1.2",
"@graphql-tools/mock": "^9.0.0",
"@hookform/resolvers": "^3.3.2",
"@next/bundle-analyzer": "^14.1.0",
"@next/third-parties": "^14.2.12",
"@planetscale/database": "^1.16.0",
"@prisma/adapter-planetscale": "^5.10.2",
"@prisma/client": "^5.11.0",
"@radix-ui/react-accordion": "^1.1.2",
"@radix-ui/react-checkbox": "^1.0.4",
"@radix-ui/react-collapsible": "^1.0.3",
"@radix-ui/react-dialog": "^1.0.5",
"@radix-ui/react-dropdown-menu": "^2.0.6",
"@radix-ui/react-icons": "^1.3.0",
"@radix-ui/react-label": "^2.0.2",
"@radix-ui/react-popover": "^1.0.7",
"@radix-ui/react-portal": "^1.1.1",
"@radix-ui/react-progress": "^1.0.3",
"@radix-ui/react-radio-group": "^1.1.3",
"@radix-ui/react-scroll-area": "^1.0.5",
"@radix-ui/react-select": "^2.0.0",
"@radix-ui/react-slot": "^1.0.2",
"@radix-ui/react-tabs": "^1.0.4",
"@radix-ui/react-tooltip": "^1.0.7",
"@radix-ui/react-visually-hidden": "^1.1.0",
"@react-email/components": "0.0.19",
"@sendgrid/eventwebhook": "^8.0.0",
"@sendgrid/mail": "^8.1.3",
"@sentry/nextjs": "^8.7.0",
"@sentry/types": "^8.31.0",
"@tailwindcss/aspect-ratio": "^0.4.2",
"@tanstack/react-table": "^8.11.2",
"@thirdweb-dev/engine": "^0.0.4",
"@thirdweb-dev/sdk": "^4.0.43",
"@udecode/plate": "^29.0.1",
"@upstash/ratelimit": "^1.0.0",
"@upstash/redis": "^1.28.4",
"@vercel/functions": "^1.4.0",
"@vercel/og": "^0.6.1",
"@vercel/speed-insights": "^1.0.5",
"bowser": "^2.11.0",
"class-variance-authority": "^0.7.0",
"clsx": "^2.0.0",
"cmdk": "^0.2.0",
"date-fns": "^4.1.0",
"dotenv": "^16.3.1",
"dotenv-cli": "^7.3.0",
"ethers": "^5.7.2",
"fast-json-stable-stringify": "^2.1.0",
"formatjs": "^0.1.1",
"framer-motion": "^11.2.12",
"fs-extra": "^11.2.0",
"graphql": "^16.8.1",
"inngest": "^3.16.0",
"js-cookie": "^3.0.5",
"js-levenshtein": "^1.1.6",
"jwt-decode": "^4.0.0",
"libphonenumber-js": "^1.11.4",
"lodash-es": "^4.17.21",
"lucide-react": "^0.294.0",
"mixpanel": "^0.18.0",
"mixpanel-browser": "^2.48.1",
"nanoid": "^5.0.5",
"next": "^14.2.4",
"next-i18n-router": "^5.0.2",
"next-sitemap": "^4.2.3",
"next-themes": "^0.2.1",
"nextjs-toploader": "^1.6.12",
"obscenity": "^0.2.0",
"p-retry": "^6.2.0",
"pino-pretty": "^11.2.2",
"react": "^18",
"react-dom": "^18",
"react-email": "2.1.4",
"react-hook-form": "^7.49.2",
"react-intl": "^6.5.5",
"react-simple-maps": "^3.0.0",
"react-use": "^17.5.0",
"react-wrap-balancer": "^1.1.0",
"react-youtube": "^10.1.0",
"sanitize-html": "^2.11.0",
"server-only": "^0.0.1",
"sms-segments-calculator": "^1.2.0",
"sonner": "^1.4.0",
"swr": "^2.2.4",
"tailwind-merge": "^2.2.0",
"tailwindcss-animate": "^1.0.7",
"thirdweb": "^5.45.1",
"twemoji": "^14.0.2",
"twemoji-parser": "^14.0.0",
"twilio": "^5.1.1",
"twitter-api-v2": "^1.15.2",
"undici": "^6.0.1",
"use-places-autocomplete": "^4.0.1",
"uuid": "^9.0.1",
"vaul": "^0.8.9",
"viem": "^2.7.16",
"xlsx": "^0.18.5",
"zod": "^3.22.4"
},
"devDependencies": {
"@faker-js/faker": "^8.3.1",
"@formatjs/cli": "^6.2.4",
"@graphql-codegen/cli": "5.0.0",
"@graphql-codegen/client-preset": "4.1.0",
"@graphql-codegen/graphql-modules-preset": "^4.0.1",
"@graphql-codegen/introspection": "^4.0.0",
"@graphql-codegen/near-operation-file-preset": "^3.0.0",
"@graphql-codegen/schema-ast": "^4.0.0",
"@graphql-codegen/typescript-resolvers": "^4.0.1",
"@mermaid-js/mermaid-cli": "^10.6.1",
"@storybook/addon-essentials": "^8.0.6",
"@storybook/addon-interactions": "^8.0.6",
"@storybook/addon-links": "^8.0.6",
"@storybook/addon-onboarding": "^8.0.6",
"@storybook/addon-styling-webpack": "^1.0.0",
"@storybook/blocks": "^8.0.6",
"@storybook/nextjs": "^8.0.6",
"@storybook/react": "^8.0.6",
"@storybook/test": "^8.0.6",
"@tailwindcss/typography": "^0.5.10",
"@testing-library/jest-dom": "^6.1.5",
"@testing-library/react": "^14.1.2",
"@total-typescript/ts-reset": "^0.5.1",
"@types/fs-extra": "^11.0.4",
"@types/google.maps": "^3.54.10",
"@types/jest": "^29.5.11",
"@types/js-cookie": "^3.0.6",
"@types/js-levenshtein": "^1.1.3",
"@types/lodash-es": "^4.17.12",
"@types/mixpanel-browser": "^2.48.1",
"@types/negotiator": "^0.6.3",
"@types/node": "^20.16.1",
"@types/react": "^18",
"@types/react-dom": "^18",
"@types/react-simple-maps": "^3.0.4",
"@types/sanitize-html": "^2.9.5",
"@types/yargs": "^17.0.32",
"@types/youtube-player": "^5.5.11",
"@typescript-eslint/eslint-plugin": "^6.14.0",
"@typescript-eslint/parser": "^6.14.0",
"autoprefixer": "^10.0.1",
"concurrently": "^8.2.2",
"cypress": "^13.6.6",
"eslint": "^8",
"eslint-config-next": "14.0.4",
"eslint-plugin-formatjs": "^4.11.3",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-no-relative-import-paths": "^1.5.3",
"eslint-plugin-simple-import-sort": "^11.0.0",
"eslint-plugin-storybook": "^0.6.15",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"postcss": "^8",
"prettier": "^3.1.1",
"prettier-plugin-tailwindcss": "^0.5.11",
"prisma": "^5.11.0",
"prisma-erd-generator": "^1.11.2",
"start-server-and-test": "^2.0.3",
"storybook": "^8.0.6",
"tailwindcss": "^3.4.1",
"ts-node": "^10.9.2",
"tsconfig-paths": "^4.2.0",
"tsx": "^4.7.0",
"typescript": "^5.5.4",
"yargs": "^17.7.2"
}
}