Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shinnn/gulpur
gulp with ES.next
https://github.com/shinnn/gulpur
Last synced: 26 days ago
JSON representation
gulp with ES.next
- Host: GitHub
- URL: https://github.com/shinnn/gulpur
- Owner: shinnn
- License: mit
- Created: 2014-04-03T18:08:47.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-12-18T03:33:37.000Z (almost 10 years ago)
- Last Synced: 2024-10-03T16:34:41.560Z (about 1 month ago)
- Language: JavaScript
- Homepage:
- Size: 214 KB
- Stars: 10
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# gulpur
[![NPM version](https://img.shields.io/npm/v/gulpur.svg?style=flat)](https://www.npmjs.com/package/gulpur)
[![Build Status](https://img.shields.io/travis/shinnn/gulpur.svg?style=flat)](https://travis-ci.org/shinnn/gulpur)
[![Build status](https://ci.appveyor.com/api/projects/status/ayfs4lr83qlgjivb?svg=true)](https://ci.appveyor.com/project/ShinnosukeWatanabe/gulpur)
[![Dependency Status](https://david-dm.org/shinnn/gulpur.svg?style=flat)](https://david-dm.org/shinnn/gulpur)
[![devDependency Status](https://david-dm.org/shinnn/gulpur/dev-status.svg?style=flat)](https://david-dm.org/shinnn/gulpur#info=devDependencies)[gulp](http://gulpjs.com/) with [ES.next](http://wiki.ecmascript.org/doku.php?id=harmony:specification_drafts), using [Traceur](https://github.com/google/traceur-compiler)
*gulpur*-friendly gulpfile:
```js
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:
```js
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.](https://www.npmjs.com/)
```
npm install -g gulp gulpur
```## Usage
1. Write your [gulpfile.js](https://github.com/gulpjs/gulp#sample-gulpfilejs) in ECMAScript 6 syntax.
1. Run `gulpur` command.## LICENSE
Copyright (c) 2014 [Shinnosuke Watanabe](https://github.com/shinnn)
Licensed under [the MIT License](./LICENSE).