wintersmith-component

component plugin for wintersmith

npm install wintersmith-component
2 downloads in the last week
30 downloads in the last month

wintersmith-component

Component plugin for wintersmith.

Still in a development stage (0.0.5), PRs welcome!

Install

Using wintersmith:

$ wintersmith plugin install component

Using npm:

$ npm install wintersmith-component

Usage

TODO docs. For now, see the example directory.

Options

Specify options under the component key of your config.

defaults =
  dev: env.mode == 'preview'        # include development dependencies
  sourceUrls: env.mode == 'preview' # add @sourceURLs for easy debugging
  src: '.'                          # location of base component.json
  js: 'build/build.js'              # path to JS output
  css: 'build/build.css'            # path to CSS output
  use: []                           # array of builder.js plugins†

† list of component builder plugins

npm loves you