Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Restarted development for 1.0
  • Loading branch information
andris9 committed Jun 25, 2014
1 parent cbd8256 commit 73781b1
Show file tree
Hide file tree
Showing 34 changed files with 91 additions and 3,808 deletions.
18 changes: 18 additions & 0 deletions .jshintrc
@@ -0,0 +1,18 @@
{
"indent": 4,
"node": true,
"globalstrict": true,
"evil": true,
"unused": true,
"undef": true,
"newcap": true,
"esnext": true,
"curly": true,
"eqeqeq": true,
"expr": true,

"predef": [
"describe",
"it"
]
}
4 changes: 1 addition & 3 deletions .npmignore
@@ -1,6 +1,4 @@
.travis.yml
CONTRIBUTING.md
assets
examples
test

test
3 changes: 1 addition & 2 deletions .travis.yml
@@ -1,11 +1,10 @@
language: node_js
node_js:
- 0.8
- "0.10"
- "0.11"

before_install:
- npm update -g npm
- npm update -g grunt-cli

notifications:
email:
Expand Down
11 changes: 0 additions & 11 deletions CONTRIBUTING.md

This file was deleted.

30 changes: 30 additions & 0 deletions Gruntfile.js
@@ -0,0 +1,30 @@
'use strict';

module.exports = function(grunt) {

// Project configuration.
grunt.initConfig({
jshint: {
all: ['src/*.js', 'test/*.js'],
options: {
jshintrc: '.jshintrc'
}
},

mochaTest: {
all: {
options: {
reporter: 'spec'
},
src: ['test/*-unit.js']
}
}
});

// Load the plugin(s)
grunt.loadNpmTasks('grunt-contrib-jshint');
grunt.loadNpmTasks('grunt-mocha-test');

// Tasks
grunt.registerTask('default', ['jshint', 'mochaTest']);
};

0 comments on commit 73781b1

Please sign in to comment.