mirror of
https://github.com/chinchang/web-maker.git
synced 2025-07-28 17:20:13 +02:00
23 lines
434 B
Markdown
23 lines
434 B
Markdown
# webmaker
|
|
|
|
## CLI Commands
|
|
|
|
``` bash
|
|
# install dependencies
|
|
npm install
|
|
|
|
# serve with hot reload at localhost:8080
|
|
npm run dev
|
|
|
|
# build for production with minification
|
|
npm run build
|
|
|
|
# test the production build locally
|
|
npm run serve
|
|
|
|
# run tests with jest and preact-render-spy
|
|
npm run test
|
|
```
|
|
|
|
For detailed explanation on how things work, checkout the [CLI Readme](https://github.com/developit/preact-cli/blob/master/README.md).
|