pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/andreevqt/gulp-starter-boilerplate

c="https://github.githubassets.com/assets/vendors-node_modules_github_arianotify-polyfill_ariaNotify-polyfill_js-node_modules_github_mi-247092-b9c7cf3107b7.js"> GitHub - andreevqt/gulp-starter-boilerplate: Simple gulp boilerplate for beginners
Skip to content

andreevqt/gulp-starter-boilerplate

Repository files navigation

Build Status

Gulp-starter-boilerplate

Simple gulp boilerplate for beginners.

Helps you to automate some common tasks:

  • minify js and css
  • bundle js (uses webpack)
  • archive dist
  • svg and png sprites assembly
  • Pug templates compilation

Usage

Installation

# Clone repo
git clone https://github.com/qprquo/gulp-starter-boilerplate
# cd to directory
cd gulp-starter-boilerplate
# link package
npm link
# Create project
gulp-starter-boilerplate --create=<name>
# install packages
cd <name> 
npm install

# start some task
gulp watch

Gulp tasks

  • gulp build - build in development mode (with sourcemaps)
  • gulp prod - build in production mode (without sourcemaps)
  • gulp zip - archive ${config.dist} directory
  • gulp watch - start dev server and watch for changes
  • gulp clean - clean dist folder

Configuration

Following options are available:

const config = {
  // output directory
  dist: './dist/',
  // minify css and put files in `${config.dist}/css` directory
  minifyCss: true,
  // minify js and put files in `${config.dist}/js` directory
  minifyJs: true,
  // use webpack. If set to `true` then bundles js using config located in project root 
  useWebpack:false
  // compile png sprites located in ./sprites/png directory 
  pngSprites: true,
  // compile svg sprites located in ./sprites/svg directory
  svgSprites: true
}

Or you can edit gulpfile.js on your own.

pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy