broccoli-fixturify
Broccoli plugin to create tree with fixturify.
Last updated 3 years ago by rwjblue .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install broccoli-fixturify 
SYNC missed versions from official npm registry.

Broccoli Fixturify

Build Status

Usage

Create a Broccoli source node whose contents are created by fixturify rather than coming from the file system:

var Fixturify = require('broccoli-fixturify');

var desiredDirectory = {
  'foo.txt': 'foo.txt contents',
  'subdir': {
    'bar.txt': 'bar.txt contents'
  }
}

var node = new Fixturify(desiredDirectory);

Documentation

new Fixturify(fixturifyObjectTree)

fixturifyObjectTree {Object}

This will be used by fixturify to generate a directory tree based on the file input.

ZOMG!!! TESTS?!?!!?

I know, right?

Running the tests:

npm install
npm test

License

This project is distributed under the MIT license.

Current Tags

  • 0.3.0                                ...           latest (3 years ago)

3 Versions

  • 0.3.0                                ...           3 years ago
  • 0.2.0                                ...           4 years ago
  • 0.1.0                                ...           5 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 3
Last Day 0
Last Week 3
Last Month 6
Dependencies (2)
Dev Dependencies (4)

Copyright 2014 - 2016 © taobao.org |