Skip to content
This repository has been archived by the owner on Nov 21, 2017. It is now read-only.

A simple skeleton for getting started with hyperapp, webpack, and flowtype

Notifications You must be signed in to change notification settings

itsMapleLeaf/hyperapp-flow-skeleton

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a minimal boilerplate I've put together to easily get started with HyperApp. It uses webpack for building, and Flow for type checking.

Usage

  1. Clone the repository to a folder of your choosing
  2. Install dependencies: npm install or yarn
  3. Run the dev server: npm start or yarn start
  4. Build for production: npm run build or yarn build

Why?

I'm a big fan of the Elm architecture and how well it's suited to structure applications. HyperApp is a fantastic library which enables you to work with this application structure in a simple, easy-to-learn way, using the language everyone knows and (sometimes) loves. The addition of Flow gives all of the benefits of static typing with a flexible but rigid type checker.

Considerations

Linting

My preferred linter is Standard, however the majority of JavaScript users seem to favor AirBnB and Google styles instead. To prevent any discrepancies, I've decided to let the user install whichever linting solution they please.

Contributing

If you have any questions or suggestions to make this template a little better, feel free to make an issue or a pull request!

About

A simple skeleton for getting started with hyperapp, webpack, and flowtype

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published