mirror of
https://github.com/jakejarvis/hugo-extended.git
synced 2025-04-26 09:05:20 -04:00
rename to hugo-extended
This commit is contained in:
parent
da49c200fb
commit
e7cab3ed94
12
README.md
12
README.md
@ -1,16 +1,16 @@
|
||||
# hugo-node [](.github/workflows) [](https://github.com/gohugoio/hugo) [](https://github.com/jakejarvis/hugo-node/pulls?q=is%3Apr+label%3Adependencies)
|
||||
# hugo-extended via NPM [](.github/workflows) [](https://www.npmjs.com/package/hugo-extended) [](https://github.com/gohugoio/hugo) [](https://github.com/jakejarvis/hugo-node/pulls?q=is%3Apr+label%3Adependencies)
|
||||
|
||||
> Plug-and-play binary wrapper for [Hugo](https://gohugo.io/), the awesomest static-site generator.
|
||||
> Plug-and-play binary wrapper for [Hugo Extended](https://gohugo.io/), the awesomest static-site generator.
|
||||
|
||||
## Install
|
||||
|
||||
```sh
|
||||
npm install hugo-node --save-dev
|
||||
npm install hugo-extended --save-dev
|
||||
# or...
|
||||
yarn add hugo-node --dev
|
||||
yarn add hugo-extended --dev
|
||||
```
|
||||
|
||||
`hugo-node` defaults to the [extended version](https://gohugo.io/getting-started/installing/#linux) of Hugo on [supported platforms](https://github.com/gohugoio/hugo/releases), and falls back to vanilla Hugo automatically if unsupported.
|
||||
`hugo-extended` defaults to the [extended version](https://gohugo.io/getting-started/installing/#linux) of Hugo on [supported platforms](https://github.com/gohugoio/hugo/releases), and falls back to vanilla Hugo automatically if unsupported.
|
||||
|
||||
## Usage
|
||||
|
||||
@ -18,7 +18,7 @@ yarn add hugo-node --dev
|
||||
|
||||
```js
|
||||
const { execFile } = require('child_process');
|
||||
const hugo = require('hugo-node');
|
||||
const hugo = require('hugo-extended');
|
||||
|
||||
execFile(hugo, ['version'], (error, stdout) => {
|
||||
if (error) {
|
||||
|
2
package-lock.json
generated
2
package-lock.json
generated
@ -1,5 +1,5 @@
|
||||
{
|
||||
"name": "@jakejarvis/hugo",
|
||||
"name": "hugo-extended",
|
||||
"version": "0.63.2",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
|
26
package.json
26
package.json
@ -1,12 +1,22 @@
|
||||
{
|
||||
"name": "hugo-node",
|
||||
"name": "hugo-extended",
|
||||
"version": "0.63.2",
|
||||
"hugoVersion": "0.63.2",
|
||||
"description": "Binary wrapper for Hugo",
|
||||
"repository": "jakejarvis/hugo-node",
|
||||
"description": "Plug-and-play binary wrapper for Hugo Extended, the awesomest static-site generator.",
|
||||
"homepage": "https://github.com/jakejarvis/hugo-node#readme",
|
||||
"license": "MIT",
|
||||
"author": {
|
||||
"name": "Jake Jarvis",
|
||||
"email": "jake@jarv.is",
|
||||
"url": "https://github.com/jakejarvis"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/jakejarvis/hugo-node.git"
|
||||
},
|
||||
"keywords": [
|
||||
"hugo",
|
||||
"hugo extended",
|
||||
"gohugoio",
|
||||
"cli",
|
||||
"bin",
|
||||
@ -15,9 +25,6 @@
|
||||
"static site generator"
|
||||
],
|
||||
"main": "index.js",
|
||||
"bin": {
|
||||
"hugo": "cli.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"bin-wrapper": "^4.1.0",
|
||||
"rimraf": "^3.0.1",
|
||||
@ -34,13 +41,16 @@
|
||||
"test": "npm run eslint && npm run mocha",
|
||||
"postinstall": "rimraf vendor && node lib/install"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=10"
|
||||
},
|
||||
"files": [
|
||||
"lib/*.js",
|
||||
"cli.js",
|
||||
"index.js"
|
||||
],
|
||||
"engines": {
|
||||
"node": ">=10"
|
||||
"bin": {
|
||||
"hugo": "cli.js"
|
||||
},
|
||||
"eslintConfig": {
|
||||
"extends": "eslint:recommended",
|
||||
|
Loading…
x
Reference in New Issue
Block a user