Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/elisherer/hyperapp-less-boilerplate
Boilerplate for hyperapp with forms and modals
https://github.com/elisherer/hyperapp-less-boilerplate
Last synced: 4 days ago
JSON representation
Boilerplate for hyperapp with forms and modals
- Host: GitHub
- URL: https://github.com/elisherer/hyperapp-less-boilerplate
- Owner: elisherer
- License: mit
- Created: 2018-07-21T19:09:28.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-12-31T21:44:06.000Z (about 6 years ago)
- Last Synced: 2024-11-15T03:48:41.352Z (2 months ago)
- Language: JavaScript
- Size: 122 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- hyperawesome - elisherer/hyperapp-less-boilerplate - Minimal webpack Hyperapp setup with LESS and hyperapp-forms. (Boilerplates V1)
README
# hyperapp-less-boilerplate
[![GitHub issues](https://img.shields.io/github/issues/elisherer/hyperapp-less-boilerplate.svg)](https://github.com/elisherer/hyperapp-less-boilerplate/issues)
[HyperApp](https://github.com/hyperapp/hyperapp) Boilerplate with a minimal and convenient stack to work with:
* Build tools*:
* **Babel 7** - ECMAScript 6 (3 stages)
* **Webpack 4** - (Together with selected plugins)
* **ESLint** - Using the recommended preset
* **LESS** - For stylesheets pre-processing
* Development:
* [hyperapp-redux-devtools](https://github.com/FrontMen/hyperapp-redux-devtools) - DevTools for debugging
* [webpack-bundle-analyzer](https://github.com/webpack-contrib/webpack-bundle-analyzer) - Analyze your bundle sizes for optimization
* Starter libraries:
* [html-material-css](https://github.com/elisherer/html-material-css) - Pure html material design (for minimal size)
* [hyperapp-forms](https://github.com/elisherer/hyperapp-forms) - Form state management*Cross environments
## Getting started
```bash
npm install
npm start
```Open your browser on [http://localhost:8080](http://localhost:8080).
Live reload is supplied by `webpack-dev-server` (The browser will refresh when code changes).
## Scripts
|Script|What does it do?|
|---|---|
|`npm run analyze`|Runs `webpack-bundle-analyzer` which will create the report file `dist/report.html`.
|`npm run analyze:profile`|Runs webpack profiling to create an input `stats.json` for [webpack's official analyze tool](http://webpack.github.io/analyse/)
|`npm run build`|Builds the project. The output folder is `dist`.
|`npm start`|Runs `webpack-dev-server` (explained above)
|`npm test`|Outputs 'Not Implemented!'. I leave that to you 😄## Author
Eli Sherer ([@elisherer](https://twitter.com/elisherer))