Visit notcoding.today to see the result.
Entire workflow is done with built-in fs package and posthtml elements.
Create output directories
mkdir -p public/blog
mkdir -p public/css
mkdir -p public/imagesProcess and host the blog locally
npm start process
npm run hostWatch the src files and regenerate blog
npm start watchOutside dependencies listed in package.json, this expects that you have http-server installed globally.