appirio-gulp-tasks
[![Build Status](https://travis-ci.org/appirio-tech/gulp-tasks.svg?branch=master)](https://travis-ci.org/appirio-tech/gulp-tasks) [![Coverage Status](https://coveralls.io/repos/appirio-tech/gulp-tasks/badge.svg)](https://coveralls.io/r/appirio-tech/gulp-t
Last updated 4 years ago by atranappirio .
Original npm · Tarball · package.json
$ cnpm install appirio-gulp-tasks 
SYNC missed versions from official npm registry.

gulp-tasks

Build Status Coverage Status

Sample gulp file

'use strict'

configs =
  __dirname: __dirname # required

configs.templateCache =
  files : [
    '.tmp/views/footer.html'
    '.tmp/views/main.html'
  ]
  root  : 'views/'
  module: 'appirio-tech-messaging'

loadTasksModule = require './load-tasks.coffee'

loadTasksModule.loadTasks configs

Tasks

clean

Delete folders

configs.cleanFiles

Gulp paths to clean. Default: '.tmp', 'dist', 'coverage'

cdnify

Replace urls with a cdn url.

configs.cdnify.files

Files to use. Default: 'dist/**/*.css', 'dist/**/*.html'

configs.cdnify.distPath

Where new files will be placed. Default: dist

coffee

Convert coffee files to js files.

configs.coffee.files

Files to use. Default: 'app/**/*.coffee', 'example/**/*.coffee', 'src/**/*.coffee'

configs.coffee.tempFolder

Where new files will be placed. Default: .tmp

copy

Copy files to a location.

configs.copyFiles.files

Files to use. Default: 'dist': '**/*.{gif,png,jpg,jpeg,svg}'

configs.copyFiles.base

Option passed to copy-files module. Default: app/

styleguide

gulp styleguide generates the SC5 Styleguide.

gulp watch-styleguide runs gulp styleguide and triggers a live refresh upon any changes to SCSS files.

To pass in your own options for the styleguide, follow this example:

configs.styleguideGenerator =
  topcoder:
    options:
      title: 'Topcoder Styleguide'
      server: true
      port: 3333
      rootPath: 'tc-styleguide'

    scssFiles: ['styles/**/*.scss', '!styles/work/**/*.scss']

    mainSCSSFile: 'app/styles/topcoder/_tc-styles.scss'

Then, pass the team name as a flag to the gulp command: gulp watch-styleguide --team topcoder

Useful alias

alias gserve='nvm use; gulp clean; gulp serve'
alias gtest='nvm use; gulp test'
alias gtestserve='nvm use; gulp test-serve'
alias gbuild='nvm use; gulp clean; gulp preprocessors; gulp useref; gulp copy-files; gulp remove-code'
alias ge2e='gbuild; gulp e2e'

Releases

Since npm does not support semvers, we use branches name accordingly, e.g. 1.x.x and 2.x.x. Simply merge or rebase into those branches for a release.

Current Tags

  • 3.2.11                                ...           latest (4 years ago)

65 Versions

  • 3.2.11                                ...           4 years ago
  • 3.2.10                                ...           4 years ago
  • 3.2.7                                ...           4 years ago
  • 3.2.6                                ...           4 years ago
  • 3.2.5                                ...           4 years ago
  • 3.2.4                                ...           4 years ago
  • 3.2.3                                ...           4 years ago
  • 3.2.2                                ...           4 years ago
  • 3.2.1                                ...           4 years ago
  • 3.2.0                                ...           4 years ago
  • 3.1.4                                ...           5 years ago
  • 3.1.3                                ...           5 years ago
  • 3.1.2                                ...           5 years ago
  • 3.1.1                                ...           5 years ago
  • 3.1.0                                ...           5 years ago
  • 0.0.0                                ...           5 years ago
  • 3.0.307                                ...           5 years ago
  • 3.0.306                                ...           5 years ago
  • 3.0.305                                ...           5 years ago
  • 3.0.304                                ...           5 years ago
  • 3.0.303                                ...           5 years ago
  • 3.0.302                                ...           5 years ago
  • 3.0.301                                ...           5 years ago
  • 3.0.3                                ...           5 years ago
  • 3.0.2                                ...           5 years ago
  • 3.0.1                                ...           5 years ago
  • 3.0.0                                ...           5 years ago
  • 2.1.207                                ...           5 years ago
  • 2.1.205                                ...           5 years ago
  • 2.1.204                                ...           5 years ago
  • 2.1.203                                ...           5 years ago
  • 1.0.109                                ...           5 years ago
  • 2.1.202                                ...           5 years ago
  • 1.0.108                                ...           5 years ago
  • 1.0.107                                ...           5 years ago
  • 1.0.106                                ...           5 years ago
  • 2.1.201                                ...           5 years ago
  • 2.1.2                                ...           5 years ago
  • 2.1.1                                ...           5 years ago
  • 2.1.0                                ...           5 years ago
  • 2.0.5                                ...           5 years ago
  • 2.0.2                                ...           5 years ago
  • 2.0.4                                ...           5 years ago
  • 2.0.3                                ...           5 years ago
  • 1.0.105                                ...           5 years ago
  • 1.0.104                                ...           5 years ago
  • 1.0.103                                ...           5 years ago
  • 1.0.102                                ...           5 years ago
  • 1.0.101                                ...           5 years ago
  • 1.0.1                                ...           5 years ago
  • 1.0.0                                ...           5 years ago
  • 0.0.24                                ...           5 years ago
  • 0.0.23                                ...           5 years ago
  • 0.0.22                                ...           5 years ago
  • 0.0.21                                ...           5 years ago
  • 0.0.20                                ...           5 years ago
  • 0.0.9                                ...           5 years ago
  • 0.0.8                                ...           5 years ago
  • 0.0.7                                ...           5 years ago
  • 0.0.6                                ...           5 years ago
  • 0.0.5                                ...           5 years ago
  • 0.0.4                                ...           5 years ago
  • 0.0.3                                ...           5 years ago
  • 0.0.2                                ...           5 years ago
  • 0.0.1                                ...           5 years ago
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (77)
Dev Dependencies (3)
Dependents (1)

Copyright 2014 - 2016 © taobao.org |