UNPKG

bot18

Version:

A high-frequency cryptocurrency trading bot by Zenbot creator @carlos8f

56 lines (50 loc) 1.16 kB
'use strict'; module.exports = function(grunt) { // Project configuration. grunt.initConfig({ nodeunit: { files: ['test/**/*_test.js'], }, jshint: { options: { jshintrc: '.jshintrc' }, gruntfile: { src: 'Gruntfile.js' }, bin: { src: ['bin/**/*'] }, lib: { src: ['lib/**/*.js'] }, test: { src: ['test/**/*.js'] }, }, watch: { gruntfile: { files: '<%= jshint.gruntfile.src %>', tasks: ['jshint:gruntfile'] }, bin: { files: '<%= jshint.bin.src %>', tasks: ['jshint:bin', 'nodeunit'] }, lib: { files: '<%= jshint.lib.src %>', tasks: ['jshint:lib', 'nodeunit'] }, test: { files: '<%= jshint.test.src %>', tasks: ['jshint:test', 'nodeunit'] }, }, }); // These plugins provide necessary tasks. grunt.loadNpmTasks('grunt-contrib-nodeunit'); grunt.loadNpmTasks('grunt-contrib-jshint'); grunt.loadNpmTasks('grunt-contrib-watch'); // Default task. grunt.registerTask('default', ['jshint', 'nodeunit']); };