Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generate the scripts section depending on the selected modules when running npx nuxi@latest init #792

Open
Rednas83 opened this issue Mar 15, 2025 · 0 comments

Comments

@Rednas83
Copy link

Something like
package.json

  "scripts": {
    "===NUXT===":"Build scripts",
    "?": "nuxi info",
    "dev": "nuxt dev",
    "preview": "nuxt preview",
    "typecheck": "nuxt typecheck",
    "clean": "nuxt cleanup",
    "build": "nuxt build",
    "generate": "nuxt generate",
    "prepare": "nuxt prepare",    
    "lint": "eslint .",
    "===PACKAGE MANAGEMENT===":"Installation scripts",
    "reset": "npx clear-npx-cache",
    "nuxt": "npx nuxi@latest upgrade --dedupe",    
    "nodejs": "fnm install 22",  
    "===SERVER===":"Supabase scripts", 
    "server-reset": "supabase db reset --linked",
    "server-login": "supabase login",
    "server-seed": "node --env-file=.env supabase/seed.ts", 
    "server-generate-db": "supabase gen types --project-id xxxxxxxxxxxxxxxxxxxxxx --schema public > plugins/supabase.ts",     
    "server-generate-keys": "supabase gen keys --experimental"    
  },
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant