Giter Club home page Giter Club logo

modernizr-buildr's Introduction

Modernizr Buildr

Create custom Modernizr builds from the command line.

Description

modernizr-buildr is a simple tool that allows you to create custom Modernizr builds from the command line. It's a very basic PhantomJS wrapper that browses to the Modernizr download page and generates a build with optional tests.

It's not meant to be used in any sort of production environment, and has been created as a convenience tool born out of sheer laziness. I wanted a quick way of adding a couple of extra options to an existing Modernizr build without having to visit the site and check checkboxes.

Installation

git clone [email protected]:BenConstable/modernizr-buildr.git
cd modernizr-buildr
npm install -g

Installing without npm

If you've already got PhantomJS installed and you don't want to install it again through npm, you can skip npm install and just call the modernizr-buildr.js script with PhantomJS directly:

phantomjs modernizr-buildr.js [--tests shiv-...]

However, this is not recommended, purely for ease of use.

Usage

modernizr-buildr accepts a dash-separated list of build options as --tests. This makes it easy to copy and paste an existing set of options from an existing Modernizr build.

The generated script will be passed to STDOUT, so if you'd like to create a file then do something like the following:

modernizr-buildr -t history-touch-shiv-mq-cssclasses > modernizr.min.js

Also, see:

modernizr-buildr -h

## Related

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.