-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
44 lines (44 loc) · 1.66 KB
/
package.json
File metadata and controls
44 lines (44 loc) · 1.66 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
{
"name": "my-reps",
"version": "0.0.0",
"description": "Learning-friendly civic representative lookup for CLI, API, and Cloudflare Pages demos.",
"private": true,
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "https://github.com/codewithaloha/my-reps.git"
},
"type": "module",
"bin": {
"georep": "./bin/georep.js"
},
"scripts": {
"dev": "vite --host 127.0.0.1",
"build": "tsc --noEmit && vite build",
"test": "vitest run",
"test:e2e": "playwright test",
"georep": "tsx src/cli/georep.ts",
"pages:preview": "npm run build && CLOUDFLARE_LOAD_DEV_VARS_FROM_DOT_ENV=false npx wrangler pages dev dist --env-file=./config/wrangler-mock.env --compatibility-date=2024-11-18 --binding GEOREP_MODE=mock",
"pages:preview:e2e": "npm run build && CLOUDFLARE_LOAD_DEV_VARS_FROM_DOT_ENV=false npx wrangler pages dev dist --env-file=./config/wrangler-mock.env --compatibility-date=2024-11-18 --binding GEOREP_MODE=mock --ip 127.0.0.1 --port 8788",
"pages:deploy": "npm run build && CLOUDFLARE_LOAD_DEV_VARS_FROM_DOT_ENV=false npx wrangler pages deploy dist --project-name my-reps --branch main",
"smoke:lookup": "node scripts/smoke-lookup.mjs"
},
"dependencies": {
"react": "^19.0.0",
"react-dom": "^19.0.0"
},
"devDependencies": {
"@playwright/test": "^1.60.0",
"@testing-library/dom": "^10.4.0",
"@testing-library/react": "^16.0.0",
"@types/node": "^22.0.0",
"@types/react": "^19.0.0",
"@types/react-dom": "^19.0.0",
"@vitejs/plugin-react": "^4.3.4",
"jsdom": "^25.0.0",
"tsx": "^4.19.0",
"typescript": "^5.6.0",
"vite": "^5.4.11",
"vitest": "^2.1.0"
}
}