PATH:=${PATH}:node_modules/.bin all: run install: npm install --no-optional reinstall: reset install lint: eslint *.js src test: lint jest @echo "Full report: file://${PWD}/coverage/index.html" run: webpack-dev-server --mode development build: clean test webpack --mode production cp src/index.html dist/ clean: find . -type f -name '*~' -exec rm -f {} \; rm -rf dist coverage jest --clearCache reset: clean rm -rf node_modules npm cache clean --force .PHONY: all install reinstall lint test run build clean reset