0.11.3 • Published 10 years ago
gulp-spm v0.11.3
gulp-spm

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
10 years ago
0.13.1
10 years ago
0.13.0
10 years ago
0.12.4
10 years ago
0.12.3
10 years ago
1.0.0
10 years ago
0.12.2
10 years ago
0.11.2
10 years ago
0.12.1
10 years ago
0.12.0
10 years ago
0.11.1
10 years ago
0.11.0
10 years ago
0.10.4
10 years ago
0.10.3
10 years ago
0.10.2
10 years ago
0.10.0
10 years ago
0.9.4
10 years ago
0.9.3
10 years ago
0.9.2
11 years ago
0.9.1
11 years ago
0.9.0
11 years ago