1.0.0 • Published 11 years ago

gulpur v1.0.0

Weekly downloads
1
License
MIT
Repository
github
Last release
11 years ago

gulpur

NPM version Build Status Build status Dependency Status devDependency Status

gulp with ES.next, using Traceur

gulpur-friendly gulpfile:

var gulp = require('gulp');
var header = require('gulp-header');

var {license} = require('./package.json');
var banner = `\
/*!
 * example.js
 * Licensed under ${ license }
 */`;

gulp.task('script', () => {
  gulp.src(['src/*.js'])
    .pipe(header(banner))
    .pipe(gulp.dest('lib'));
});

Usual gulpfile:

var gulp = require('gulp');
var header = require('gulp-header');

var license = require('./package.json').license;
var banner = [
  '/*!',
  ' * example.js',
  ' * Licensed under ' + license,
  ' */'
].join('\n');

gulp.task('script', function() {
  gulp.src(['src/*.js'])
    .pipe(header(banner))
    .pipe(gulp.dest('lib'));
});

Installation

Use npm.

npm install -g gulp gulpur

Usage

  1. Write your gulpfile.js in ECMAScript 6 syntax.
  2. Run gulpur command.

LICENSE

Copyright (c) 2014 Shinnosuke Watanabe

Licensed under the MIT License.

1.0.0

11 years ago

0.0.5

11 years ago

0.0.4

11 years ago

0.0.3

11 years ago

0.0.2

11 years ago

0.0.1

11 years ago

0.0.0

11 years ago