Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/konojunya/my-prpl-sample
- Owner: konojunya
- License: mit
- Created: 2019-04-26T18:22:21.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2019-04-27T16:44:49.000Z (almost 6 years ago)
- Last Synced: 2024-12-16T16:17:36.978Z (about 2 months ago)
- Topics: netlify, preact, prpl-pattern
- Language: TypeScript
- Homepage: https://prpl-playground.netlify.com
- Size: 263 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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).