test: Configuring banana-checker for i18n messages

Change-Id: I473d1589ef8df5e30f690ef139c1f66869206a3e
This commit is contained in:
Kunal Mehta 2015-04-20 20:19:20 -07:00
parent 2215925ae9
commit 48e700ffee
3 changed files with 33 additions and 0 deletions

1
.gitignore vendored
View file

@ -2,3 +2,4 @@
*~ *~
*.kate-swp *.kate-swp
.*.swp .*.swp
node_modules/

18
Gruntfile.js Normal file
View file

@ -0,0 +1,18 @@
/*!
* Grunt file
*
* @package CategoryTree
*/
/*jshint node:true */
module.exports = function ( grunt ) {
grunt.loadNpmTasks( 'grunt-banana-checker' );
grunt.initConfig( {
banana: {
all: ['i18n/']
}
} );
grunt.registerTask( 'test', [ 'banana' ] );
grunt.registerTask( 'default', 'test' );
};

14
package.json Normal file
View file

@ -0,0 +1,14 @@
{
"name": "categorytree",
"version": "0.0.0",
"private": true,
"description": "Build tools for the CategoryTree extension.",
"scripts": {
"test": "grunt test"
},
"devDependencies": {
"grunt": "0.4.5",
"grunt-cli": "0.1.13",
"grunt-banana-checker": "0.2.1"
}
}