This repository has been archived by the owner on Oct 1, 2019. It is now read-only.
webpack + babel
This boilerplate was built in order to aid in the process of creating static applications.
I use:
- babel-core
- babel-loader
- babel-preset-es2015
- css-loader
- eslint
- eslint-config-airbnb-base
- eslint-plugin-import
- extract-text-webpack-plugin
- html-webpack-plugin
- node-sass
- sass-loader
- style-loader
- webpack
- webpack-dev-server
Version 3.0
- Boilerplate using webpack + babel
Getting Started
Install NodeJS
# Clone this repository
$ git clone git@github.com:interaminense/boilerplate.git
# install dependencies
$ npm install
Folders and Files
├── README.md
├── app
│ ├── components
│ │ └── component.example.js
│ ├── styles
│ │ ├── config
│ │ │ ├── colors.scss
│ │ │ ├── mixins.scss
│ │ │ ├── typography.scss
│ │ │ └── variables.scss
│ │ └── component.example.scss
│ ├── index.html
│ └── index.js
├── webpack.config.js
├── package.json
└── package-lock.json
Tasks
npm run dev
: start the project in development modenpm run prod
: build and start the project in product mode