Files
myeasycms-v2/apps/web/package.json
giancarlo 4b9c023700 Update e2e config, package.json, and database schema
The e2e test configuration has been modified to take screenshots only on failure and the dev server code has been adjusted for better project directory handling. The "supabase:reset" command in package.json no longer starts the server after reset. Default roles 'owner' and 'member' are also now seeded into the roles table, and constraints in the roles table and its associated functions have been updated to manage hierarchy levels and role naming more effectively.
2024-04-13 17:10:42 +08:00

103 lines
3.6 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": "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: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": {
"@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": "beta",
"@marsidev/react-turnstile": "^0.5.4",
"@radix-ui/react-icons": "^1.3.0",
"@supabase/supabase-js": "^2.42.3",
"@tanstack/react-query": "5.29.0",
"@tanstack/react-query-next-experimental": "^5.29.2",
"@tanstack/react-table": "^8.16.0",
"date-fns": "^3.6.0",
"edge-csrf": "^1.0.9",
"i18next": "^23.11.1",
"i18next-resources-to-backend": "^1.2.1",
"lucide-react": "^0.367.0",
"next": "14.2.0",
"next-sitemap": "^4.2.3",
"next-themes": "0.3.0",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-hook-form": "^7.51.3",
"react-i18next": "^14.1.0",
"recharts": "^2.12.5",
"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",
"@types/mdx": "^2.0.13",
"@types/node": "^20.12.7",
"@types/react": "^18.2.77",
"@types/react-dom": "^18.2.25",
"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.5"
},
"eslintConfig": {
"root": true,
"extends": [
"@kit/eslint-config/base",
"@kit/eslint-config/nextjs",
"@kit/eslint-config/react",
"@kit/eslint-config/apps"
]
},
"prettier": "@kit/prettier-config"
}