Skip to content

KAZOO Support Channels

This documentation is curated by 2600Hz as part of the KAZOO open source project. Join our community forums here for peer support. Only features in the docs.2600hz.com/supported space are included as part of our 2600Hz Support Services plan.

Build Commands#

Monster UI's build system is powered by gulp. It provides build management commands for applications as well as for the framework as a whole.

lint#

Runs eslint for framework (including every app), or for a specific app by specifying the --app option.

Synopsis#
gulp lint [options]
Options#
--app name        Pick app to lint by name
Examples#
gulp lint
gulp lint --app voip

build-dev#

Moves all files under /dist and runs the following tasks:

  • compile SCSS into CSS
  • generate build config for the framework and each app
Synopsis#
gulp build-dev [options]
Options#
--pro name        Pick apps by name to build in pro version
--require file    Specify a polyfill config
Examples#
gulp build-dev
gulp build-dev --pro operator
gulp build-dev --pro operator,callqueues

serve-dev#

Runs the build-dev command and serves /dist at http://localhost:3000/.

Synopsis#
gulp [serve-dev] [options]
Options#
--pro name        Pick apps by name to build in pro version
--require file    Specify a polyfill config
Examples#
gulp
gulp --pro operator
gulp --pro operator,callqueues
gulp serve-dev
gulp serve-dev --pro operator
gulp serve-dev --pro operator,callqueues

build-app#

Runs a production build for a specific app, including the following tasks:

  • compile SCSS into CSS
  • compile templates into JS
  • resolve modules dependencies
  • minify JS/CSS
  • generate build config

The output of the build is located at /dist/apps/<name>.

Synopsis#
gulp build-app [options]
Options#
--app name        Pick app to build by name
--pro             Build app with pro version by name
--require file    Specify a polyfill config
Examples#
gulp build-app --app voip
gulp build-app --app voip --pro

build-prod#

Runs a production build for the framework, including the following tasks:

  • compile SCSS into CSS
  • compile templates into JS
  • resolve modules dependencies
  • minify JS/CSS
  • generate build config

The output of the build is located at /dist.

Synopsis#
gulp build-prod [options]
Options#
--require file    Specify a polyfill config
Examples#
gulp build-prod

serve-prod#

Runs the build-prod command and serves /dist at http://localhost:3000/

Synopsis#
gulp serve-prod [options]
Options#
--require file    Specify a polyfill config
Examples#
gulp serve-prod