First clone this repository to your laptop. You must have Node (> v4) and yarn installed.
cd ~/code/<your_github_nickname>
git clone git@github.com:lewagon/webpack-boilerplate.git my-js-project
cd my-js-project
rm -rf .git
yarn install
stt # Open this folder in Sublime Text
Make sure you have ./node_modules/.bin
in your $PATH
! This way you can run this:
eslint lib
webpack-dev-server
Once a file has been updated in Sublime, you can run it with:
node lib/01_types.js