hyperapp-one

by selfup

Hyperapp One is a Parcel boilerplate for quickstarting a web application with Hyperapp (V1), JSX, an...

127 Stars 24 Forks Last release: Not found MIT License 187 Commits 0 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:

Hyperapp One

Build Status Slack

Hyperapp One is a Parcel boilerplate for quickstarting a web application with Hyperapp V1, JSX, and Prettier.

Redux Dev Tools support is included as well :smile:

Table of Contents

Installing

git clone https://github.com/selfup/hyperapp-one
cd hyperapp-one
npm install
npm start

Testing

npm test

All tests are in the root

test
directory. :tada:

Development

Access localhost:1234.

The browser will reload as you save new code. ๐Ÿš€

Now go code something awesome!

Wiping the Commit History

Make sure you are in the boilerplate root and run:

npm run wipe

Add your remote:

git remote add origin 

Then work as usual.

Or if you prefer to do it yourself from scratch:

rm -rf .git
git init
git add .
git commit -m "initial commit"

Then add your remote and work from there as usual.

git remote add origin 

Deploying to GitHub Pages

This will be interactive as it merges

master
into the
gh-pages
branch :pray:
./scripts/gh_pages.sh

Sometimes it will say there is nothing to commit even though you have more commits.

Just do a

git push
or a
git push -f
and then check back out to master :pray:

Now visit:

  • No custom domain:
    yourUserName.github.io/yourRepoName
  • With a custom domain:
    yourCustomDomain/yourRepoName

License

Hyperapp One is MIT licensed. See LICENSE.

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.