/webpack-skel

template for new projects

Primary LanguageJavaScriptMIT LicenseMIT

Gitter

A simple template for react (or not) projects

Contributions welcome

Features

no gulp or grunt eslint

Install

npm install

Run

npm start or on a custom port PORT=3000 npm start

Lint

npm run eslint

Build

npm run build

What now?

You might want to do these things once you have this setup

  • move all the dev deps into deps (if you use CI to build this, or expect other team members to have the same tools. for sure!)
  • shrinkwrap (this will speed up CI and consistency with other devs)
  • Add other loaders and file types
  • setup eslint
  • read the horrible webpack docs
  • raises issues about how you think the defaults here should change!

Further reading

Airbnb's Javascript styleguide Pete Hunt's webpack howto Macropod's Guide to setting up sublime with eslint