'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
Delete folders
Gulp paths to clean. Default: '.tmp', 'dist', 'coverage'
Replace urls with a cdn url.
Files to use. Default: 'dist/**/*.css', 'dist/**/*.html'
Where new files will be placed. Default: dist
Convert coffee files to js files.
Files to use. Default: 'app/**/*.coffee', 'example/**/*.coffee', 'src/**/*.coffee'
Where new files will be placed. Default: .tmp
Copy files to a location.
Files to use. Default: 'dist': '**/*.{gif,png,jpg,jpeg,svg}'
Option passed to copy-files module. Default: app/
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
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'
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.