Generate scaffolding with preact-cli default

This commit is contained in:
Abhas Bhattacharya
2019-02-28 13:12:45 +05:30
commit 899ed90ff1
24 changed files with 347 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
# preact-publicpath
## 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).