* Add events handling and enhance analytics tracking Added a new events system to track user actions throughout the application. Specific significant events such as user signup, sign-in, and checkout have dedicated handlers. Updated the analytics system to handle these event triggers and improved analytics reporting. An analytics provider has been implemented to manage event subscriptions and analytics event mappings. * Remove unused dependencies from package.json files Unused packages "@tanstack/react-table" and "next" have been removed from the packages/shared and tooling directories respectively. These changes help ensure that only needed packages are included in the project, reducing potential security risks and unnecessary processing overhead. * Update dependencies Multiple package versions were updated including "@tanstack/react-query" and "lucide-react"
112 lines
3.8 KiB
JSON
112 lines
3.8 KiB
JSON
{
|
|
"name": "web",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"sideEffects": false,
|
|
"type": "module",
|
|
"scripts": {
|
|
"analyze": "ANALYZE=true pnpm run build",
|
|
"build": "pnpm with-env next build",
|
|
"build:test": "NODE_ENV=test pnpm with-env:test next build",
|
|
"clean": "git clean -xdf .next .turbo node_modules",
|
|
"dev": "pnpm with-env next dev --turbo",
|
|
"next:lint": "next lint",
|
|
"format": "prettier --check \"**/*.{js,cjs,mjs,ts,tsx,md,json}\"",
|
|
"start": "pnpm with-env next start",
|
|
"start:test": "NODE_ENV=test pnpm with-env:test next start",
|
|
"typecheck": "tsc --noEmit",
|
|
"with-env": "dotenv -e ./.env.local --",
|
|
"with-env:test": "dotenv -e ./.env.test --",
|
|
"supabase": "supabase",
|
|
"supabase:start": "supabase status || supabase start",
|
|
"supabase:stop": "supabase stop",
|
|
"supabase:reset": "supabase db reset",
|
|
"supabase:status": "supabase status",
|
|
"supabase:test": "supabase db test",
|
|
"supabase:db:lint": "supabase db lint",
|
|
"supabase:deploy": "supabase link --project-ref $SUPABASE_PROJECT_REF && supabase db push",
|
|
"supabase:typegen": "pnpm run supabase:typegen:packages && pnpm run supabase:typegen:app",
|
|
"supabase:typegen:packages": "supabase gen types typescript --local > ../../packages/supabase/src/database.types.ts",
|
|
"supabase:typegen:app": "supabase gen types typescript --local > ./lib/database.types.ts",
|
|
"supabase:db:dump:local": "supabase db dump --local --data-only"
|
|
},
|
|
"dependencies": {
|
|
"@edge-csrf/nextjs": "2.3.0-rc1",
|
|
"@hookform/resolvers": "^3.9.0",
|
|
"@kit/accounts": "workspace:^",
|
|
"@kit/admin": "workspace:^",
|
|
"@kit/analytics": "workspace:^",
|
|
"@kit/auth": "workspace:^",
|
|
"@kit/billing": "workspace:^",
|
|
"@kit/billing-gateway": "workspace:^",
|
|
"@kit/cms": "workspace:^",
|
|
"@kit/database-webhooks": "workspace:^",
|
|
"@kit/email-templates": "workspace:^",
|
|
"@kit/i18n": "workspace:^",
|
|
"@kit/mailers": "workspace:^",
|
|
"@kit/monitoring": "workspace:^",
|
|
"@kit/next": "workspace:^",
|
|
"@kit/notifications": "workspace:^",
|
|
"@kit/shared": "workspace:^",
|
|
"@kit/supabase": "workspace:^",
|
|
"@kit/team-accounts": "workspace:^",
|
|
"@kit/ui": "workspace:^",
|
|
"@makerkit/data-loader-supabase-core": "^0.0.8",
|
|
"@makerkit/data-loader-supabase-nextjs": "^1.2.3",
|
|
"@marsidev/react-turnstile": "^0.7.2",
|
|
"@radix-ui/react-icons": "^1.3.0",
|
|
"@supabase/supabase-js": "^2.44.4",
|
|
"@tanstack/react-query": "5.51.11",
|
|
"@tanstack/react-query-next-experimental": "^5.51.11",
|
|
"@tanstack/react-table": "^8.19.3",
|
|
"date-fns": "^3.6.0",
|
|
"lucide-react": "^0.412.0",
|
|
"next": "14.2.5",
|
|
"next-sitemap": "^4.2.3",
|
|
"next-themes": "0.3.0",
|
|
"react": "18.3.1",
|
|
"react-dom": "18.3.1",
|
|
"react-hook-form": "^7.52.1",
|
|
"react-i18next": "^15.0.0",
|
|
"recharts": "^2.12.7",
|
|
"sonner": "^1.5.0",
|
|
"tailwind-merge": "^2.4.0",
|
|
"zod": "^3.23.8"
|
|
},
|
|
"devDependencies": {
|
|
"@kit/eslint-config": "workspace:^",
|
|
"@kit/prettier-config": "workspace:^",
|
|
"@kit/tailwind-config": "workspace:^",
|
|
"@kit/tsconfig": "workspace:^",
|
|
"@next/bundle-analyzer": "14.2.5",
|
|
"@types/mdx": "^2.0.13",
|
|
"@types/node": "^20.14.11",
|
|
"@types/react": "^18.3.3",
|
|
"@types/react-dom": "^18.3.0",
|
|
"autoprefixer": "^10.4.19",
|
|
"dotenv-cli": "^7.4.2",
|
|
"eslint": "^8.57.0",
|
|
"prettier": "^3.3.3",
|
|
"supabase": "^1.183.5",
|
|
"tailwindcss": "3.4.6",
|
|
"typescript": "^5.5.3"
|
|
},
|
|
"eslintConfig": {
|
|
"root": true,
|
|
"extends": [
|
|
"@kit/eslint-config/base",
|
|
"@kit/eslint-config/nextjs",
|
|
"@kit/eslint-config/react",
|
|
"@kit/eslint-config/apps"
|
|
]
|
|
},
|
|
"prettier": "@kit/prettier-config",
|
|
"browserslist": [
|
|
"iOS >= 9",
|
|
"Android >= 4.4",
|
|
"last 2 versions",
|
|
"> 0.2%",
|
|
"not dead"
|
|
]
|
|
}
|