UNPKG

base-domain

Version:

simple module to help build Domain-Driven Design

58 lines (44 loc) 1.45 kB
currentVersion = 'v1.7.2' module.exports = (grunt) -> grunt.config.init 'mocha-chai-sinon': spec: src: [ 'spec/lib/*.coffee' ] options: ui: 'bdd' reporter: 'spec' require: 'coffee-script/register' single: src: [ grunt.option('file') ? 'spec/base-repository.coffee' ] options: ui: 'bdd' reporter: 'spec' require: 'coffee-script/register' yuidoc: options: paths: ['src'] syntaxtype: 'coffee' extension: '.coffee' master: options: outdir: 'doc' coffee: dist: expand: true cwd: 'src/lib' src: ['**/*.coffee'] dest: 'dist/lib/' ext: '.js' extDot: 'first' options: bare: true grunt.loadNpmTasks 'grunt-mocha-chai-sinon' grunt.loadNpmTasks 'grunt-contrib-yuidoc' grunt.loadNpmTasks 'grunt-contrib-coffee' grunt.registerTask 'default', 'mocha-chai-sinon:spec' grunt.registerTask 'single', 'mocha-chai-sinon:single' grunt.registerTask 'build', ['coffee:dist']