0.11.3 • Published 9 years ago

gulp-spm v0.11.3

Weekly downloads
9
License
MIT
Repository
github
Last release
9 years ago

gulp-spm Build Status Coverage Status

gulp plugin for cmd transport

name has changed after 0.9.x, old version see gulp-transport


Install

$ npm install gulp-spm -g

Usage

Transport will use pkg parsed by father

var Package = require('father').SpmPackage;
var transport = require('gulp-spm');
var pkg = new Package('path/to/module');
gulp.src(pkg.main)
  .pipe(transport({pkg: pkg}))
  .pipe(gulp.dest('path/to/dest'));

See example

options

  • pkg: package info parsed by father
  • idleading: cmd id prefix, support simple template, E.g. {{name}}/{{version}}
  • ignore: array that ignore to transport
  • rename: option in rename

stream plugin

  • transport.plugin.tpl: transport .tpl to .js
  • transport.plugin.html: transport .html to .js
  • transport.plugin.json: transport .json to .js
  • transport.plugin.css2js: transport .css to .js
  • transport.plugin.handlebars: transport .handlebars to .js
  • transport.plugin.css: transport .css to .css
  • transport.plugin.json: transport .json to .js

LISENCE

Copyright (c) 2014 popomore. Licensed under the MIT license.

0.11.3

9 years ago

0.13.1

9 years ago

0.13.0

9 years ago

0.12.4

9 years ago

0.12.3

9 years ago

1.0.0

9 years ago

0.12.2

9 years ago

0.11.2

9 years ago

0.12.1

9 years ago

0.12.0

9 years ago

0.11.1

9 years ago

0.11.0

9 years ago

0.10.4

9 years ago

0.10.3

9 years ago

0.10.2

9 years ago

0.10.0

9 years ago

0.9.4

9 years ago

0.9.3

9 years ago

0.9.2

9 years ago

0.9.1

9 years ago

0.9.0

9 years ago