grunt-jasmine-node-coffee

Grunt task for running jasmine-node with coffeescript support. Based off of grunt-jasmine-node by Omar Gonzalez (s9tpepper).

Usage no npm install needed!

<script type="module">
  import gruntJasmineNodeCoffee from 'https://cdn.skypack.dev/grunt-jasmine-node-coffee';
</script>

README

grunt-jasmine-node-coffee

A grunt.js task to run your jasmine feature suite using jasmine-node withf coffeescript support.

Getting Started

Install this grunt plugin next to your project's grunt.js gruntfile with: npm install grunt-jasmine-node

Then add this line to your project's Gruntfile.js grunt file:

grunt.initConfig({
  jasmine_node: {
    forceExit: true
    // Default is already spec so not necessary
    specNameMatcher: 'spec',
    projectRoot: 'scripts/folder',
    // This tells jasmine-node to add .coffee files
    extensions: 'coffee'
  }
});

grunt.loadNpmTasks('grunt-jasmine-node-coffee');

grunt.registerTask('default', 'jasmine_node');

Bugs

Help us squash them by submitting an issue to the author that describes how you encountered it; please be as specific as possible including operating system, node, grunt, and grunt-jasmine-node-coffee versions. This version of the software strictly deals with coffeescript support so please stay on topic.

Release History

see GitHub Repository.

License

Copyright (c) 2014 "beautifulcoder" Camilo Reyes & contributors. Based on grunt-jasmine-node Copyright (c) 2012 "s9tpepper" Omar Gonzalez & contributors. Licensed under the MIT license.