pxpay2
Version:
A node module for using the Payment Express PXPay 2.0 service for payment processing including response parsing
25 lines (22 loc) • 579 B
JavaScript
module.exports = function(grunt) {
// Project configuration.
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
mochacli: {
options: {
reporter: 'spec',
bail: true
},
all: ['tests/*.js']
},
watch: {
files: ['**/*'],
tasks: ['test']
}
});
// Load the plugin that provides the "uglify" task.
grunt.loadNpmTasks('grunt-mocha-cli');
grunt.loadNpmTasks('grunt-contrib-watch');
// Default task(s).
grunt.registerTask('test', ['mochacli']);
};