Comparing version 0.0.2 to 0.0.3
{ | ||
"name": "asparagus", | ||
"version": "0.0.2", | ||
"description": "Flexible template compiler", | ||
"version": "0.0.3", | ||
"description": "Flexible template compiler. Compile all or some of your templates, even those in parallel sub-folders, to a location that may or may not yet exist.", | ||
"keywords": [ | ||
@@ -14,4 +14,16 @@ "jade", | ||
], | ||
"author": "Joseph Chapman", | ||
"email": "joe@creatify.com", | ||
"author": { | ||
"name": "Joseph Chapman", | ||
"email": "joe@creatify-limited.com", | ||
"url": "http://creatify-limited.com" | ||
}, | ||
"readmeFilename": "http://joechapman.github.io/asparagus/", | ||
"homepage": "http://joechapman.github.io/asparagus/", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/JoeChapman/asparagus" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/JoeChapman/asparagus/issues" | ||
}, | ||
"license": "MIT", | ||
@@ -39,4 +51,5 @@ "bin": { | ||
"sinon-chai": "2.5.0", | ||
"express": "4.9.0" | ||
"express": "4.9.0", | ||
"bluebird": "2.3.2" | ||
} | ||
} |
asparagus | ||
========= | ||
Prefer your veg in some colour? [asparagus pages](http://joechapman.github.io/asparagus/) | ||
Template compile tool for NodeJS. | ||
@@ -36,3 +38,3 @@ Compile all or some of your templates, even those in parallel sub-folders, to a location that may or may not yet exist. | ||
exclusive: 'includes' | ||
}); | ||
``` | ||
@@ -65,3 +67,2 @@ | ||
### Options | ||
@@ -68,0 +69,0 @@ ``` |
@@ -30,4 +30,4 @@ 'use strict'; | ||
Compiler.create.getCall(0).should.have.been.calledWith({ | ||
jsPath: '/Users/josephchapman/Projects/asparagus/test/dummySource/t1.js', | ||
tmplPath: '/Users/josephchapman/Projects/asparagus/test/dummySource/t1.jade' | ||
jsPath: __dirname + '/dummySource/t1.js', | ||
tmplPath: __dirname + '/dummySource/t1.jade' | ||
}, {}); | ||
@@ -48,4 +48,4 @@ | ||
Compiler.create.getCall(0).should.have.been.calledWith({ | ||
jsPath: '/Users/josephchapman/Projects/asparagus/test/dummySource/d2/sub/subtfile2.js', | ||
tmplPath: '/Users/josephchapman/Projects/asparagus/test/dummySource/d2/sub/subtfile2.jade' | ||
jsPath: __dirname + '/dummySource/d2/sub/subtfile2.js', | ||
tmplPath: __dirname + '/dummySource/d2/sub/subtfile2.jade' | ||
}, {}); | ||
@@ -66,29 +66,29 @@ | ||
Compiler.create.getCall(0).should.have.been.calledWith({ | ||
jsPath: '/Users/josephchapman/Projects/asparagus/test/dummySource/t1.js', | ||
tmplPath: '/Users/josephchapman/Projects/asparagus/test/dummySource/t1.jade' | ||
jsPath: __dirname + '/dummySource/t1.js', | ||
tmplPath: __dirname + '/dummySource/t1.jade' | ||
}, {}); | ||
Compiler.create.getCall(1).should.have.been.calledWith({ | ||
jsPath: '/Users/josephchapman/Projects/asparagus/test/dummySource/t2.js', | ||
tmplPath: '/Users/josephchapman/Projects/asparagus/test/dummySource/t2.jade' | ||
jsPath: __dirname + '/dummySource/t2.js', | ||
tmplPath: __dirname + '/dummySource/t2.jade' | ||
}, {}); | ||
Compiler.create.getCall(2).should.have.been.calledWith({ | ||
jsPath: '/Users/josephchapman/Projects/asparagus/test/dummySource/d1/d1.js', | ||
tmplPath: '/Users/josephchapman/Projects/asparagus/test/dummySource/d1/d1.jade', | ||
jsPath: __dirname + '/dummySource/d1/d1.js', | ||
tmplPath: __dirname + '/dummySource/d1/d1.jade', | ||
}, {}); | ||
Compiler.create.getCall(3).should.have.been.calledWith({ | ||
jsPath: '/Users/josephchapman/Projects/asparagus/test/dummySource/d2/d2.js', | ||
tmplPath: '/Users/josephchapman/Projects/asparagus/test/dummySource/d2/d2.jade' | ||
jsPath: __dirname + '/dummySource/d2/d2.js', | ||
tmplPath: __dirname + '/dummySource/d2/d2.jade' | ||
}, {}); | ||
Compiler.create.getCall(4).should.have.been.calledWith({ | ||
jsPath: '/Users/josephchapman/Projects/asparagus/test/dummySource/d1/sub/subtfile1.js', | ||
tmplPath: '/Users/josephchapman/Projects/asparagus/test/dummySource/d1/sub/subtfile1.jade', | ||
jsPath: __dirname + '/dummySource/d1/sub/subtfile1.js', | ||
tmplPath: __dirname + '/dummySource/d1/sub/subtfile1.jade', | ||
}, {}); | ||
Compiler.create.getCall(5).should.have.been.calledWith({ | ||
jsPath: '/Users/josephchapman/Projects/asparagus/test/dummySource/d2/sub/subtfile2.js', | ||
tmplPath: '/Users/josephchapman/Projects/asparagus/test/dummySource/d2/sub/subtfile2.jade' | ||
jsPath: __dirname + '/dummySource/d2/sub/subtfile2.js', | ||
tmplPath: __dirname + '/dummySource/d2/sub/subtfile2.jade' | ||
}, {}); | ||
@@ -110,9 +110,9 @@ | ||
Compiler.create.getCall(0).should.have.been.calledWith({ | ||
jsPath: '/Users/josephchapman/Projects/asparagus/test/dummySource/d1/sub/subtfile1.js', | ||
tmplPath: '/Users/josephchapman/Projects/asparagus/test/dummySource/d1/sub/subtfile1.jade', | ||
jsPath: __dirname + '/dummySource/d1/sub/subtfile1.js', | ||
tmplPath: __dirname + '/dummySource/d1/sub/subtfile1.jade', | ||
}, { exclusive: 'sub' }); | ||
Compiler.create.getCall(1).should.have.been.calledWith({ | ||
jsPath: '/Users/josephchapman/Projects/asparagus/test/dummySource/d2/sub/subtfile2.js', | ||
tmplPath: '/Users/josephchapman/Projects/asparagus/test/dummySource/d2/sub/subtfile2.jade' | ||
jsPath: __dirname + '/dummySource/d2/sub/subtfile2.js', | ||
tmplPath: __dirname + '/dummySource/d2/sub/subtfile2.jade' | ||
}, { exclusive: 'sub' }); | ||
@@ -119,0 +119,0 @@ |
@@ -157,4 +157,4 @@ 'use strict'; | ||
var paths = { | ||
jsPath: '/Users/josephchapman/Projects/asparagus/test/dummyDestination/t1.js', | ||
tmplPath: '/Users/josephchapman/Projects/asparagus/test/dummySource/t1.jade' | ||
jsPath: __dirname + '/../dummyDestination/t1.js', | ||
tmplPath: __dirname + '/../dummySource/t1.jade' | ||
}; | ||
@@ -161,0 +161,0 @@ |
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
1
1
129
3
35693
9