Files
myeasycms-v2/apps/web/package.json
giancarlo 473de45f19 Update Supabase server instructions and scripts
Updated README.md and scripts to separate the 'web application' and 'Supabase server' in the development process. Modified package.json to include specific scripts for starting, stopping, and generating the Supabase schema. Also adjusted GitHub workflow to start Supabase server before running the app and reduced retention of Playwright report artifacts from 30 to 7 days.
2024-04-11 17:01:27 +08:00

100 lines
3.4 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",
"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",
"typecheck": "tsc --noEmit",
"with-env": "dotenv -e ./.env.local --",
"supabase:start": "supabase status || supabase start",
"supabase:stop": "supabase stop",
"supabase:reset": "supabase db reset || supabase start",
"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"
},
"dependencies": {
"@epic-web/invariant": "^1.0.0",
"@hookform/resolvers": "^3.3.4",
"@kit/accounts": "workspace:^",
"@kit/admin": "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/shared": "workspace:^",
"@kit/supabase": "workspace:^",
"@kit/team-accounts": "workspace:^",
"@kit/ui": "workspace:^",
"@makerkit/data-loader-supabase-core": "^0.0.7",
"@makerkit/data-loader-supabase-nextjs": "^0.0.9",
"@marsidev/react-turnstile": "^0.5.4",
"@radix-ui/react-icons": "^1.3.0",
"@supabase/supabase-js": "^2.42.0",
"@tanstack/react-query": "5.29.0",
"@tanstack/react-query-next-experimental": "^5.29.0",
"@tanstack/react-table": "^8.15.3",
"date-fns": "^3.6.0",
"edge-csrf": "^1.0.9",
"i18next": "^23.11.0",
"i18next-resources-to-backend": "^1.2.0",
"lucide-react": "^0.367.0",
"next": "14.2.0-canary.65",
"next-sitemap": "^4.2.3",
"next-themes": "0.3.0",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-hook-form": "^7.51.2",
"react-i18next": "^14.1.0",
"recharts": "^2.12.4",
"sonner": "^1.4.41",
"zod": "^3.22.4"
},
"devDependencies": {
"@kit/eslint-config": "workspace:^",
"@kit/prettier-config": "workspace:^",
"@kit/tailwind-config": "workspace:^",
"@kit/tsconfig": "workspace:^",
"@next/bundle-analyzer": "14.2.0-canary.54",
"@types/mdx": "^2.0.12",
"@types/node": "^20.12.7",
"@types/react": "^18.2.75",
"@types/react-dom": "^18.2.22",
"autoprefixer": "^10.4.19",
"dotenv-cli": "^7.4.1",
"eslint": "^8.57.0",
"prettier": "^3.2.5",
"supabase": "^1.153.4",
"tailwindcss": "3.4.1",
"typescript": "^5.4.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"
}