-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
50e44b5
commit b5a7a91
Showing
4 changed files
with
81 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"validthis" : true | ||
, "multistr" : true | ||
, "laxcomma" : true | ||
, "laxbreak" : true | ||
, "browser" : true | ||
, "eqeqeq" : false | ||
, "eqnull" : true | ||
, "debug" : true | ||
, "devel" : true | ||
, "curly" : false | ||
, "boss" : true | ||
, "expr" : true | ||
, "asi" : true | ||
, "supernew" : true | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
language: node_js | ||
node_js: | ||
- 0.8 | ||
before_script: | ||
- npm install -g grunt-cli |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
/* jshint node: true */ | ||
|
||
module.exports = function (grunt) { | ||
"use strict"; | ||
|
||
grunt.initConfig({ | ||
pkg: grunt.file.readJSON('package.json') | ||
, jshint: { | ||
all: [ | ||
"Gruntfile.js" | ||
, "static/figure/js/*.js" | ||
] | ||
, options: { | ||
jshintrc: '.jshintrc' | ||
}, | ||
} | ||
// , jasmine: { | ||
// src: "lib/**/*.js" | ||
// , options: { | ||
// specs: "spec/**/*.js" | ||
// , vendor: "vendor/**/*.js" | ||
// } | ||
// } | ||
}) | ||
|
||
grunt.loadNpmTasks('grunt-contrib-jshint') | ||
// grunt.loadNpmTasks('grunt-contrib-jasmine') | ||
|
||
// grunt.registerTask('test', ['jshint', 'jasmine']) | ||
grunt.registerTask('test', ['jshint']) | ||
grunt.registerTask('default', ['test']) | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
{ | ||
"name": "figure", | ||
"version": "1.0.0-beta1", | ||
"description": "OMERO figure creation app", | ||
"main": "index.js", | ||
"scripts": { | ||
"test": "grunt test" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git://github.com/will-moore/figure.git" | ||
}, | ||
"keywords": [ | ||
"backbone", | ||
"jQuery", | ||
"figure" | ||
], | ||
"author": "William Moore", | ||
"license": "GPL", | ||
"bugs": { | ||
"url": "https://github.com/will-moore/figure/issues" | ||
}, | ||
"homepage": "https://github.com/will-moore/figure", | ||
"devDependencies": { | ||
"grunt": "^0.4.4", | ||
"grunt-contrib-jshint": "^0.10.0" | ||
} | ||
} |