UNPKG

2ch

Version:

A JavaScript library for comfortable 2ch watching.

36 lines (30 loc) 738 B
module.exports = (grunt) -> grunt.initConfig pkg: '<json:package.json>' coffee: lib: expand: true cwd: 'src/' src: '**/*.coffee' dest: 'lib/' ext: '.js' mochaTest: lib: src: 'test/**/*_test.coffee' options: globals: ['expect'] timeout: 6000 ui: 'bdd' reporter: 'spec' watch: files: [ 'Gruntfile.coffee' 'src/**/*.coffee' 'test/**/*.coffee' ] tasks: 'test' grunt.loadNpmTasks 'grunt-mocha-test' grunt.loadNpmTasks 'grunt-contrib-coffee' grunt.loadNpmTasks 'grunt-contrib-watch' grunt.registerTask 'test', 'mochaTest' grunt.registerTask 'default', ['test']