Skip to content

etidbury/gulplite

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gulp Lite

Gulp Lite primarily helps reduce the number of files within your project by packaging all the common gulp tasks, and exposing only the necessary configuration parameters for customisation.

##Usage

  1. #####Install via command line:

    npm install gulplite --save-dev
  2. #####Configure for your project:

    Note: all parameters values are optional and defaults to values specified here

    {
        "name":"my-project-name",
        //...
        "config":{
     
          "gulplite":{
       
                "browserPort": 3000,
                "UIPort": 3001,
                "scripts": {
                  "src": "./app/js/**/*.js",
                  "dest": "./build/js/",
                  "test": "./tests/**/*.js"
                },
                "images": {
                  "src": "./app/img/**/*.{jpeg,jpg,png,gif}",
                  "dest": "./build/img/"
                },
                "sass": {
                  "src": "./app/sass/**/*.scss",
                  "dest": "./build/css/"
                },
                "sourceDir": "./app/",
                "buildDir": "./build/",
                "testFiles": "./tests/**/*.{js,jsx}",
                "browserSync": {
                  "defaultFile": "index.html",
                  "assetExtensions": [
                    "js",
                    "css",
                    "map",
                    "png",
                    "jpe?g",
                    "gif",
                    "svg",
                    "eot",
                    "otf",
                    "ttc",
                    "ttf",
                    "woff2?"
                  ]
                },
                "browserify": {
                  "outputFileName": "main",
                  "defaultFile": "index.js"
                }
          }
        }
        
        //...
    }

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published