All the Gulp tasks are in the tasks/
folder. Each one consists of a module with a function which is required into tasks defined in the gulpfile
.
gulp
: Initialize watch for changes and a servergulp js
: Minify and concat filesgulp jade
: Compile Jade filesgulp sass
: Compile SASS filesgulp img-clean
: Clean imagesgulp img-min
: Clean images folder and compress image filesgulp watch
: Call to watch filesgulp deploy-gh
: Deploy to Github Pagesgulp deploy-rsync
: Deploy via rsyncgulp build-gh
: Minify files and deploy to Github Pagesgulp build-rsync
: Minify files and deploy via rsyncgulp tests
: Run nightwatch.js - see testing
If you usually do automation via npm run <script>
, all the gulp tasks above
are declared in the npm scripts
obejct, so feel free to run:
npm run server
: Initialize watch for changes and a servernpm run js
: Minify and concat filesnpm run jade
: Compile Jade filesnpm run sass
: Compile SASS filesnpm run img-clean
: Clean imagesnpm run img-min
: Clean images folder and compress image filesnpm run watch
: Call to watch filesnpm run deploy-gh
: Deploy to Github Pagesnpm run deploy-rsync
: Deploy via rsyncnpm run build-gh
: Minify files and deploy to Github Pagesnpm run build-rsync
: Minify files and deploy via rsyncnpm test
: Run nightwatch.js - see testing