gulp-confidence
Confidence JSON plugin for GulpJS
gulp-confidence
retreive parameterized confidence documents using gulp.
Issues with the output should be reported on the confidence issue tracker.
Install
$ npm install --save-dev gulp-confidence
Usage
config/base.config.json
gulpfile.js
var gulp = ;var confidence = ; gulp;
dist/base.config.json
You can alternatively use gulp-data to inject the data:
gulpfile.js
var gulp = ;var confidence = ;var data = ; gulp;
dist/base.config.json
API
See the Confidence Store
docs.
confidence(data, options)
data
Type: Object
The criteria object used to populate the text.
options
Type: Object
Currently just supports a "key" key, that allows you to specify the key used in the get()
command
Notes
If you use grunt instead of gulp, but want to perform a similar task, use grunt-confidence.
License
MIT