component plugin for wintersmith

npm install wintersmith-component
13 downloads in the last week
29 downloads in the last month


Component plugin for wintersmith.

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


Using wintersmith:

$ wintersmith plugin install component

Using npm:

$ npm install wintersmith-component


TODO docs. For now, see the example directory.


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