@buildonspark/create-spark-app
v0.0.1
Published
Create a new Spark application from a template
Readme
create-spark-app
Scaffold a new Spark application from a template.
Quick Start
npx @buildonspark/create-spark-app my-app --template vite
cd my-app
npm install
npm run devOr use the npm create shorthand:
npm create @buildonspark/spark-app my-appRun without --template for an interactive template picker:
npx @buildonspark/create-spark-app my-appTemplates
| Template | Description |
| ------------------- | ------------------- |
| vite | React + Vite |
| nextjs | Next.js |
| react-native | React Native |
| expo | React Native (Expo) |
| express | Express.js server |
| nestjs | NestJS server |
| webpack | React + Webpack |
| browser-extension | Browser extension |
| cli | CLI application |
| bare | Bare runtime |
| nodejs-scripts | Node.js scripts |
Options
Usage: npx @buildonspark/create-spark-app [project-name] [options]
Options:
--template, -t Template to use
--branch, -b Git branch to fetch templates from (default: main)
--help, -h Show helpHow It Works
Templates are fetched directly from the buildonspark/spark repository on GitHub. The generated project is a standalone copy with:
- Your project name in
package.json @buildonspark/spark-sdkset tolatest- No workspace dependencies or private flags
