Files
zeekay 3398c227ed A sign-out waits to be asked to sign in again
/login?from=logout left for hanzo.ai like any signed-out visit, and
hanzo.ai answers a *.hanzo.ai callback from its own session on arrival,
so signing out signed the person straight back in. That page now says
they are signed out and offers Sign in.
2026-10-17 04:02:19 -07:00

186 lines
6.7 KiB
JSON

{
"name": "@hanzo/analytics",
"version": "3.1.28",
"description": "Privacy-focused web analytics for the Hanzo ecosystem.",
"author": "Hanzo AI, Inc. <[email protected]>",
"license": "MIT",
"homepage": "https://analytics.hanzo.ai",
"repository": {
"type": "git",
"url": "https://github.com/hanzoai/analytics.git"
},
"type": "module",
"scripts": {
"dev": "next dev -p 3001 --turbo",
"build": "npm-run-all check-env build-db check-db build-tracker build-recorder build-geo build-app",
"start": "next start",
"build-docker": "npm-run-all build-db build-tracker build-recorder build-geo build-app",
"start-docker": "npm-run-all check-db update-tracker start-server",
"start-env": "node scripts/start-env.js",
"start-server": "node server.js",
"build-app": "next build --turbo",
"build-icons": "svgr ./src/assets --out-dir src/components/svg --typescript",
"build-components": "tsup",
"build-tracker": "rollup -c rollup.tracker.config.js",
"build-recorder": "rollup -c rollup.recorder.config.js",
"build-prisma-client": "node scripts/build-prisma-client.js",
"build-lang": "npm-run-all format-lang compile-lang download-country-names download-language-names clean-lang",
"build-geo": "node scripts/build-geo.js",
"build-db": "npm-run-all build-db-client build-prisma-client",
"build-db-schema": "prisma db pull",
"build-db-client": "prisma generate",
"update-tracker": "node scripts/update-tracker.js",
"update-db": "prisma migrate deploy",
"check-db": "node scripts/check-db.js",
"check-env": "node scripts/check-env.js",
"copy-db-files": "node scripts/copy-db-files.js",
"extract-messages": "formatjs extract \"src/components/messages.ts\" --out-file build/extracted-messages.json",
"merge-messages": "node scripts/merge-messages.js",
"generate-lang": "npm-run-all extract-messages merge-messages",
"format-lang": "node scripts/format-lang.js",
"compile-lang": "formatjs compile-folder --ast build/messages public/intl/messages",
"clean-lang": "prettier --write ./public/intl/**/*.json",
"download-country-names": "node scripts/download-country-names.js",
"download-language-names": "node scripts/download-language-names.js",
"prepare": "node -e \"if (process.env.NODE_ENV !== 'production'){process.exit(1)} \" || husky install",
"test": "jest",
"cypress-open": "cypress open cypress run",
"cypress-run": "cypress run cypress run",
"seed-data": "tsx scripts/seed-data.ts",
"lint": "biome lint .",
"format": "biome format --write .",
"check": "biome check --write"
},
"lint-staged": {
"**/*.{js,jsx,ts,tsx,json,css}": [
"biome check --write --no-errors-on-unmatched --files-ignore-unknown=true"
]
},
"cacheDirectories": [
".next/cache"
],
"dependencies": {
"@clickhouse/client": "catalog:",
"@date-fns/utc": "catalog:",
"@dicebear/collection": "catalog:",
"@dicebear/core": "catalog:",
"@fontsource/geist-sans": "catalog:",
"@hanzo/dashboard": "catalog:",
"@hanzo/design": "catalog:",
"@hanzo/gui": "catalog:",
"@hanzo/iam": "catalog:",
"@hanzo/logo": "catalog:",
"@hanzo/react-zen": "npm:@umami/react-zen@^0.211.0",
"@hanzo/redis-client": "npm:@umami/redis-client@^0.29.0",
"@hanzo/ui": "catalog:",
"@hanzogui/shell": "catalog:",
"@hello-pangea/dnd": "catalog:",
"@prisma/adapter-pg": "catalog:",
"@prisma/client": "catalog:",
"@prisma/extension-read-replicas": "catalog:",
"@react-spring/web": "catalog:",
"@svgr/cli": "catalog:",
"@tanstack/react-query": "catalog:",
"chalk": "catalog:",
"chart.js": "catalog:",
"chartjs-adapter-date-fns": "catalog:",
"classnames": "catalog:",
"colord": "catalog:",
"cors": "catalog:",
"cross-spawn": "catalog:",
"date-fns": "catalog:",
"date-fns-tz": "catalog:",
"debug": "catalog:",
"del": "catalog:",
"detect-browser": "catalog:",
"dotenv": "catalog:",
"esbuild": "catalog:",
"fs-extra": "catalog:",
"immer": "catalog:",
"ipaddr.js": "catalog:",
"is-ci": "catalog:",
"is-docker": "catalog:",
"is-localhost-ip": "catalog:",
"isbot": "catalog:",
"jsonwebtoken": "catalog:",
"jszip": "catalog:",
"kafkajs": "catalog:",
"lucide-react": "catalog:",
"maxmind": "catalog:",
"nats": "catalog:",
"next": "catalog:",
"node-fetch": "catalog:",
"npm-run-all": "catalog:",
"papaparse": "catalog:",
"pg": "catalog:",
"prisma": "catalog:",
"prop-types": "catalog:",
"pure-rand": "catalog:",
"react": "catalog:",
"react-dom": "catalog:",
"react-error-boundary": "catalog:",
"react-intl": "catalog:",
"react-native-web": "catalog:",
"react-resizable-panels": "catalog:",
"react-simple-maps": "catalog:",
"react-use-measure": "catalog:",
"react-window": "catalog:",
"request-ip": "catalog:",
"rrweb": "catalog:",
"rrweb-player": "catalog:",
"semver": "catalog:",
"serialize-error": "catalog:",
"thenby": "catalog:",
"ua-parser-js": "catalog:",
"uuid": "catalog:",
"zod": "catalog:",
"zustand": "catalog:"
},
"devDependencies": {
"@biomejs/biome": "catalog:",
"@formatjs/cli": "catalog:",
"@netlify/plugin-nextjs": "catalog:",
"@rollup/plugin-alias": "catalog:",
"@rollup/plugin-commonjs": "catalog:",
"@rollup/plugin-json": "catalog:",
"@rollup/plugin-node-resolve": "catalog:",
"@rollup/plugin-replace": "catalog:",
"@rollup/plugin-terser": "catalog:",
"@rollup/plugin-typescript": "catalog:",
"@types/jest": "catalog:",
"@types/node": "catalog:",
"@types/react": "catalog:",
"@types/react-dom": "catalog:",
"@types/react-window": "catalog:",
"babel-plugin-react-compiler": "catalog:",
"cross-env": "catalog:",
"cypress": "catalog:",
"extract-react-intl-messages": "catalog:",
"husky": "catalog:",
"jest": "catalog:",
"lint-staged": "catalog:",
"postcss": "catalog:",
"postcss-flexbugs-fixes": "catalog:",
"postcss-import": "catalog:",
"postcss-preset-env": "catalog:",
"prompts": "catalog:",
"rollup": "catalog:",
"rollup-plugin-copy": "catalog:",
"rollup-plugin-delete": "catalog:",
"rollup-plugin-dts": "catalog:",
"rollup-plugin-node-externals": "catalog:",
"rollup-plugin-peer-deps-external": "catalog:",
"rollup-plugin-postcss": "catalog:",
"stylelint": "catalog:",
"stylelint-config-css-modules": "catalog:",
"stylelint-config-prettier": "catalog:",
"stylelint-config-recommended": "catalog:",
"tar": "catalog:",
"ts-node": "catalog:",
"tsup": "catalog:",
"tsx": "catalog:",
"typescript": "catalog:"
},
"packageManager": "[email protected]"
}