UNPKG

ticketvr

Version:

check your ticketVR balance in the command line - Brazilian tickets only

83 lines (78 loc) 2.17 kB
module.exports = function(grunt) { 'use strict'; grunt.initConfig({ pkg: grunt.file.readJSON('package.json'), jshint: { options: { curly : true, eqeqeq : true, immed : true, latedef: true, newcap : true, noarg : true, sub : true, undef : true, unused : true, boss : true, eqnull : true, browser: true, globals: { module : true, console : true, require : true, process : true, it : true, describe: true } }, gruntfile: { src: 'Gruntfile.js' }, main: { src: 'lib/ticketVR.js' }, test: { src: 'test/test.js' } }, watch: { gruntfile: { files: '<%= jshint.gruntfile.src %>', tasks: ['jshint:gruntfile'] }, coffee: { files: ['lib/*.coffee', 'test/*.coffee'], tasks: ['coffee', 'jshint:main', 'concat'] } }, coffee: { compile: { options: { sourceMap: true }, files: { 'lib/ticketVR.js': ['lib/*.coffee'] } }, test: { files: { 'test/test.js': ['test/*.coffee'] } } }, concat: { options : { banner: '#!/usr/bin/env node \n\n' }, dist: { src : 'lib/ticketVR.js', dest: 'bin/ticketVR.js' } } }); grunt.loadNpmTasks('grunt-contrib-jshint'); grunt.loadNpmTasks('grunt-contrib-watch'); grunt.loadNpmTasks('grunt-contrib-coffee'); grunt.loadNpmTasks('grunt-contrib-concat'); grunt.registerTask('default', ['coffee', 'jshint', 'concat']); };