My portfolio site built using hugo
- Node >= 8
-
npm run dev
- Starts a browserSync server and will reload on content/asset changes -
npm run build
- Builds the site ready for production and places files in thedist
directory -
npm run serviceWorker
- Builds the site ready for production and will recompile the service worker whensrc/sw.js
changes. Useful for building the service worker.
https://discourse.gohugo.io/t/generate-json-from-data-files/8083