diff options
author | Yaco <franco@reevo.org> | 2020-06-04 11:01:00 -0300 |
---|---|---|
committer | Yaco <franco@reevo.org> | 2020-06-04 11:01:00 -0300 |
commit | fc7369835258467bf97eb64f184b93691f9a9fd5 (patch) | |
tree | daabd60089d2dd76d9f5fb416b005fbe159c799d /www/wiki/extensions/Description2/Gruntfile.js |
first commit
Diffstat (limited to 'www/wiki/extensions/Description2/Gruntfile.js')
-rw-r--r-- | www/wiki/extensions/Description2/Gruntfile.js | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/www/wiki/extensions/Description2/Gruntfile.js b/www/wiki/extensions/Description2/Gruntfile.js new file mode 100644 index 00000000..7756e75d --- /dev/null +++ b/www/wiki/extensions/Description2/Gruntfile.js @@ -0,0 +1,20 @@ +/*jshint node:true */ +module.exports = function ( grunt ) { + grunt.loadNpmTasks( 'grunt-jsonlint' ); + grunt.loadNpmTasks( 'grunt-banana-checker' ); + + grunt.initConfig( { + banana: { + all: 'i18n/' + }, + jsonlint: { + all: [ + '**/*.json', + '!node_modules/**' + ] + } + } ); + + grunt.registerTask( 'test', [ 'jsonlint', 'banana' ] ); + grunt.registerTask( 'default', 'test' ); +}; |