Express + WebPack + Babel + Docker starter kit
Add these aliases to your ~/.bash_profile
for faster development
alias npx="docker run -it --rm -v \$(pwd):/app skypress/npx npx"
alias yarn="docker run -it --rm -v \$(pwd):/app skypress/npx yarn"
Remember to source the file after adding the aliases: source ~/.bash_profile
make
: Default command will run the linter and testsmake lint
: Run the lintermake test
: Run all testsmake build
: Manually run the webpack buildmake debug
: Start a node debug sessionmake start
: Start the local development environmentmake setup
: Create a docker network and install allnode_modules
- Setup the project
make setup
- Create a
.env
file using this template:
APP_NAME=express-start
NODE_ENV=development
HOST=kit-server
PORT=3000
Documentation is generated using the jsdoc module. Use this cheatsheet as a quick reference.