Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/konojunya/my-prpl-sample

[CODE SANDBOX] PRPL pattern with preact-cli
https://github.com/konojunya/my-prpl-sample

netlify preact prpl-pattern

Last synced: about 1 month ago
JSON representation

[CODE SANDBOX] PRPL pattern with preact-cli

Awesome Lists containing this project

README

        

# my-prpl-sample
[CODE SANDBOX] PRPL pattern with preact-cli

## CLI Commands
* `npm install`: Installs dependencies

* `npm run start`: Runs `serve` or `dev`, depending on `NODE_ENV` value. Defaults to `dev server`

* `npm run dev`: Run a development, HMR server

* `npm run serve`: Run a production-like server

* `npm run build`: Production-ready build

* `npm run lint`: Pass TypeScript files using TSLint

* `npm run test`: Run Jest and [`preact-render-spy`](https://github.com/mzgoddard/preact-render-spy) for your tests

For detailed explanation on how things work, checkout the [CLI Readme](https://github.com/developit/preact-cli/blob/master/README.md).