thecreation / parcel-starter

A starter template for Parcel, ECMAScript(latest), sass and postcss.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Parcel Starter

A starter template for Parcel, ECMAScript(latest), sass and postcss.

Table of Contents

Features

This starter also features a number of great software (in the words of their creators):

  • Parcel - blazing fast, zero configuration web application bundler.
  • EditorConfig - a config file for maintaining consistent coding styles.

JavaScript

  • Babel - a JavaScript compiler for es5 to es6/7.
  • ESLint - the pluggable linting utility for JavaScript and JSX (with preconfigured ruleset by Google.

StyleSheet

Git Hooks manager

Installation

Node version manager

Install NVM. And use the latest version of NodeJS.

nvm install node
nvm use node

Install Sass

Go to sass-lang.com/install for installation in command line.

gem install sass

Before install sass, you should install Ruby and install Gem.

Getting started

  1. Clone this Boilerplate

    git clone https://github.com/thecreation/parcel-starter.git <PROJECT_NAME>
    cd <PROJECT_NAME>
  2. Install Dependencies

    npm install
  3. Build the project

    npm run build
  4. Stay up-to-date

    git remote add upstream https://github.com/thecreation/parcel-starter.git
    git pull upstream master

List of Npm tasks

To run separate task type in command line npm run [task_name].

Task name Description
start run the app in develpment.
build build the app for production to the dist folder.
clean remove dist folder.

License

The code is available under the MIT license.

About

A starter template for Parcel, ECMAScript(latest), sass and postcss.

License:MIT License


Languages

Language:CSS 58.7%Language:HTML 21.6%Language:JavaScript 19.7%