Name: webpack-boilerplate
Owner: Le Wagon
Description: null
Created: 2017-07-29 09:21:20.0
Updated: 2018-05-09 22:12:56.0
Pushed: 2018-05-08 21:11:12.0
Homepage: null
Size: 85
Language: HTML
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
First clone this repository to your laptop. You must have Node (> v4) and yarn installed.
/code/<your_github_nickname>
clone git@github.com:lewagon/webpack-boilerplate.git my-js-project
y-js-project
rf .git
install
# Open this folder in Sublime Text
Make sure you have ./node_modules/.bin
in your $PATH
! This way you can run this:
nt lib
ack-dev-server
Once a file has been updated in Sublime, you can run it with:
lib/01_types.js
Environment setup:
init
add eslint --dev
de_modules/.bin/eslint --init
w would you like to configure ESLint? Use a popular style guide
ich style guide do you want to follow? Airbnb
you use React? No
at format do you want your config file to be in? JSON
en and edit rules in .eslintrc.json
add webpack webpack-cli webpack-dev-server
h webpack.config.js # Open and configure
h index.html
de_modules/.bin/webpack-dev-server
init
"node_modules" >> .gitignore
add .
commit -m "JavaScript empty project with ESLint (Airbnb)"