forked from skyglobal/web-toolkit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
aliases.js
25 lines (20 loc) · 1011 Bytes
/
aliases.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
module.exports = {
"dev-build": ['clean', 'compass', 'requirejs', 'fonts', 'svgs', 'uglify', 'jekyll:build', 'prepare-site'],
// standard build tasks that lints your JS
"build": ['jshint', 'version_sync', 'dev-build'],
"serve": ['build','connect:app', 'open:app', 'watch'],
// misc tasks
"fonts": ['clean:fonts-min', 'clean:fonts', 'svgmin:fonts', 'webfont', 'cssmin:skycons'],
"svgs": ['clean:svgs-min', 'clean:svgs', 'svgmin:icons', 'grunticon'],
// for toolkit website with runnable tests
"prepare-site": ['copy:dist', 'copy:test'],
// testing tasks
"test-with-coverage": ['blanket_mocha'],
"test-without-coverage": ['mocha'],
"test-cross-browser": ['jekyll:build','connect:cross-browser', 'exec:browserstack'],
"test-cross-browser-live": ['jekyll:build','connect:cross-browser', 'exec:browserstack-live'],
// alias
"server": ['serve'],
"test": ['build', 'test-without-coverage', 'test-with-coverage'],
"default": ['build']
};