A complete stater kit for starting webpack based frontend project.Which includes testing and linting.
npm install
npm start
npm run build
npm run lint
npm run test
- ES6 Support via babel (v7)
- JavaScript Linting via eslint
- SASS Support via sass-loader
- Autoprefixing of browserspecific CSS rules via postcss and postcss-preset-env
- Style Linting via stylelint
- Testing using jest
When you run npm run build
we use the mini-css-extract-plugin to move the css to a separate file. The css file gets included in the head of the index.html
.