forked from bettergovph/petition
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
77 lines (77 loc) · 3.17 KB
/
package.json
File metadata and controls
77 lines (77 loc) · 3.17 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
{
"name": "petition",
"private": true,
"version": "0.0.0",
"type": "module",
"scripts": {
"dev": "vite",
"build": "tsc -b && vite build",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"format": "prettier --write .",
"format:check": "prettier --check .",
"preview": "vite preview",
"test:e2e": "playwright test",
"test:e2e:ui": "playwright test --ui",
"test:e2e:headed": "playwright test --headed",
"security:audit": "npm audit --audit-level=moderate",
"security:check": "audit-ci --config .audit-ci.json",
"deps:check": "depcheck",
"deps:outdated": "npm outdated",
"db:setup": "wrangler d1 execute petition-db --file=./src/db/migrations/consolidated_setup.sql",
"db:reset": "wrangler d1 execute petition-db --command='DROP TABLE IF EXISTS petition_categories; DROP TABLE IF EXISTS signatures; DROP TABLE IF EXISTS petitions; DROP TABLE IF EXISTS categories; DROP TABLE IF EXISTS users; DROP TABLE IF EXISTS accounts; DROP TABLE IF EXISTS sessions; DROP TABLE IF EXISTS verification_tokens;' && npm run db:setup",
"db:reset:remote": "wrangler d1 execute petition-db --remote --command='DROP TABLE IF EXISTS petition_categories; DROP TABLE IF EXISTS signatures; DROP TABLE IF EXISTS petitions; DROP TABLE IF EXISTS categories; DROP TABLE IF EXISTS users; DROP TABLE IF EXISTS accounts; DROP TABLE IF EXISTS sessions; DROP TABLE IF EXISTS verification_tokens;' && npm run db:setup",
"db:create": "wrangler d1 create petition-db --location apac",
"deploy": "npm run build && wrangler pages deploy dist"
},
"dependencies": {
"@auth/core": "^0.34.2",
"@auth/d1-adapter": "^1.4.2",
"@cloudflare/vite-plugin": "^1.13.5",
"@dr.pogodin/react-helmet": "^3.0.4",
"@icons-pack/react-simple-icons": "^13.7.0",
"@radix-ui/react-dialog": "^1.1.15",
"@radix-ui/react-popover": "^1.1.15",
"@radix-ui/react-select": "^2.2.6",
"@radix-ui/react-slot": "^1.2.3",
"@tailwindcss/vite": "^4.1.13",
"@uiw/react-md-editor": "^4.0.8",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"cmdk": "^1.1.1",
"i18next": "^25.5.2",
"i18next-browser-languagedetector": "^8.2.0",
"i18next-http-backend": "^3.0.2",
"lucide-react": "^0.544.0",
"react": "^19.1.1",
"react-dom": "^19.1.1",
"react-i18next": "^15.7.3",
"react-router-dom": "^6.30.1",
"tailwind-merge": "^3.3.1",
"tailwindcss": "^4.1.13",
"wrangler": "^4.40.0"
},
"devDependencies": {
"@cloudflare/workers-types": "^4.20250924.0",
"@eslint/js": "^9.36.0",
"@playwright/test": "^1.55.1",
"@types/node": "^24.5.2",
"@types/react": "^19.1.13",
"@types/react-dom": "^19.1.9",
"@typescript-eslint/eslint-plugin": "^8.44.1",
"@typescript-eslint/parser": "^8.44.1",
"@vitejs/plugin-react": "^5.0.3",
"audit-ci": "^7.0.1",
"depcheck": "^1.4.7",
"eslint": "^9.36.0",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "^5.2.0",
"eslint-plugin-react-refresh": "^0.4.21",
"globals": "^16.4.0",
"prettier": "^3.6.2",
"typescript": "~5.8.3",
"typescript-eslint": "^8.44.0",
"vite": "^7.1.7"
}
}