metalsmith
Advanced tools
Comparing version 0.0.0 to 0.0.1
{ | ||
"name": "metalsmith", | ||
"description": "An extremely simple, pluggable static site generator.", | ||
"repository": "git://github.com/segmentio/metalsmith.git", | ||
"version": "0.0.0", | ||
"version": "0.0.1", | ||
"license": "MIT", | ||
"description": "An extremely simple, pluggable static site generator.", | ||
"keywords": [ | ||
"static", | ||
"file", | ||
"site", | ||
"website", | ||
"blog", | ||
"generator", | ||
"markdown", | ||
"jekyll", | ||
"wintersmith", | ||
"blacksmith" | ||
], | ||
"main": "lib/index.js", | ||
"bin": { | ||
"metalsmith": "bin/metalsmith" | ||
}, | ||
"scripts": { | ||
"test": "make test" | ||
}, | ||
"dependencies": { | ||
"front-matter": "~0.2.0", | ||
"consolidate": "~0.10.0", | ||
"ware": "~0.2.1", | ||
@@ -15,5 +32,3 @@ "recursive-readdir": "0.0.2", | ||
"fs-extra": "~0.8.1", | ||
"defaults": "~1.0.0", | ||
"marked": "~0.3.1", | ||
"swig": "~1.3.2" | ||
"defaults": "~1.0.0" | ||
}, | ||
@@ -23,4 +38,6 @@ "devDependencies": { | ||
"rimraf": "~2.2.6", | ||
"fs-readdir-recursive": "0.0.1" | ||
"fs-readdir-recursive": "0.0.1", | ||
"metalsmith-templates": "0.0.1", | ||
"swig": "~1.3.2" | ||
} | ||
} |
@@ -141,17 +141,41 @@ | ||
// it('should grab config from alternate json', function(done){ | ||
// exec('cd test/fixtures/cli-config && ' + bin + ' -c config.json', function(err, stdout){ | ||
// if (err) return done(err); | ||
// equal('cli-config/destination', 'cli-config/expected'); | ||
// done(); | ||
// }); | ||
// }); | ||
it('should grab config from alternate json', function(done){ | ||
exec('cd test/fixtures/cli-config && ' + bin + ' -c config.json', function(err, stdout){ | ||
if (err) return done(err); | ||
equal('cli-config/destination', 'cli-config/expected'); | ||
done(); | ||
}); | ||
}); | ||
// it('should require a plugin', function(done){ | ||
// exec('cd test/fixtures/cli-templates && ' + bin, function(err, stdout){ | ||
// if (err) return done(err); | ||
// equal('cli-templates/build', 'cli-templates/expected'); | ||
// done(); | ||
// }); | ||
// }); | ||
it('should respect --source flag', function(done){ | ||
exec('cd test/fixtures/cli-source && ' + bin + ' --source overriden', function(err, stdout){ | ||
if (err) return done(err); | ||
equal('cli-source/destination', 'cli-source/expected'); | ||
done(); | ||
}); | ||
}); | ||
it('should respect --destination flag', function(done){ | ||
exec('cd test/fixtures/cli-destination && ' + bin + ' --destination overriden', function(err, stdout){ | ||
if (err) return done(err); | ||
equal('cli-destination/overriden', 'cli-destination/expected'); | ||
done(); | ||
}); | ||
}); | ||
it('should require a plugin', function(done){ | ||
exec('cd test/fixtures/cli-templates && ' + bin, function(err, stdout){ | ||
if (err) return done(err); | ||
equal('cli-templates/build', 'cli-templates/expected'); | ||
done(); | ||
}); | ||
}); | ||
it('should add global metadata', function(done){ | ||
exec('cd test/fixtures/cli-metadata && ' + bin, function(err, stdout){ | ||
if (err) return done(err); | ||
equal('cli-metadata/build', 'cli-metadata/expected'); | ||
done(); | ||
}); | ||
}); | ||
}); | ||
@@ -158,0 +182,0 @@ }); |
Sorry, the diff of this file is not supported yet
6
51
15411
5
388
- Removedconsolidate@~0.10.0
- Removedmarked@~0.3.1
- Removedswig@~1.3.2
- Removedamdefine@1.0.1(transitive)
- Removedcamelcase@1.2.1(transitive)
- Removedconsolidate@0.10.0(transitive)
- Removeddecamelize@1.2.0(transitive)
- Removedmarked@0.3.19(transitive)
- Removedminimist@0.0.10(transitive)
- Removedoptimist@0.6.1(transitive)
- Removedsource-map@0.1.34(transitive)
- Removedswig@1.3.2(transitive)
- Removeduglify-js@2.4.24(transitive)
- Removeduglify-to-browserify@1.0.2(transitive)
- Removedwindow-size@0.1.0(transitive)
- Removedwordwrap@0.0.20.0.3(transitive)
- Removedyargs@3.5.4(transitive)