Skip to content

kiran-kadam911/frontend-automation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Frontend Automation

Automate frontend using task runner gulp

Prerequisites:

  • Knowledge of Node.js, Gulp Js
  • Pre Installed Node and Gulp globally on local system

Installation Steps:

  • Download repositiory to your system. Extract it.
  • Copy gulpfile.js, package.json, README.md & LICENSE and paste files into the theme directory of your project.
  • Open "Node Terminal", Go to your project theme directory.
  • To make this work type following commands into your "Node Terminal".
    1. Type "npm init" into terminal this will ask you a bunch of questions, and then write a package.json for you. If you already have a package.json file, it'll read that first, and default to the options in there.
    2. Then type "npm install" into terminal this will install all modules listed as dependencies in package.json.
    3. Next step is type command "npm install gulp-cli -g" and "npm install gulp -D" this will install gulp globally into system as well as node will treat as a dependency for your project.

Now that installation is completed. Open "gulpfile.js". Do the necessity changes like changes folder path, arrangement of task as per the need.

List of tasks added into gulpfile.js are:

Once this is done, you are ready to start automating frontend. In "node terminal", go to your project theme directory and type command as per your task (for example: To compile sass file need to run command like "gulp sass-watch"). As per this you can run other commands also depending on your task requirement.

About

Automate frontend using task runner gulp

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published