grunt-contrib-hogan
Advanced tools
Comparing version 0.0.2 to 0.1.0
{ | ||
"name": "grunt-contrib-hogan", | ||
"description": "Hogan template compiler task for grunt.", | ||
"version": "0.0.2", | ||
"homepage": "https://github.com/vanetix/grunt-contrib-hogan", | ||
"author": { | ||
"name": "Matt McFarland", | ||
"email": "matmcfarland@gmail.com" | ||
}, | ||
"version": "0.1.0", | ||
"author": "vanetix <matmcfarland@gmail.com>", | ||
"main": "Gruntfile.js", | ||
"bin": "bin/grunt-contrib-hogan", | ||
"repository": { | ||
@@ -14,16 +12,2 @@ "type": "git", | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/vanetix/grunt-contrib-hogan/issues" | ||
}, | ||
"licenses": [ | ||
{ | ||
"type": "MIT", | ||
"url": "https://github.com/vanetix/grunt-contrib-hogan/blob/master/LICENSE-MIT" | ||
} | ||
], | ||
"main": "grunt.js", | ||
"bin": "bin/grunt-contrib-hogan", | ||
"engines": { | ||
"node": "*" | ||
}, | ||
"scripts": { | ||
@@ -33,13 +17,21 @@ "test": "grunt" | ||
"devDependencies": { | ||
"grunt": "0.3.x" | ||
"grunt": "~0.4.0", | ||
"grunt-contrib-clean": "~0.4.0", | ||
"grunt-contrib-jshint": "~0.1.1", | ||
"grunt-contrib-nodeunit": "~0.1.2" | ||
}, | ||
"dependencies": { | ||
"grunt-contrib-clean": "0.3.x", | ||
"grunt-lib-contrib": "0.4.x", | ||
"hogan.js": "2.0.x" | ||
"hogan.js": "~2.0.0", | ||
"grunt-lib-contrib": "~0.5.2" | ||
}, | ||
"peerDependencies": { | ||
"grunt": "~0.4.0" | ||
}, | ||
"keywords": [ | ||
"hogan", | ||
"grunt-contrib-hogan" | ||
] | ||
"gruntplugin" | ||
], | ||
"engines": { | ||
"node": "*" | ||
} | ||
} |
@@ -19,11 +19,6 @@ /* | ||
grunt.registerMultiTask('hogan', 'Compile hogan templates.', function() { | ||
var src, | ||
nsInfo, | ||
options, | ||
compiled, | ||
srcFiles, | ||
filename, | ||
output = []; | ||
var src, nsInfo, options, compiled, | ||
srcFiles, filename, output = []; | ||
options = helpers.options(this, { | ||
options = this.options({ | ||
namespace: "Templates", | ||
@@ -38,12 +33,8 @@ templateOptions: { asString: true }, | ||
// Shim for processing file args prior to grunt v0.4 | ||
this.files = this.files || helpers.normalizeMultiTaskFiles(this.data, this.target); | ||
this.files.forEach(function(files) { | ||
srcFiles = grunt.file.expandFiles(files.src); | ||
srcFiles.forEach(function(file) { | ||
files.src.forEach(function(file) { | ||
src = grunt.file.read(file); | ||
/** | ||
* Log the error to the console if an error is throw | ||
* Log the error to the console if an error is thrown | ||
* while compiling template | ||
@@ -50,0 +41,0 @@ */ |
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
17
12362
4
207
2
2
103
+ Addedabbrev@1.1.1(transitive)
+ Addedargparse@0.1.16(transitive)
+ Addedasync@0.1.22(transitive)
+ Addedcoffee-script@1.3.3(transitive)
+ Addedcolors@0.6.2(transitive)
+ Addeddateformat@1.0.2-1.2.3(transitive)
+ Addedesprima@1.0.4(transitive)
+ Addedeventemitter2@0.4.14(transitive)
+ Addedexit@0.1.2(transitive)
+ Addedfindup-sync@0.1.3(transitive)
+ Addedgetobject@0.1.0(transitive)
+ Addedglob@3.1.213.2.11(transitive)
+ Addedgraceful-fs@1.2.3(transitive)
+ Addedgrunt@0.4.5(transitive)
+ Addedgrunt-legacy-log@0.1.3(transitive)
+ Addedgrunt-legacy-log-utils@0.1.1(transitive)
+ Addedgrunt-legacy-util@0.2.0(transitive)
+ Addedgrunt-lib-contrib@0.5.3(transitive)
+ Addedhooker@0.2.3(transitive)
+ Addediconv-lite@0.2.11(transitive)
+ Addedinherits@1.0.22.0.4(transitive)
+ Addedjs-yaml@2.0.5(transitive)
+ Addedlodash@0.9.22.4.2(transitive)
+ Addedlru-cache@2.7.3(transitive)
+ Addedminimatch@0.2.140.3.0(transitive)
+ Addednopt@1.0.10(transitive)
+ Addedrimraf@2.2.8(transitive)
+ Addedsigmund@1.0.1(transitive)
+ Addedunderscore@1.7.0(transitive)
+ Addedunderscore.string@2.2.12.3.32.4.0(transitive)
+ Addedwhich@1.0.9(transitive)
+ Addedzlib-browserify@0.0.1(transitive)
- Removedgrunt-contrib-clean@0.3.x
- Removedgraceful-fs@1.1.14(transitive)
- Removedgrunt-contrib-clean@0.3.2(transitive)
- Removedgrunt-lib-contrib@0.3.10.4.0(transitive)
- Removedrimraf@2.0.3(transitive)
Updatedgrunt-lib-contrib@~0.5.2
Updatedhogan.js@~2.0.0