Lobashov_Ivan_PIBD-21_IP/Lab2/node_modules/memorystream/Gruntfile.js
2024-01-10 22:39:31 +04:00

23 lines
548 B
JavaScript

module.exports = function(grunt) {
grunt.loadNpmTasks('grunt-contrib-jshint');
grunt.loadNpmTasks('grunt-mocha-test');
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
jshint: {
options: {
node: true
},
main : ["index.js"]
},
mochaTest: {
options: {
reporter: 'spec'
},
src: ['test/*.test.js']
}
});
grunt.registerTask('default', ['jshint:main', 'mochaTest']);
};