-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Set to mirror the develop branch on the last point where the classes
- Loading branch information
michael
committed
Dec 11, 2014
1 parent
4071493
commit bda56f9
Showing
53 changed files
with
100,412 additions
and
7,906 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,62 @@ | ||
/* global module:false */ | ||
|
||
module.exports = function(grunt) { | ||
"use strict"; | ||
|
||
require('time-grunt')(grunt); | ||
|
||
grunt.loadNpmTasks('grunt-karma'); | ||
grunt.loadNpmTasks('grunt-contrib-jshint'); | ||
grunt.loadNpmTasks('grunt-contrib-watch'); | ||
grunt.loadNpmTasks('grunt-jsdoc'); | ||
|
||
grunt.registerTask('ci', ['jshint', 'karma:ci']); | ||
|
||
grunt.initConfig({ | ||
jshint: { | ||
options: { | ||
jshintrc: true | ||
}, | ||
all: ['Gruntfile.js', 'js/*.js', 'test/**/*.js'] | ||
}, | ||
|
||
karma: { | ||
ci: { | ||
configFile: 'karma.conf.js', | ||
background: false, | ||
singleRun: true, | ||
browsers: ['PhantomJS'] | ||
}, | ||
unit: { | ||
configFile: 'karma.conf.js', | ||
background: true, | ||
browsers: ['PhantomJS'] | ||
}, | ||
autowatch: { | ||
configFile: 'karma.conf.js', | ||
autoWatch: true, | ||
browsers: ['PhantomJS'] | ||
} | ||
}, | ||
|
||
watch: { | ||
scripts: { | ||
files: ['js/**/*.js', 'test/**/*.js'], | ||
tasks: ['jshint', 'karma:autowatch'], | ||
options: { | ||
spawn: false | ||
} | ||
} | ||
}, | ||
|
||
jsdoc: { | ||
dist: { | ||
src: ['README.md', 'js/*.js'], | ||
options: { | ||
destination: 'doc', | ||
template : "node_modules/grunt-jsdoc/node_modules/ink-docstrap/template" | ||
} | ||
} | ||
} | ||
}); | ||
}; |
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
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,10 @@ | ||
{ | ||
"name": "plugin-api", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/aptoma/no.aptoma.plugin-api.git" | ||
}, | ||
"dependencies": { | ||
"jquery": "2.1.1" | ||
} | ||
} |
Oops, something went wrong.