gulp-typedoc-extractor
Advanced tools
Comparing version 0.0.3 to 0.0.4
10
index.js
@@ -23,16 +23,6 @@ 'use strict'; | ||
var obj = JSON.parse(contents); | ||
console.log('here...'); | ||
var outObj = obj.children[0].children[0]; | ||
console.log(JSON.stringify(outObj)); | ||
file.contents = new Buffer(JSON.stringify(outObj)); | ||
return callback(null, file); | ||
console.log('here...'); | ||
return callback(null, file); | ||
var outFile = File.clone(file); | ||
console.log('here...'); | ||
outFile.contents = new Buffer(JSON.stringify(outObj)); | ||
this.push(outFile); | ||
return callback(null, outFile); | ||
} catch (e) { | ||
@@ -39,0 +29,0 @@ this.emit('error', new gutil.PluginError('gulp-typedoc-extractor', 'Error:')); |
{ | ||
"name": "gulp-typedoc-extractor", | ||
"version": "0.0.3", | ||
"version": "0.0.4", | ||
"description": "A post processor to extract a module from gulp-typedoc json output.", | ||
@@ -5,0 +5,0 @@ "dependencies": { |
@@ -35,4 +35,4 @@ # gulp-typedoc-extractor [![NPM version][npm-image]][npm-url] [![Build status][travis-image]][travis-url] | ||
The module to extract from the json generated by gulp-typedoc. | ||
s | ||
[travis-url]: http://travis-ci.org/lazd/gulp-replace | ||
@@ -39,0 +39,0 @@ [travis-image]: https://secure.travis-ci.org/lazd/gulp-replace.svg?branch=master |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4138
30