Skip to content

adding installation instructions for gulp file

Fixes #67 (closed)

Short description of what this resolves:

  1. Gulp allows to use existing JavaScript knowledge to write gulpfiles or to use experience with gulpfiles to write plain JavaScript. Although a few utilities are provided to simplify working with the filesystem and command line, everything else we write is pure JavaScript. So firstly for using gulp.js file and its automation, the gulp is installed globally in the local machine.
  2. Node's module resolution allows to replace gulpfile.js file with a directory named gulpfile.js that contains an index.js file which is treated as a gulpfile.js. This directory could then contain individual modules for tasks. If we are using a transpiler, name the folder and file accordingly.

Changes proposed in this pull request:

  • Added installation instructions for installing gulp workflow automation globally
  • Each task can be split into its own file, then imported into gulpfile for composition.
  • Not only does this keep things organized, but it allows us to test each task independently or vary composition based on conditions by running gulp

Checklist

  • My branch is up-to-date with the Upstream develop branch.
  • The acceptance, integration, unit tests and linter pass locally with my changes
  • I have added tests that prove my fix is effective or that my feature works
  • I have added necessary documentation (if appropriate)

Merge request reports