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/MixedNamespaceSearchSuggestions/Gruntfile.js |
first commit
Diffstat (limited to 'www/wiki/extensions/MixedNamespaceSearchSuggestions/Gruntfile.js')
-rw-r--r-- | www/wiki/extensions/MixedNamespaceSearchSuggestions/Gruntfile.js | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/www/wiki/extensions/MixedNamespaceSearchSuggestions/Gruntfile.js b/www/wiki/extensions/MixedNamespaceSearchSuggestions/Gruntfile.js new file mode 100644 index 00000000..e7e4b543 --- /dev/null +++ b/www/wiki/extensions/MixedNamespaceSearchSuggestions/Gruntfile.js @@ -0,0 +1,32 @@ +/*jshint node:true */ +module.exports = function ( grunt ) { + grunt.loadNpmTasks( 'grunt-contrib-jshint' ); + grunt.loadNpmTasks( 'grunt-jsonlint' ); + grunt.loadNpmTasks( 'grunt-banana-checker' ); + + grunt.initConfig( { + jshint: { + options: { + jshintrc: true + }, + all: [ + '**/*.js', + '!node_modules/**', + '!vendor/**' + ] + }, + banana: { + all: 'i18n/' + }, + jsonlint: { + all: [ + '**/*.json', + '!node_modules/**', + '!vendor/**' + ] + } + } ); + + grunt.registerTask( 'test', [ 'jshint', 'jsonlint', 'banana' ] ); + grunt.registerTask( 'default', 'test' ); +}; |