UNPKG

webseeded-torrent-generator

Version:

Generate webseeded torrent files from urls to files.

34 lines (33 loc) 824 B
'use strict'; var spawn = require('child_process').spawn; module.exports = function (grunt) { // load all grunt tasks require('matchdep').filterDev('grunt-*').forEach(grunt.loadNpmTasks); grunt.initConfig({ jshint: { options: { jshintrc: '.jshintrc' }, all: [ 'lib/*.js', 'test/*.js' ] }, mochaTest: { files: [ 'test/**/*.js' ] }, mochaTestConfig: { options: { reporter: 'spec' } }, bunyan: { level: 'trace', output: 'short' } }); grunt.registerTask('test', ['bunyan', 'jshint', 'mochaTest']); grunt.registerTask('default', 'test'); };