Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/joseluisq/preact-starter

Minimal Preact, Typescript and Parcel starter. :rocket:
https://github.com/joseluisq/preact-starter

boilerplate hmr minimal parcel-bundler preact pwa standard-js tsx typescript

Last synced: 21 days ago
JSON representation

Minimal Preact, Typescript and Parcel starter. :rocket:

Awesome Lists containing this project

README

        

# Preact Starter [![Build Status](https://travis-ci.org/joseluisq/preact-starter.svg?branch=master)](https://travis-ci.org/joseluisq/preact-starter) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)

> Minimal [Preact](https://preactjs.com), [Typescript](https://www.typescriptlang.org/) and [Parcel](https://en.parceljs.org) starter. :package::rocket::tada:

## Features

- [x] [Typescript](https://www.typescriptlang.org/) with TSX
- [x] [Parcel](https://github.com/parcel-bundler/parcel) bundler with [HMR feature](https://parceljs.org/hmr.html)
- [x] [Unistore](https://github.com/developit/unistore) with devtools
- [x] [CSS/Sass/SCSS](https://github.com/sass/node-sass) support
- [x] [PostCSS with Autoprefixer](https://github.com/postcss/autoprefixer)
- [x] [PWA](https://developers.google.com/web/progressive-web-apps/) support
- [ ] [Jest](http://jestjs.io/) testing with [Typescript support](https://github.com/kulshekhar/ts-jest)
- [x] [TSLint](https://github.com/palantir/tslint) with [Standard Plus](https://github.com/joseluisq/tslint-config-standard-plus) rules
- [x] [VS Code User Workspace](https://code.visualstudio.com/docs/getstarted/settings) pre-configured and ready to use

## Demo
???

## Usage

Just clone the repository and install the dependencies:

```sh
git clone --depth 1 https://github.com/joseluisq/preact-starter.git
yarn
```

### Development

```
yarn start
```

### Production

```
yarn build
```

### Testing

```
yarn test
```

## Contributions

Feel free to send some [Pull request](https://github.com/joseluisq/preact-starter/pulls) or [issue](https://github.com/joseluisq/preact-starter/issues).

## License
MIT license

© 2018 [José Luis Quintana](http://git.io/joseluisq)