Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

gulp-lego

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gulp-lego

gulp plugin for cmd transport

  • 0.9.5
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

gulp-lego 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-lego -g

Usage

Transport will use pkg parsed by father

var Package = require('father').LegoPackage;
var transport = require('gulp-lego');
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.

FAQs

Package last updated on 04 Feb 2015

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc