wiki-plugin-audio
Advanced tools
Comparing version 0.1.1 to 0.1.2
@@ -7,2 +7,5 @@ module.exports = function (grunt) { | ||
grunt.initConfig({ | ||
pkg: grunt.file.readJSON('package.json'), | ||
coffee: { | ||
@@ -28,2 +31,20 @@ client: { | ||
grunt.registerTask( "update-authors", function () { | ||
var getAuthors = require("grunt-git-authors"), | ||
done = this.async(); | ||
getAuthors({ | ||
priorAuthors: grunt.config( "authors.prior") | ||
}, function(error, authors) { | ||
if (error) { | ||
grunt.log.error(error); | ||
return done(false); | ||
} | ||
grunt.file.write("AUTHORS.txt", | ||
"Authors ordered by first contribution\n\n" + | ||
authors.join("\n") + "\n"); | ||
}); | ||
}); | ||
grunt.registerTask('build', ['coffee']); | ||
@@ -30,0 +51,0 @@ grunt.registerTask('default', ['build']); |
@@ -39,5 +39,4 @@ Copyright (c) 2015 Paul Rodwell and other contributors | ||
All files located in the node_modules and external directories are | ||
externally maintained libraries used by this software which have their | ||
own licenses; we recommend you read them, as their terms may differ from | ||
the terms above. | ||
All files located in the node_modules directory are externally maintained | ||
libraries used by this software which have their own licenses; we recommend | ||
you read them, as their terms may differ from the terms above. |
{ | ||
"name": "wiki-plugin-audio", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"description": "Federated Wiki - Audio Plugin", | ||
@@ -23,5 +23,11 @@ "keywords": [ | ||
"grunt-contrib-coffee": "~0.12", | ||
"grunt-contrib-watch": "~0.6" | ||
"grunt-contrib-watch": "~0.6", | ||
"grunt-git-authors": "~2" | ||
}, | ||
"license": "MIT", | ||
"licenses": [ | ||
{ | ||
"type": "MIT", | ||
"url": "https://github.com/fedwiki/wiki-plugin-audio/blob/master/LICENSE.txt" | ||
} | ||
], | ||
"repository": { | ||
@@ -28,0 +34,0 @@ "type": "git", |
29198
10
98
4