james-coffee
Advanced tools
Comparing version 0.0.1 to 0.0.2
19
index.js
@@ -1,16 +0,15 @@ | ||
// Generated by CoffeeScript 1.4.0 | ||
(function() { | ||
var coffee; | ||
var coffee, james; | ||
james = require('james'); | ||
coffee = require('coffee-script'); | ||
module.exports = function(files) { | ||
return files.map(function(file) { | ||
return { | ||
content: coffee.compile(file.content), | ||
name: file.name.replace(/.coffee$/, '.js') | ||
}; | ||
}); | ||
}; | ||
module.exports = james.transformer(function(file) { | ||
return { | ||
content: coffee.compile(file.content), | ||
name: file.name.replace(/.coffee$/, '.js') | ||
}; | ||
}); | ||
}).call(this); |
{ | ||
"name": "james-coffee", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"description": "James plugin to compile CoffeeScript files.", | ||
@@ -20,4 +20,5 @@ "main": "index.js", | ||
"dependencies": { | ||
"coffee-script": "~1.6.1" | ||
"coffee-script": "~1.6.1", | ||
"james": "0.0.6" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
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
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
1208
2
11
+ Addedjames@0.0.6
+ Addedbaconjs@0.1.10(transitive)
+ Addedfileset@0.1.8(transitive)
+ Addedgaze@0.3.4(transitive)
+ Addedglob@3.1.21(transitive)
+ Addedgraceful-fs@1.2.3(transitive)
+ Addedinherits@1.0.2(transitive)
+ Addedjames@0.0.6(transitive)
+ Addedlru-cache@2.7.3(transitive)
+ Addedminimatch@0.2.14(transitive)
+ Addedmkdirp@0.3.5(transitive)
+ Addedq@0.9.7(transitive)
+ Addedsigmund@1.0.1(transitive)