wycats/rake-pipeline-web-filters


License: MIT

Language: Ruby


Rake::Pipeline::Web::Filters Build Status

This project contains a set of rake-pipeline filters for building web apps.

It includes these filters:

  • Cache Buster - Write a fingerprint into each file name
  • Coffescript - Convert Coffeescript to Javascript
  • ES6 Module Transpiler - Transpile ES6 to ES5 Javascript (Available Options)
  • GZip - Create gzip'd version of your files
  • Handlebars - Process handlebars templates
  • IIFE - Wrap source files in Immediately Invoked Function Expressions
  • Jade - Process Jade templates
  • LESS - Convert LESS to CSS
  • Markdown - Convert Markdown to HTML
  • Minispade - Wrap JS files in Minispade modules
  • Neuter - Require files in a file and generate one single combined file
  • SASS - Convert SASS to CSS
  • Stylus - Convert Stylus to CSS
  • Tilt - Use Tilt to process
  • Uglify - Minify JS
  • YUI CSS - Minify CSS
  • YUI Javascript - Minify JS

Here's a quick example of a realistic project's Assetfile:

# Assetfile
require 'rake-pipeline-web-filters'

output "site"

input "javascripts" do
  match "**/*.coffee" do
    coffee_script
  end

  match "**/*.js" do
    minispade
    concat "application.js"
    uglify
  end
end

input "stylesheets" do
  match "**/*.sass" do
    sass
  end

  match "**/*.css" do
    concat "application.css"
    yui_css
  end
end

API documentation is hosted at rubydoc.info

Project Statistics

Sourcerank 8
Repository Size 683 KB
Stars 125
Forks 38
Watchers 5
Open issues 19
Dependencies 16
Contributors 21
Tags 1
Created
Last updated
Last pushed

Top Contributors See all

Dudley Flanders Yehuda Katz Kris Selden Herman J. Radtke III Tyler Kellen Irvin Zhan Peter Wagenet Adam Rensel Wojciech Wnętrzak Kuba Kuźma Mitchel Kelonye Raghu Rajah Thomas Reynolds Systho Philip Poots Tom Dale Ken Browning Luke Melia Gordon L. Hempton André Arko

Packages Referencing this Repo

rake-pipeline-web-filters-fork
A collection of web filters for rake-pipeline
Latest release 0.6.2 - Updated - 125 stars
rake-pipeline-web-filters
A collection of web filters for rake-pipeline
Latest release 0.7.0 - Updated - 125 stars

Recent Tags See all

0.6.0 February 09, 2012

Something wrong with this page? Make a suggestion

Last synced: 2016-11-24 15:48:23 UTC

Login to resync this repository