This package has been deprecated

Author message:

No longer maintained - using hugo instead

mvw-creator

1.4.0 • Public • Published

MVW Creator

Build State NPM version

It's like a poor man's Hugo, Jekyll or Gatsby.

Or in more words, a static site creator running on nodejs, using:

  • Pug as template engine,
  • TypeScript for Scripts
  • SCSS for the style

For a sample implementation have a look here: mvw-website

CLI

  • mvwc-lint: pug lint
  • mvwc: generator

Configuration

Supporting several global site configs in this priority:

  • .mvwc-config
  • .mvwc-config.js
  • .mvwc-config.json
  • mvwc node in package.json

Sample configuration:

    {
      "environment": "prod",
      "environments": {
        "base": {
          "siteTitle": "Musikverein Wollbach 1866 e.V."
        },
        "prod": {
          "key": "prod",
          "baseUrl": "https://www.mv-wollbach.de/",
          "isRelease": true
        },
        "dev": {
          "key": "dev",
          "baseUrl": "http://localhost/"
        }
      },
      "destinationPath": "./build/",
      "navigationPath": "./partials/",
      "ampPath": "./partials/pages/Blog/*.pug",
      "pugLintPath": "./partials/**/*.pug",
      "pugPath": "./partials/pages/**/*.pug",
      "searchIndex": {
        "bodySelector": "main"
      },
      "structure": [
        {
          "reference": "index",
          "navigation": "none",
          "title": "Willkommen beim Musikverein Wollbach"
        },
        {
          "title": "Aktuelles",
          "children": [
            {
              "reference": "termine",
              "title": "Termine"
            },
            {
              "reference": "rueckblick",
              "title": "Rückblick"
            },
            {
              "reference": "berichte",
              "title": "Berichte"
            }
          ]
        }
      ]
    }

Readme

Keywords

none

Package Sidebar

Install

npm i mvw-creator

Weekly Downloads

2

Version

1.4.0

License

MIT

Unpacked Size

293 kB

Total Files

36

Last publish

Collaborators

  • tiliavir