Skip to content

Starter kit for gulp projects using bootstrap, jquery and popper

Notifications You must be signed in to change notification settings

JonahGlasgow/Gulp-Starter-Kit-4.0.2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gulp 4.0.2 Starter Kit

Basic web development setup for gulp projects using bootstrap, popper and jquery.

This build is currently up to date with gulps latests version and will not work with [email protected] due to breaking changes and major security updates please refer to the Official Gulp Website for more information on [email protected]

  • Before getting started please refer to the JSON Package section.

  • To get started please refer to the Quick Setup section.

Package.json Configuration (! important)

Development must follow the package.json schema to import node_module dependencies to project library, this function has been integrated with gulps default task for simplicity.

If you decide to change the package.json schema make sure you include both "dependencies" and "devDependencies" to prevent errors from occurring while starting your server.

"dependencies": {
    "bootstrap": "^4.4.1",
    "@popperjs/core": "^2.3.3",
    "jquery": "^3.5.0"
  },
  "devDependencies": {
    "browser-sync": "^2.26.7",
    "gulp": "^4.0.2",
    "gulp-npm-dist": "^1.0.3",
    "gulp-rename": "^1.4.0",
    "gulp-replace": "^1.0.0",
    "gulp-sass": "^4.0.2",
    "pump": "^1.0.1"
  }

Quick Setup

To get started in under 5 minutes, just fork this repo and clone it locally

$ git clone https://github.com/YOURFORKEDPROJECT

change directories to your forked project and run the following command to install all the dependencies required for the gulp starter kit

npm install

Gulp Command Instructions

Please run the following commands after all dependencies are downloaded

  1. Export scss & create style.css file
run ---> "gulp style" 
  1. Export bootstrap scss & create bootstrap.css file
run ---> "gulp bootstrap" 
  1. Export bootstrap JS & create bootstrap.js file
run ---> "gulp bootstrapJS" 
  1. Export jquery JS & create jquery.js file
run ---> "gulp jquery"
  1. Export popper JS & create popper.js file
run ---> "gulp popper"
  1. Export node_modules dist to library (Currently set as default task)
run ---> "gulp"
  1. To start the server
run ---> "gulp watch"

Additional Sources

Gulpjs

Bootstrap

Jquery

Popperjs

gulp-npm-dist

About

Starter kit for gulp projects using bootstrap, jquery and popper

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published