UNPKG

cloudfoundry-services

Version:

A helper library to work with bound service in cloudfoundry

29 lines (25 loc) 735 B
module.exports = function(grunt) { grunt.initConfig({ pkg: grunt.file.readJSON('package.json'), jshint: { // define the files to lint files: ['gruntfile.js', 'src/**/*.js', 'spec/**/*.js'], // configure JSHint (documented at http://www.jshint.com/docs/) options: { // more options here if you want to override JSHint defaults globals: { jQuery: true, console: true, module: true } } }, jasmine_node: { specNameMatcher: 'spec', projectRoot: './spec/' } }); grunt.loadNpmTasks('grunt-contrib-jshint'); grunt.loadNpmTasks('grunt-jasmine-node'); grunt.registerTask('default', ['jshint', 'jasmine_node']); };