Skip to content

gregtatum/gulpfile

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#gulpfile

A personal configuration for gulp, using the package.json to declaratively configure.

##To install: npm install git://github.com/TatumCreative/gulpfile.git#v1.0.2 --save-dev

##package.json gulpfile property

"gulpfile": {
  "phpVersionFile" : "app/version.php",
  "transforms" : ["reactify", "glslify"],
  "paths": {
    "entry": "./js/main.js",
    "js": [
      "js/**/*.js",
      "js/**/*.jsx",
      "gulpfile.js"
    ],
    "hint": [
      "assets/build/bundle.js",
      "gulpfile.js"
    ],
    "build": "./assets/build/",
    "bundleName": "bundle.js",
    "minName": "bundle.min.js",
    "mapName": "bundle.min.map",
    "sass": "sass/**/*.scss",
    "sassEntry": "sass/main.scss",
    "css": "./assets/build",
    "svg": "./assets/svg/*.svg",
    "svgBuild": "./assets/fonts/icons",
    "svgTemplates": "./assets/svg/templates/"
  },
},

Note that transforms must be installed at the project level.

About

My personal gulpfile configuration that pulls in the paths from the package.json

Resources

License

Stars

0 stars

Watchers

1 watching

Forks

Packages

 
 
 

Contributors