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

metalsmith-all-the-things

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

metalsmith-all-the-things

Complex Metalsmith Demo

  • 0.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

all the things

Everyone loves metalsmith's agnostic, dogma free approach to static sites... but it's still nice to see some examples, so this is mine.

features

  • webpack - I'm pretty stoked with my webpack implementation. metalsmith-webpack caches webpack output which dramatically cuts down on build time.
  • browser-sync - take a look at ./sync.js, it's a super minimal implementation that just works. browser-sync takes care of live reloading & dev server
  • naked urls - (urls like domain.com/article-name without the .html) this is achieved using mimeTypes rather than the hacky everything-in-a-separate-directory approach.
  • s3 - custom upload to s3 implementation
  • babel - scandalous babel-node usage.. cuts down on crufty build & watch scripts
  • google-drive - scrape content from google drive folders to include in your build. Think of it as a poor mans CMS, free ubiquitous access for editing content.
  • cloudinary - upload images to cloudinary, then format them as required in your layouts & markdown. This means no local dependencies on imagemagick and friends.

documentation

There's more detailed information about implementation of different features in /src/articles.

usage

git clone git@github.com:leviwheatcroft/metalsmith-all-the-things.git matt
cd matt
npm i
npm run dev

boulevard of broken dreams

There's a few dependencies which are not yet available on npm. You can install them directly from github. See src/articles/rogue-packages.md for details.

license

MIT

author

Levi Wheatcroft levi@wht.cr

Keywords

FAQs

Package last updated on 03 Jun 2017

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