create-sitb-mobile-app
v1.0.1
Published
CLI to scaffold a new project from StudioInTheBox mobile boilerplate
Readme
create-sitb-mobile-app
CLI to scaffold a new Expo app from the StudioInTheBox mobile boilerplate.
Install (local link)
npm install
npm linkUsage
create-sitb-mobile-app my-mobile-app
# or alias
create-mobile-app my-mobile-appFlags:
--repo <org/repo>: Override template repo (default:filipego/mobile-boilerplate)--branch <name>: Use a specific branch--no-install: Skip dependency installation--no-git: Skip git init--force: Allow using a non-empty target directory--use-pnpm | --use-yarn | --use-bun: Select package manager (default npm)--skip-env: Do not prompt for env values--no-prune: Do not remove docs--keep-docs: Keep "md files" folder
Environment
An .env file is created with Expo public keys:
EXPO_PUBLIC_SUPABASE_URL=
EXPO_PUBLIC_SUPABASE_ANON_KEY=
NEXT_PUBLIC_SUPABASE_URL=
NEXT_PUBLIC_SUPABASE_ANON_KEY=
SUPABASE_SERVICE_ROLE_KEY=
EXPO_PUBLIC_API_BASE=
EXPO_PUBLIC_UPLOAD_TARGET=supabase
EXPO_PUBLIC_STRIPE_PUBLISHABLE_KEY=These map to extra in app.config.ts.
