0.53.0 • Published 5 years ago

@vanruesc/hugo-bin v0.53.0

Weekly downloads
-
License
MIT
Repository
github
Last release
5 years ago

hugo-bin Build Status dependencies Status devDependencies Status

Binary wrapper for Hugo

Install

npm install --save-dev hugo-bin

Usage

API

const execFile = require('child_process').execFile;
const hugo = require('hugo-bin');

execFile(hugo, ['version'], (err, stdout) => {
  console.log(stdout);
});

CLI

$(npm bin)/hugo --help
npm run create -- 'post/my-new-post' # see below 'npm-run-script'

npm-run-script

{
  "scripts": {
    "build": "hugo",
    "create": "hugo new",
    "serve": "hugo server -ws"
  }
}

See the Hugo Documentation for more information.

Supported versions

See the package.json commit history.

Full example

Super Inspired By

License

MIT © Shun Sato

0.53.0

5 years ago

0.38.0

6 years ago

0.37.0

6 years ago

0.36.0

6 years ago

0.35.0

6 years ago

0.34.0

6 years ago

0.33.0

6 years ago

0.32.0

6 years ago

0.31.0

6 years ago

0.30.0

6 years ago

0.0.0

6 years ago