My simple scaffold for small projects. Curently project under construction.
★ Run & watch
Run server and watch changes in HTML, CSS and JS files.
npm start
★ Optimize images
Images (.jpeg, .png, .svg) will taken from src/img
, optimized and placed to assets/img
.
npm run img
★ Build project
Copy HTML-files and assets/
to build/
.
npm run build
★ Deploy
Publish project to GithubPages.
npm run deploy
★ Check
Check files with editorconfig-tools.
npm run check
★ Fix
Fix files with editorconfig-tools.
npm run fix