Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/metonym/template-typescript-parcel-preact

Template using TypeScript, Parcel and Preact
https://github.com/metonym/template-typescript-parcel-preact

parcel preact preact-x template typescript

Last synced: about 1 month ago
JSON representation

Template using TypeScript, Parcel and Preact

Awesome Lists containing this project

README

        

# template-typescript-parcel-preact

[![Build][build]][build-badge]
[![Coverage][codecov-shield]][codecov]

> Template to build Preact apps using Parcel.

## Getting Started

Clone the template:

```bash
git clone [email protected]:metonym/template-typescript-parcel-preact.git
cd template-typescript-parcel-preact
```

Install its dependencies:

```bash
yarn install
```

## Available Scripts

### `yarn start`

Runs the project in development mode and watches for any changes.

### `yarn build`

Builds the project for production.

### `yarn test`

Runs test suites and generates a coverage report.

### `yarn test:tdd`

Runs tests in Test-driven Development (TDD) mode.

## Linting, formatting and committing

To ensure that committed code follows conventions, this project uses `prettier`, `tslint` and git hooks (via `husky`) to automate the linting and formatting of code and commit messages.

## Continuous Integration

This template uses `Travis CI` to build and test remote changes.

## License

[MIT](LICENSE)

[build]: https://travis-ci.com/metonym/template-typescript-parcel-preact.svg?branch=master
[build-badge]: https://travis-ci.com/metonym/template-typescript-parcel-preact
[codecov]: https://codecov.io/gh/metonym/template-typescript-parcel-preact
[codecov-shield]: https://img.shields.io/codecov/c/github/metonym/template-typescript-parcel-preact.svg