Skip to content

Minify Images and Icons for Web | Extension of viur-ignite-css

License

Notifications You must be signed in to change notification settings

viur-ignite/viur-ignite-compressor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

npm version Dependency Status GitHub license

VIUR Ignite Compressor

The ViUR Ignite Framework is the first attempt in building a sturdy foundation for ViUR products and Mausbrand projects.
This CSS toolkit is the very core of ViUR Ignite. It is built upon the principles of many CSS guides and frameworks.

VIUR Ignite compressor minfies images for web and builds meta tags. You find a detailed introduction and examples on our Website.

Install

$ npm install viur-ignite-compressor

Usage

const gulp = require('gulp');
const compressor = require('viur-ignite-compressor');

gulp.task('default', function() {
  return compressor.build();
});

Minify images and icons and build meta tags with

$ gulp

Be individual

Call the function with an object of options

gulp.task('default', function() {
  return compressor.build({
    appName: 'VIUR Ignite Project',
    appURL: 'viur.is',
  });
});

The Default options are:

src: './sources/',
dest: './appengine/static/',
appName: 'My App',
appURL: 'myapp.com',
appDescription: 'Description of My App',
developerName: 'Developer of My App',
developerURL: 'developer.com',
background: '#ffffff',
metaPath: '../static/meta',
index: './appengine/html/index.html',
display: 'standalone',
orientation: 'portrait'

Contribution guidelines

  • Available for use under the GPL-3.0 license

Who do I talk to?

About

Minify Images and Icons for Web | Extension of viur-ignite-css

Resources

License

Stars

Watchers

Forks

Packages

No packages published