Skip to content

Latest commit

 

History

History
40 lines (25 loc) · 949 Bytes

README.md

File metadata and controls

40 lines (25 loc) · 949 Bytes

Broccoli JSON Concat

Build Status

Usage

Create a payload file based upon directory structure.

var jsonConcat = require('broccoli-json-concat');

var tree = jsonConcat(targetDirectory);

Options

The builder accepts an optional hash of options:

  • persistentOutput: boolean flag passed to broccoli-plugin.
  • needCache: boolean flag passed to broccoli-plugin.
  • variableName: If set, the file contains a variable declaration to this variable name.
  • outputFile: name of the output file.

Documentation

ZOMG!!! TESTS?!?!!?

I know, right?

Running the tests:

yarn
yarn test

License

This project is distributed under the MIT license.