# choo-boilerplate

> minimal choo boilerplate generator tool for developing a single page application

Latest version **2.0.0** (published 2020-08-12) · MIT license · 0 weekly downloads

## Install

```sh
npm install choo-boilerplate
pnpm add choo-boilerplate
yarn add choo-boilerplate
bun add choo-boilerplate
```

Provides the command `choo-boilerplate`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.0.0 |
| Published | 2020-08-12 |
| First published | 2020-08-07 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 4 |
| Unpacked size | 44.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | m-onz |
| Maintainers | yaus |

## Links

- npm: https://www.npmjs.com/package/choo-boilerplate
- Repository: https://github.com/m-onz/choo-boilerplate
- Homepage: https://github.com/m-onz/choo-boilerplate#readme
- Issues: https://github.com/m-onz/choo-boilerplate/issues
- npm.io page: https://npm.io/package/choo-boilerplate

## Dependencies (4)

- [dedent](https://npm.io/package/dedent.md) ^0.7.0
- [mkdirp](https://npm.io/package/mkdirp.md) ^1.0.4
- [inquirer](https://npm.io/package/inquirer.md) ^7.3.3
- [ansi-escape-sequences](https://npm.io/package/ansi-escape-sequences.md) ^5.1.2

## Recent versions

- 2.0.0 (latest) — 2020-08-12
- 1.0.3 — 2020-08-07
- 1.0.2 — 2020-08-07
- 1.0.1 — 2020-08-07
- 1.0.0 — 2020-08-07

## README

# choo-boilerplate

minimal choo boilerplate code.

## `screenshot`

<img src="/screenshot.png" />

## `install`

```
npm i choo-boilerplate -g
```

## `overview`

This is some simple boilerplate code for using [choo js](https://choo.io) to make a single page application.
This is a much simpler alternative to using [bankai](https://github.com/choojs/bankai)
or [create-choo-app](https://github.com/choojs/create-choo-app) that does not include
 a service worker.

## `what is included`

* fully functioning choo single page app with routing
* build command using [browserify](https://www.npmjs.com/package/browserify) and [sheetify](https://www.npmjs.com/package/sheetify) transform
* [tachyons](http://tachyons.io/) - functional css
* [choo-persist](https://www.npmjs.com/package/choo-persist) - automatically store choo state to local storage
* [babel polyfill](https://www.npmjs.com/package/babel-polyfill) - support older browsers

## `what is not included`

* environment variables for switching between development and production
* [choo devtools](https://www.npmjs.com/package/choo-devtools)
* offline first functionality
* any manifest or PWA functionality
* cache or service worker

## `how to use it`

```
> choo-boilerplate
> => provide your app name
```

## `development instructions`

```sh
git clone https://github.com/m-onz/choo-boilerplate
cd ./choo-boilerplate
npm i
```

## `commands`

### `build the project`
```sh
npm run build
```

### `auto re-build when files changed`
```sh
npm run watch
```

### `serve for development`
```sh
npm run serve
```

The server is on `http://localhost:8000`* needs python installed.

## `deployment`

To deploy this repo you need the `index.html` and `scripts/bundle.js` files. Upload
them via a CDN or static website hosting. Works well as an S3 bucket website or
using services like netlify.

Only the bundle.js is needed to create the entire app so you are free to use
inline javascript or alternatively mount the app onto an HTML element within
an existing app.

## `learn more`

Learn more about choo and how to use it on the [official website](https://choo.io).

---
_Source: https://npm.io/package/choo-boilerplate · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
