diff options
author | Yaco <franco@reevo.org> | 2019-10-08 11:21:39 -0300 |
---|---|---|
committer | Yaco <franco@reevo.org> | 2019-10-08 11:21:39 -0300 |
commit | af92be717a03ea9b95df6009314ab279ba765e98 (patch) | |
tree | 4181440998c50916860e89cfc02ddfc7309bebba /www/wiki/extensions/ContactPage/Gruntfile.js | |
parent | 2cbe322e2a4843f6acb39be0ddb991ce8765bca9 (diff) |
agrega extension ContactPage
Diffstat (limited to 'www/wiki/extensions/ContactPage/Gruntfile.js')
-rw-r--r-- | www/wiki/extensions/ContactPage/Gruntfile.js | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/www/wiki/extensions/ContactPage/Gruntfile.js b/www/wiki/extensions/ContactPage/Gruntfile.js new file mode 100644 index 00000000..c557f4c8 --- /dev/null +++ b/www/wiki/extensions/ContactPage/Gruntfile.js @@ -0,0 +1,34 @@ +/*! + * Grunt file + * + * @package ContactPage + */ + +/*jshint node:true */ +module.exports = function ( grunt ) { + grunt.loadNpmTasks( 'grunt-banana-checker' ); + grunt.loadNpmTasks( 'grunt-jsonlint' ); + grunt.loadNpmTasks( 'grunt-contrib-jshint' ); + + var conf = grunt.file.readJSON( 'extension.json' ); + grunt.initConfig( { + banana: conf.MessagesDirs, + jshint: { + all: [ + '**/*.js', + '!node_modules/**', + '!vendor/**' + ] + }, + jsonlint: { + all: [ + '**/*.json', + '!node_modules/**', + '!vendor/**' + ] + } + } ); + + grunt.registerTask( 'test', [ 'jsonlint', 'banana', 'jshint' ] ); + grunt.registerTask( 'default', 'test' ); +}; |