Skip to content
This repository has been archived by the owner on Dec 10, 2024. It is now read-only.

Gulp Commands

Dieter Peirs edited this page Oct 18, 2016 · 3 revisions

We use Gulp as our task runner. There are some basic tasks defined but these can be easily extended by changing the gulpfile.js. Browsersync also works as a server for your devices. More info can be found on the browsersync site.

Settings

All gulp tasks are defined by global settings which you can find in the _config.js file

Gulp commands

  • gulp: default task, compiles everything just once
  • gulp watch: compiles everything, starts a browsersync server and watches for changes
  • gulp scss: preprocesses and autoprefixes the .scss
  • gulp test: lints your .scss files according to the settings in the lint.yml file
  • gulp js: concatenates all .js files specified in the _config.js file
  • gulp compressjs: compresses all .js files specified in the _config.js file
  • gulp symbols: combines all .svgfiles in the _artwork/symbols/ù folder into an svg-symbols.svgfile inimg/svg/`
  • gulp dependencies: copies all node dependencies into the vendor folder
Clone this wiki locally