diff --git a/.gitignore b/.gitignore index 98b092a9..4bf4869f 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ *~ *.kate-swp .*.swp +node_modules/ diff --git a/Gruntfile.js b/Gruntfile.js new file mode 100644 index 00000000..db51cc94 --- /dev/null +++ b/Gruntfile.js @@ -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' ); +}; diff --git a/package.json b/package.json new file mode 100644 index 00000000..f8b086d9 --- /dev/null +++ b/package.json @@ -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" + } +}