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

gulpman

Package Overview
Dependencies
Maintainers
1
Versions
106
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gulpman

Create Modular Front-End Build System, based on gulp ,easy useage

  • 1.1.8
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
6
decreased by-40%
Maintainers
1
Weekly downloads
 
Created
Source

gulpman

Create Modular Front-End Build System, based on gulp ,easy useage

###Install cd into your project dir and install:

npm install gulpman --save-dev

###Usage

####In Your gulpfile:

/**
 * Gulpfile.js
 */


var gulp = require('gulp'),
    gman = require('gulpman')


// your other tasks ...
// xxx ...yyy


// if you want to set the dir, you can use config API:

gman.config({
    // if set the assets url prefix as absolute or relative, default: true
    'is_absolute': true,

    'cdn_prefix': '', // cdn prefix,

    // usually set as /static, this involves the server config ,such as the static path of nginx
    'url_prefix': '/static' 

    // set some path/dir:

    'components': 'components',

    'runtime_views': 'views',
    'dist_views': 'views_dist',

    'runtime_assets': 'assets',
    'dist_assets': 'assets_dist',

    // the js library dir, set as a global module. Also you can set as bower_components
    'lib': 'lib', 

    // the global module dir
    'global': 'common' 
})


####In Your CLI:


# init components dir and a html demo
gulp gm:init

# publish 
gulp gm:publish

# develop and watch
gulp gm:develop

# clean
gulp gm:clean

# compile for develop,not watch
gulp gm:compile


Keywords

FAQs

Package last updated on 24 Jan 2016

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