Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/selfup/hyperapp-one
Hyperapp One is a Parcel boilerplate for quickstarting a web application with Hyperapp (V1), JSX, and Prettier.
https://github.com/selfup/hyperapp-one
airbnb boilerplate eslint html hyperapp jsx webpack-boilerplate
Last synced: 3 months ago
JSON representation
Hyperapp One is a Parcel boilerplate for quickstarting a web application with Hyperapp (V1), JSX, and Prettier.
- Host: GitHub
- URL: https://github.com/selfup/hyperapp-one
- Owner: selfup
- License: mit
- Archived: true
- Created: 2017-02-02T21:39:30.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2023-10-18T21:16:19.000Z (about 1 year ago)
- Last Synced: 2024-04-14T05:13:13.494Z (7 months ago)
- Topics: airbnb, boilerplate, eslint, html, hyperapp, jsx, webpack-boilerplate
- Language: JavaScript
- Homepage: https://selfup.github.io/hyperapp-one
- Size: 1.47 MB
- Stars: 126
- Watchers: 3
- Forks: 22
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- hyperawesome - selfup/hyperapp-one - Simple Hyperapp boilerplate counter app using parcel with Airbnb ESlint and JSX. (Boilerplates V1)
README
# Hyperapp One
[![Build Status](https://travis-ci.org/selfup/hyperapp-one.svg?branch=master)](https://travis-ci.org/selfup/hyperapp-one) [![Slack](https://hyperappjs.herokuapp.com/badge.svg)](https://hyperappjs.herokuapp.com 'Join us')
Hyperapp One is a Parcel boilerplate for quickstarting a web application with [Hyperapp V1](https://github.com/jorgebucaran/hyperapp/tree/V1), JSX, and Prettier.
Redux Dev Tools support is included as well :smile:
Table of Contents
- [Installing](#installing)
- [Testing](#testing)
- [Development](#development)
- [Wiping the Commit History](#wiping-the-commit-history)
- [Deploying to GitHub Pages](#deploying-to-github-pages)
- [First Time](#first-time)
- [Every Time After](#every-time-after)
- [License](#license)## Installing
```bash
git clone https://github.com/selfup/hyperapp-one
cd hyperapp-one
npm install
npm start
```## Testing
```bash
npm test
```All tests are in the root `test` directory. :tada:
## Development
Access [localhost:1234](http://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:
```bash
npm run wipe
```Add your remote:
```bash
git remote add origin
```Then work as usual.
Or if you prefer to do it yourself from scratch:
```bash
rm -rf .git
git init
git add .
git commit -m "initial commit"
```Then add your remote and work from there as usual.
```bash
git remote add origin
```### Deploying to GitHub Pages
This will be interactive as it merges `master` into the `gh-pages` branch :pray:
```bash
./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](LICENSE).