Skip to content

dewiktor2/Website-boilerplate

Repository files navigation

Website-boilerplate

Website boilerplate with webpack 5 using Babel, PostCSS, Sass and hot dev server with production and dev configs.

PWA supported :)(https://web.dev/progressive-web-apps/)

DEMO

Installation

Clone this repo and npm install.

npm i

Usage

Development server

npm start

You can view the development server at localhost:8080.

Production build

npm run build

Note: Install http-server globally to deploy a simple server.

npm i -g http-server

You can view the deploy by creating a server in dist.

cd dist && http-server

Features

  • webpack - Module and asset bundler
  • Babel - Transpile JS files
  • Sass - CSS Preprocessor
  • PostCSS Process CSS with PostCSS with JS
  • ESlint - Enforce styleguide across application
  • Prettier - Code formatter
  • Husky - Git hooks ( prettier, eslint use before commit)
  • Linstaged - Run linters against staged git files

About

Website boilerplate (webpack5, babel, postcss, eslint, prettier, husky)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published