gulp-copyright2

1.0.0 • Public • Published

gulp-copyright

Add the copyright in you source file.

install

$ npm install --save-dev gulp-copyright2

Usage

gulp = require 'gulp'
coffee = require 'gulp-coffee'
copyright = require './lib/index'
 
 
gulp.task 'example', ->
 
    gulp.src ['./example/src/**/*.coffee']
        .pipe coffee()
        .pipe copyright
                owner: 'Jack Tang'
                license: 'Apache'
                year: 2014
        .pipe gulp.dest('example/dest')
    
    gulp.src ['./example/src/**/*.js','./example/src/**/*.css']
        .pipe copyright
                owner: 'Jack Tang'
                license: 'MIT'
                year: 2015
        .pipe gulp.dest('example/dest')
 
 
gulp.task 'default', ['example']

Readme

Keywords

none

Package Sidebar

Install

npm i gulp-copyright2

Weekly Downloads

1

Version

1.0.0

License

MIT

Last publish

Collaborators

  • jayinton