Socket
Book a DemoInstallSign in
Socket

gulpur

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gulpur

gulp with Traceur gulpfiles

latest
Source
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

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

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

LICENSE

Copyright (c) 2014 Shinnosuke Watanabe

Licensed under the MIT License.

Keywords

gulpfriendly

FAQs

Package last updated on 18 Dec 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts