negrel / webpack-boilerplate

Webpack boilerplate with babel, eslint (airbnb config), prettier, SASS/SCSS support.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Webpack - boilerplate

Webpack boilerplate with babel, eslint (airbnb config), prettier, SASS/SCSS support.

Getting started

Update boilerplate dependencies :

# Install ncu cli tool
npm install -D ncu

# Update all your dependencies
npx ncu -u

# Install your up to date dependencies
npm install

# Uninstalling ncu cli tool
npm uninstall ncu

NPM scripts :

# Format all the JS & HTML file in src/
npm run format

# Lint all the JS file in src/
npm run lint

# Lint & fix all the JS file in src/
npm run lint:fix

# Start the dev server
npm start

# Build the application
npm run build

NOTICE: There is plenty of meta tags in src/index.template.html for SEO, keep only what you need.

🌠 Show your support

Please give a ⭐ if this project helped you!

📜 License

MIT © Alexandre Negrel

About

Webpack boilerplate with babel, eslint (airbnb config), prettier, SASS/SCSS support.

License:MIT License


Languages

Language:HTML 84.3%Language:JavaScript 15.3%Language:CSS 0.3%