Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/yesnoruly/parcel-start

Clone this repo to start your own projects!
https://github.com/yesnoruly/parcel-start

boileplate css gh-pages html parcel postcss posthtml-include starter-template template

Last synced: about 2 months ago
JSON representation

Clone this repo to start your own projects!

Awesome Lists containing this project

README

        

# Parcel start

[![GitHub](https://img.shields.io/github/license/yesnoruly/parcel-start)](https://github.com/yesnoruly/parcel-start/blob/master/LICENSE)
[![GitHub deployments](https://img.shields.io/github/deployments/yesnoruly/parcel-start/github-pages?label=Deploy)](https://github.com/yesnoruly/parcel-start/actions)
[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat)](https://github.com/yesnoruly/parcel-start/pulls)

A simple parcel starter template for plain websites.

## Features

- 📝 HTML Includer
- 🔢 Autoprefixer
- 🎡 Automatic deploy to gh-pages branch
- 🔄 CSS reset

## Demo

[Demo](https://yesnoruly.github.io/parcel-start/)

## Quick start

#### `npm install`:

Install the dependencies.

#### `npm run dev`:

Run the app, you can view the app by visiting `http://localhost:1234/`.

---

#### `npm run build`:

Builds the website for production to the dist folder.

## Github Pages Deploy

If you want to deploy your website on gh-pages, you need to:
1. Check the branch name in the [`deploy.yml`](https://github.com/yesnoruly/parcel-start/blob/master/.github/workflows/deploy.yml) file
2. In the `package.json` specify the following fields:
```json
"homepage": "https://%your-name%.github.io/%rep-name%",
"scripts": {
"build": "parcel build src/*.html --public-url /%rep-name%/"
}
```

## Related

Here are some related projects

[awesome-parcel#examples](https://github.com/parcel-bundler/awesome-parcel#examples)