-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
218 lines (218 loc) · 8.53 KB
/
Copy pathpackage.json
File metadata and controls
218 lines (218 loc) · 8.53 KB
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
209
210
211
212
213
214
215
216
217
218
{
"name": "scripthammer",
"version": "0.0.1",
"description": "ScriptHammer - Modern Next.js template with PWA, theming, and interactive components",
"packageManager": "pnpm@10.16.1",
"keywords": [
"nextjs",
"react",
"pwa",
"tailwindcss",
"daisyui",
"starter",
"dice",
"gaming",
"drag-drop",
"interactive",
"component-library"
],
"private": true,
"scripts": {
"dev": "node scripts/detect-project.js && bash scripts/sync-wireframes.sh && next dev",
"dev:clean": "rm -rf .next && node scripts/detect-project.js && next dev",
"docker:clean": "./scripts/clean-start.sh",
"docker:dev": "docker compose up",
"docker:down": "docker compose down",
"docker:rebuild": "docker compose build --no-cache",
"prime": "tsx scripts/prime-supabase.ts",
"use:local": "node scripts/switch-env.js local",
"use:cloud": "node scripts/switch-env.js cloud",
"dev:local": "bash scripts/use-local-supabase.sh",
"dev:cloud": "bash scripts/use-cloud-supabase.sh",
"seed:local": "bash scripts/setup-e2e-users.sh",
"supabase:local:up": "docker compose --profile supabase up -d",
"supabase:local:down": "docker compose --profile supabase down",
"supabase:auth-config": "tsx scripts/supabase/set-auth-config.ts",
"db:reset": "tsx scripts/reset-database.ts",
"generate:sitemap": "node scripts/generate-sitemap.js",
"generate:rss": "node scripts/generate-rss.js",
"sync:wireframes": "bash scripts/sync-wireframes.sh",
"prebuild": "node scripts/detect-project.js && node scripts/generate-author-config.js && node scripts/generate-manifest.js && node scripts/generate-sitemap.js && node scripts/generate-rss.js && bash scripts/sync-wireframes.sh",
"build": "pnpm run clean:next && NODE_ENV=production next build",
"start": "next start",
"lint": "eslint",
"test": "pnpm run clean:next && vitest",
"test:ui": "vitest --ui",
"test:coverage": "vitest run --coverage",
"format": "prettier --write .",
"format:check": "prettier --check .",
"storybook": "storybook dev -p 6006 --no-open",
"build-storybook": "rm -rf storybook-static && STORYBOOK_SKIP_STATIC=1 storybook build && cp -r public/* storybook-static/",
"sprint:plan": "node scripts/sprint-planning.js full",
"sprint:spec": "node scripts/sprint-planning.js spec",
"sprint:tasks": "node scripts/sprint-planning.js tasks",
"sprint:archive": "node scripts/sprint-planning.js archive",
"sprint:status": "node scripts/sprint-planning.js status",
"prepare": "husky",
"lint:staged": "lint-staged",
"clean:next": "rm -rf .next/* .next/.* 2>/dev/null || true",
"type-check": "tsc --noEmit",
"ci:validate": "./scripts/validate-ci.sh",
"validate:breakpoints": "tsx scripts/validate-breakpoints.ts",
"ci:quick": "./scripts/validate-ci.sh --quick",
"audit:components": "node scripts/audit-components.js",
"analyze": "ANALYZE=true pnpm run build",
"migrate:components": "node scripts/migrate-components.js",
"validate:structure": "node scripts/validate-structure.js",
"generate:component": "plop component",
"generate:blog": "node scripts/generate-blog-data.js",
"test:e2e": "playwright test",
"test:a11y": "pa11y-ci --config config/pa11yci.json",
"test:a11y:dev": "start-server-and-test dev http://localhost:3000 test:a11y",
"test:a11y:ci": "start-server-and-test 'serve out -p 3000' http://localhost:3000 test:a11y",
"test:a11y:watch": "nodemon --watch src --ext tsx,ts --exec 'pnpm test:a11y:dev'",
"test:a11y:audit": "pa11y-ci --config config/pa11yci.json --reporter json > a11y-audit.json && echo 'Audit complete: a11y-audit.json'",
"test:e2e:ui": "playwright test --ui",
"test:e2e:debug": "playwright test --debug",
"test:e2e:report": "playwright show-report",
"test:suite": "./scripts/test-suite.sh",
"test:scripts": "node --test --test-reporter=spec scripts/__tests__/*.test.js scripts/__tests__/contract/*.test.js scripts/__tests__/integration/*.test.js",
"test:rls": "vitest run --config vitest.rls.config.ts",
"test:quick": "pnpm run type-check && pnpm run lint && pnpm test -- --run",
"test:pwa": "node scripts/test-pwa.js",
"test:pwa:verbose": "node scripts/test-pwa.js --verbose",
"test:pwa:build": "echo 'Building production in Docker...' && docker compose exec scripthammer pnpm run build && echo 'Starting server...' && docker compose exec -d scripthammer sh -c 'cd out && python3 -m http.server 3001' && sleep 5 && docker compose exec -e TEST_PORT=3001 scripthammer node scripts/test-pwa.js --production && docker compose exec scripthammer pkill -f 'python3 -m http.server' || true",
"cleanup:intents": "tsx scripts/cleanup-expired-intents.ts",
"retry:webhooks": "tsx scripts/retry-failed-webhooks.ts",
"gitleaks": "gitleaks detect --source . --config .gitleaks.toml",
"gitleaks:staged": "gitleaks protect --staged --config .gitleaks.toml"
},
"dependencies": {
"@calcom/embed-react": "^1.5.3",
"@emailjs/browser": "^4.4.1",
"@hookform/resolvers": "^5.2.2",
"@noble/curves": "^2.0.1",
"@react-three/drei": "^10.7.7",
"@react-three/fiber": "^9.6.1",
"@sentry/react": "9.47.1",
"@stripe/stripe-js": "^8.0.0",
"@supabase/ssr": "^0.5.2",
"@supabase/supabase-js": "^2.58.0",
"@tanstack/react-virtual": "^3.13.12",
"@types/leaflet": "^1.9.20",
"@types/prismjs": "^1.26.5",
"argon2-wasm-esm": "^1.0.3",
"chokidar": "^4.0.3",
"crypto-js": "^4.2.0",
"dexie": "^4.0.10",
"file-saver": "^2.0.5",
"gray-matter": "^4.0.3",
"jszip": "^3.10.1",
"leaflet": "^1.9.4",
"lz-string": "^1.5.0",
"markdown-to-jsx": "^7.7.13",
"next": "15.5.9",
"prismjs": "^1.30.0",
"react": "19.1.0",
"react-calendly": "^4.4.0",
"react-dom": "19.1.0",
"react-easy-crop": "^5.5.3",
"react-hook-form": "^7.62.0",
"react-leaflet": "^5.0.0",
"rehype": "^13.0.2",
"rehype-autolink-headings": "^7.1.0",
"rehype-highlight": "^7.0.2",
"rehype-raw": "^7.0.0",
"rehype-slug": "^6.0.0",
"rehype-stringify": "^10.0.1",
"remark": "^15.0.1",
"remark-frontmatter": "^5.0.0",
"remark-gfm": "^4.0.1",
"remark-html": "^16.0.1",
"remark-parse": "^11.0.0",
"three": "^0.184.0",
"to-vfile": "^8.0.0",
"unified": "^11.0.5",
"web-vitals": "^5.1.0",
"zod": "^4.1.8"
},
"devDependencies": {
"@chromatic-com/storybook": "^5.0.1",
"@eslint/eslintrc": "^3.3.1",
"@next/bundle-analyzer": "^15.5.3",
"@playwright/test": "^1.55.0",
"@storybook/addon-a11y": "^10.2.8",
"@storybook/addon-docs": "^10.2.8",
"@storybook/addon-links": "^10.2.8",
"@storybook/addon-onboarding": "^10.2.8",
"@storybook/addon-themes": "^10.2.8",
"@storybook/nextjs-vite": "10.2.8",
"@storybook/test": "^8.6.15",
"@tailwindcss/postcss": "^4.1.13",
"@testing-library/jest-dom": "^6.8.0",
"@testing-library/react": "^16.3.0",
"@testing-library/user-event": "^14.6.1",
"@types/chokidar": "^2.1.7",
"@types/crypto-js": "^4.2.2",
"@types/file-saver": "^2.0.7",
"@types/jest-axe": "^3.5.9",
"@types/lz-string": "^1.5.0",
"@types/node": "^20.19.14",
"@types/pg": "^8.15.6",
"@types/react": "^19.1.13",
"@types/react-dom": "^19.1.9",
"@types/three": "^0.184.1",
"@vitejs/plugin-react": "^5.0.2",
"@vitest/coverage-v8": "^3.2.4",
"@vitest/ui": "^3.2.4",
"argon2": "^0.44.0",
"axe-core": "^4.12.0",
"axe-playwright": "^2.2.2",
"canvas": "^3.2.0",
"concurrently": "^9.2.1",
"daisyui": "beta",
"dotenv": "^17.2.2",
"eslint": "^9.35.0",
"eslint-config-next": "15.5.9",
"eslint-plugin-storybook": "^10.2.8",
"fake-indexeddb": "^6.2.2",
"glob": "^10.0.0",
"hash-wasm": "^4.12.0",
"husky": "^9.1.7",
"jest-axe": "^10.0.0",
"jsdom": "^26.1.0",
"lighthouse": "^12.8.2",
"lint-staged": "^16.1.6",
"msw": "^2.0.0",
"nodemon": "^3.1.10",
"pa11y": "^9.0.0",
"pa11y-ci": "^4.0.1",
"pg": "^8.16.3",
"plop": "^4.0.0",
"prettier": "^3.6.2",
"prettier-plugin-tailwindcss": "^0.6.14",
"serve": "^14.2.5",
"serve-handler": "^6.1.6",
"sharp": "^0.34.4",
"start-server-and-test": "^2.1.0",
"storybook": "^10.2.8",
"tailwindcss": "^4.1.13",
"tsx": "^4.20.6",
"typescript": "^5.9.2",
"vite": "^7.0.0",
"vitest": "^3.2.4",
"wait-on": "^8.0.5"
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"prettier --write",
"eslint --fix"
],
"*.{css,md,json}": "prettier --write"
},
"msw": {
"workerDirectory": [
"public"
]
}
}