mirror of
https://github.com/fsolla/teqo.git
synced 2026-11-13 14:55:16 +00:00
Adds static SIDRA demographics, territory-weighted derivation, electorate UI with opt-in copy to manual profiles, shared territory-city resolution, and registers A8+ fill-in debt from capture-review-debts.
143 lines
6.1 KiB
JSON
143 lines
6.1 KiB
JSON
{
|
|
"name": "teqo",
|
|
"version": "1.0.0",
|
|
"description": "White-label civic engagement platform for Brazilian politicians, launched with deputado Jorge Solla.",
|
|
"keywords": [
|
|
"politics",
|
|
"brazil",
|
|
"civic-engagement",
|
|
"white-label",
|
|
"payload-cms"
|
|
],
|
|
"homepage": "https://codeberg.org/fsolla/teqo",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://codeberg.org/fsolla/teqo.git"
|
|
},
|
|
"bugs": {
|
|
"url": "https://codeberg.org/fsolla/teqo/issues"
|
|
},
|
|
"author": "Francisco Solla",
|
|
"license": "MIT",
|
|
"type": "module",
|
|
"scripts": {
|
|
"build": "cross-env NODE_OPTIONS=\"--no-deprecation --conditions=react-server\" payload migrate && cross-env NODE_OPTIONS=\"--no-deprecation --max-old-space-size=8000\" next build",
|
|
"db:start": "docker compose up -d postgres",
|
|
"db:stop": "docker compose down",
|
|
"db:pull": "node scripts/db-pull.mjs",
|
|
"db:seed:posts": "cross-env NODE_OPTIONS=\"--no-deprecation --import=tsx/esm --import=./scripts/seed-loader.mjs\" node scripts/seed-posts.mjs",
|
|
"db:seed:tse": "cross-env NODE_OPTIONS=\"--no-deprecation --import=tsx/esm --import=./scripts/seed-loader.mjs\" node scripts/seed-tse-results.mjs",
|
|
"db:seed:consent": "cross-env NODE_OPTIONS=\"--no-deprecation --import=tsx/esm --import=./scripts/seed-loader.mjs\" node scripts/seed-consent.mjs",
|
|
"build:demographics": "cross-env NODE_OPTIONS=\"--no-deprecation --import=tsx/esm\" node scripts/build-bahia-demographics.mjs",
|
|
"build:geometries": "cross-env NODE_OPTIONS=\"--no-deprecation --import=tsx/esm\" node scripts/build-bahia-geometries.mjs",
|
|
"build:tse-city-codes": "cross-env NODE_OPTIONS=\"--no-deprecation --import=tsx/esm\" node scripts/build-bahia-tse-city-codes.mjs",
|
|
"dev": "node scripts/guard-dev-db.mjs && cross-env NODE_OPTIONS=--no-deprecation next dev",
|
|
"devsafe": "rm -rf .next && node scripts/guard-dev-db.mjs && cross-env NODE_OPTIONS=--no-deprecation next dev",
|
|
"generate:importmap": "cross-env NODE_OPTIONS=\"--no-deprecation --conditions=react-server\" payload generate:importmap",
|
|
"generate:types": "cross-env NODE_OPTIONS=\"--no-deprecation --conditions=react-server\" payload generate:types",
|
|
"migrate": "cross-env NODE_OPTIONS=\"--no-deprecation --conditions=react-server\" payload migrate",
|
|
"migrate:create": "cross-env NODE_OPTIONS=\"--no-deprecation --conditions=react-server\" payload migrate:create",
|
|
"migrate:status": "cross-env NODE_OPTIONS=\"--no-deprecation --conditions=react-server\" payload migrate:status",
|
|
"lint": "cross-env NODE_OPTIONS=--no-deprecation eslint --cache --cache-location .next/cache/eslint/",
|
|
"lint:fix": "cross-env NODE_OPTIONS=--no-deprecation eslint --fix",
|
|
"payload": "cross-env NODE_OPTIONS=\"--no-deprecation --conditions=react-server\" payload",
|
|
"start": "cross-env NODE_OPTIONS=--no-deprecation next start",
|
|
"test": "pnpm run test:unit && pnpm run test:int",
|
|
"test:all": "pnpm run test && pnpm run test:e2e",
|
|
"test:e2e": "cross-env NODE_OPTIONS=\"--no-deprecation --conditions=react-server --import=tsx/esm\" playwright test --config=playwright.config.ts",
|
|
"test:int": "cross-env NODE_OPTIONS=--no-deprecation vitest run --config ./vitest.config.mts",
|
|
"test:unit": "cross-env NODE_OPTIONS=--no-deprecation DATABASE_URL=postgresql://invalid:invalid@127.0.0.1:1/unit_tests_must_not_connect vitest run --config ./vitest.unit.config.mts",
|
|
"typecheck": "tsc --noEmit",
|
|
"prepare": "husky"
|
|
},
|
|
"dependencies": {
|
|
"@base-ui/react": "^1.6.0",
|
|
"@hookform/resolvers": "^5.2.2",
|
|
"@payloadcms/db-postgres": "3.82.0",
|
|
"@payloadcms/email-resend": "3.82.0",
|
|
"@payloadcms/live-preview-react": "3.82.0",
|
|
"@payloadcms/next": "3.82.0",
|
|
"@payloadcms/richtext-lexical": "3.82.0",
|
|
"@payloadcms/storage-vercel-blob": "3.82.0",
|
|
"@payloadcms/ui": "3.82.0",
|
|
"@radix-ui/react-label": "^2.1.8",
|
|
"@radix-ui/react-select": "^2.2.6",
|
|
"@radix-ui/react-separator": "^1.1.8",
|
|
"@radix-ui/react-slot": "^1.2.4",
|
|
"@vercel/analytics": "^1.6.1",
|
|
"@vercel/speed-insights": "^1.3.1",
|
|
"class-variance-authority": "^0.7.1",
|
|
"clsx": "^2.1.1",
|
|
"cmdk": "^1.1.1",
|
|
"cross-env": "^7.0.3",
|
|
"dotenv": "16.4.7",
|
|
"graphql": "^16.8.1",
|
|
"leaflet": "^1.9.4",
|
|
"lucide-react": "^0.570.0",
|
|
"next": "15.4.11",
|
|
"next-themes": "^0.4.6",
|
|
"payload": "3.82.0",
|
|
"radix-ui": "^1.4.3",
|
|
"react": "^19.2.4",
|
|
"react-dom": "^19.2.4",
|
|
"react-hook-form": "^7.71.1",
|
|
"server-only": "^0.0.1",
|
|
"shadcn": "^4.0.3",
|
|
"sharp": "0.34.2",
|
|
"sonner": "^2.0.7",
|
|
"tailwind-merge": "^3.4.1",
|
|
"tailwindcss-animate": "^1.0.7",
|
|
"topojson-client": "^3.1.0",
|
|
"tw-animate-css": "^1.4.0",
|
|
"zod": "^4.3.6"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/eslintrc": "^3.3.6",
|
|
"@playwright/test": "1.58.2",
|
|
"@tailwindcss/postcss": "^4.1.18",
|
|
"@testing-library/react": "16.3.0",
|
|
"@types/geojson": "^7946.0.16",
|
|
"@types/leaflet": "^1.9.21",
|
|
"@types/node": "22.19.9",
|
|
"@types/react": "^19.2.14",
|
|
"@types/react-dom": "^19.2.3",
|
|
"@types/topojson-client": "^3.1.5",
|
|
"@types/topojson-server": "^3.0.4",
|
|
"@types/topojson-simplify": "^3.0.3",
|
|
"@types/topojson-specification": "^1.0.5",
|
|
"@types/yauzl": "^3.4.0",
|
|
"@vercel/blob": "2.3.1",
|
|
"@vitejs/plugin-react": "4.5.2",
|
|
"csv-parse": "^7.0.1",
|
|
"eslint": "^9.39.2",
|
|
"eslint-config-next": "15.4.11",
|
|
"eslint-config-prettier": "^10.1.8",
|
|
"eslint-plugin-check-file": "^3.3.1",
|
|
"husky": "^9.1.7",
|
|
"jsdom": "28.0.0",
|
|
"postcss": "^8.5.6",
|
|
"prettier": "^3.4.2",
|
|
"schema-dts": "^2.0.0",
|
|
"tailwindcss": "^4.1.18",
|
|
"topojson-server": "^3.0.1",
|
|
"topojson-simplify": "^3.0.3",
|
|
"tsx": "4.21.0",
|
|
"typescript": "5.7.3",
|
|
"typescript-eslint": "^8.55.0",
|
|
"vite-tsconfig-paths": "6.0.5",
|
|
"vitest": "4.0.18",
|
|
"yauzl": "^3.4.0"
|
|
},
|
|
"engines": {
|
|
"node": "^18.20.2 || >=20.9.0",
|
|
"pnpm": "^9 || ^10"
|
|
},
|
|
"pnpm": {
|
|
"onlyBuiltDependencies": [
|
|
"sharp",
|
|
"esbuild",
|
|
"unrs-resolver"
|
|
]
|
|
},
|
|
"packageManager": "pnpm@10.11.0+sha512.6540583f41cc5f628eb3d9773ecee802f4f9ef9923cc45b69890fb47991d4b092964694ec3a4f738a420c918a333062c8b925d312f42e4f0c263eb603551f977"
|
|
}
|