包详细信息

broccoli-fixturify

rjackson286MIT0.3.0

Broccoli plugin to create tree with fixturify.

broccoli-plugin, javascript

自述文件

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.