Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@holidayextras/static-site-generator

Package Overview
Dependencies
Maintainers
4
Versions
57
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@holidayextras/static-site-generator

Holiday Extras Static Site Generator in metalsmith / react

  • 1.0.2
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
203
increased by190%
Maintainers
4
Weekly downloads
 
Created
Source

Static Site Generator

This is using metalsmith and react to create a static site given params.

git clone git@github.com:holidayextras/static-site-generator.git
cd static-site-generator
npm i
npm run build

src src param provided for the .md file directory
prismic prismic param provided for the prismic endpoint
templateDir templateDir param provided for the template directory
layoutDir layoutDir param provided for the layouts directory
destination destination param provided for the output directory
assets assets param provided for the assets directory

Optional
You can pass in a config param too setup an object used in pages (domain, default agents etc)
webpack is optional if you want to create a common js for the site and page specific js files for isomorphic pages. (This will be a link to the webpack.config.js file)

Publishing

This repoistory is available on npm (here)[https://www.npmjs.com/package/@holidayextras/static-site-generator], if you wish to release a new version simply bump the package.json version number and the build process will take care of the rest.

FAQs

Package last updated on 09 Mar 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc