lewagon/webpack-boilerplate

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

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Usage

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
How was this repo generated?

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)"

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.