PIbd-22_Kaznacheeva.E.K_Int.../lab2/node_modules/memorystream/Gruntfile.js

23 lines
548 B
JavaScript
Raw Permalink Normal View History

2023-11-24 14:53:57 +04:00
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']);
};