Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/joe-watkins/grunt-tenon-client-starter

A simple starter demo for Grunt Tenon - Tenon.io
https://github.com/joe-watkins/grunt-tenon-client-starter

Last synced: 10 days ago
JSON representation

A simple starter demo for Grunt Tenon - Tenon.io

Awesome Lists containing this project

README

        

#Grunt Tenon Client Starter
This is a simple starter package to get up and running with Grunt [Tenon](http://www.tenon.io). Be sure to [signup for a free account at Tenon.io](http://www.tenon.io/register.php) to obtain the API key needed for using this Grunt plugin.

## Setup
1. From the command line run ``npm install`` this will setup the required node modules
2. Add your Tenon.io API Key to the Gruntfile.js on line #19
3. From the command line run ``grunt`` to start up Grunt.
4. Make edits to the index.html file and watch Grunt-Tenon work its magic. Keep you eyes on the terminal for output from the Tenon plugin.

## Basic Grunt Settings
```
tenon: {
options: {
key: 'you api key here', // ADD YOUR API KEY HERE
filter: [31, 54],
level: 'AA' // AA OR AAA
},
all: {
options: {
saveOutputIn: 'allHtml.json',
snippet: true,
asyncLim: 2
},
src: ['index.html']
},
index: {
src: ['index.html']
}
}
```