grunt-contrib-coffee
Advanced tools
Comparing version 0.10.0 to 0.10.1
{ | ||
"name": "grunt-contrib-coffee", | ||
"description": "Compile CoffeeScript files to JavaScript.", | ||
"version": "0.10.0", | ||
"version": "0.10.1", | ||
"homepage": "https://github.com/gruntjs/grunt-contrib-coffee", | ||
@@ -6,0 +6,0 @@ "author": { |
@@ -1,2 +0,2 @@ | ||
# grunt-contrib-coffee v0.9.0 [![Build Status](https://travis-ci.org/gruntjs/grunt-contrib-coffee.png?branch=master)](https://travis-ci.org/gruntjs/grunt-contrib-coffee) | ||
# grunt-contrib-coffee v0.10.1 [![Build Status](https://travis-ci.org/gruntjs/grunt-contrib-coffee.png?branch=master)](https://travis-ci.org/gruntjs/grunt-contrib-coffee) | ||
@@ -60,2 +60,8 @@ > Compile CoffeeScript files to JavaScript. | ||
#### joinExt | ||
Type: `String` | ||
Default: '.src.coffee' | ||
Resulting extension when joining multiple CoffeeScript files. | ||
### Usage Examples | ||
@@ -124,3 +130,3 @@ | ||
For more examples on how to use the `expand` API to manipulate the default dynamic path construction in the `glob_to_multiple` examples, see "Building the files object dynamically" in the grunt wiki entry [Configuring Tasks](http://gruntjs.com/configuring-tasks). | ||
For more examples on how to use the `expand` API to manipulate the default dynamic path construction in the `glob_to_multiple` examples, see "[Building the files object dynamically](http://gruntjs.com/configuring-tasks#building-the-files-object-dynamically)" in the grunt wiki entry [Configuring Tasks](http://gruntjs.com/configuring-tasks). | ||
@@ -158,2 +164,2 @@ | ||
*This file was generated on Fri Feb 07 2014 09:28:02.* | ||
*This file was generated on Mon Feb 17 2014 15:32:05.* |
@@ -21,3 +21,4 @@ /* | ||
sourceMap: false, | ||
separator: grunt.util.linefeed, | ||
joinExt: '.src.coffee', | ||
separator: grunt.util.linefeed | ||
}); | ||
@@ -84,3 +85,3 @@ | ||
if (files.length > 1) { | ||
mapOptions = createOptionsForJoin(files, paths, options.separator); | ||
mapOptions = createOptionsForJoin(files, paths, options.separator, options.joinExt); | ||
} else { | ||
@@ -114,5 +115,5 @@ mapOptions = createOptionsForFile(files[0], paths); | ||
var createOptionsForJoin = function(files, paths, separator) { | ||
var createOptionsForJoin = function (files, paths, separator, joinExt) { | ||
var code = concatFiles(files, separator); | ||
var targetFileName = paths.destName + '.src.coffee'; | ||
var targetFileName = paths.destName + joinExt; | ||
grunt.file.write(paths.destDir + targetFileName, code); | ||
@@ -119,0 +120,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
16009
206
163