create-speck-app
v0.4.1
Published
Scaffold a new Speck.js application
Maintainers
Readme
create-speck-app
Scaffold a new Speck.js application with one command.
Usage
npm create speck-app my-app
cd my-app
npm run devWhat's Included
- ✅ Speck.js compiler
- ✅ Vite dev server with hot reload
- ✅ Preact + Preact Signals
- ✅ Example components
- ✅ Auto-watch for
.speckfiles
Publishing to npm
First Time Setup
- Create npm account at https://npmjs.com
- Login:
npm login
Publish
cd create-speck-app
npm publishNow anyone can use:
npm create speck-app my-appUpdate Version
When making changes:
npm version patch # 0.1.0 -> 0.1.1
npm version minor # 0.1.1 -> 0.2.0
npm version major # 0.2.0 -> 1.0.0
npm publishTemplate Structure
The template/ folder contains the starter project:
template/
├── compiler/ # Speck compiler
├── src/
│ ├── components/ # Example .speck components
│ └── main.js
├── index.html
├── package.json
└── vite.config.jsAny changes to the template will be included in new projects!
