0.1.0 • Published 9 years ago
gulp-attribution v0.1.0
gulp-attribution
Parse JS files for attributes
install
npm install --save-dev gulp-attribution
usage
var wrap = require('gulp-wrap');
var attribution = require('gulp-attribution');
gulp.task('js', function() {
gulp.src('src/*.js')
.pipe(attribution())
.pipe(wrap('// this is the <%= file.attributes.name %> module'))
.pipe(gulp.dest('dist'));
});
0.1.0
9 years ago