Skip to content

Repository files navigation

Installation

npm install

Start Dev Server

npm start

Build Prod Version

npm run build

Deployment on GitHub Pages (Optional)

npm run deploy

This adds gh-pages branch to your project github repository, deploys built project there, hosts the site via GitHub Pages.

Features:

  • ES6 Support via babel (v7)
  • SASS Support via sass-loader
  • Linting via eslint & @babel/eslint-parser
  • Formatter via prettier
  • Autoprefix via postcss-preset-env
  • Image Optimization via image-minimizer-webpack-plugin & svgo

When you run npm run build:

Place all external connected files (jQuery and others) in ./tools and provide them path in html file.