gwatts / jquery.sparkline

A plugin for the jQuery javascript library to generate small sparkline charts directly in the browser
http://omnipotent.net/jquery.sparkline/
1.24k stars 278 forks source link

Added Gruntfile.js and package.json file so we can build with Grunt #100

Closed kapusta closed 10 years ago

kapusta commented 10 years ago

Added a Gruntfile and package.json file, removed minheader.txt and moved that text into sparkline.jquery.json so Grunt can use it when creating the minified file.

A JSHint config is also included but it's a bit restrictive and fails on the concatenated source (I use two space tabs).

The default "grunt" command (after you do a "npm install" to install the needed modules) will yield a concatenated file and minified file in the dist directory. This is useful for Bower users who want to include those files without added work.

Many thanks to Gareth for a rad library. This is my first PR, if I messed up, lemme know :thumbsup:

kapusta commented 10 years ago

Closed/Cancelled this PR based on what was discussed in #77 (which is where I intended for this to go eventually).