New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

metalsmith

Package Overview
Dependencies
Maintainers
1
Versions
50
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

metalsmith - npm Package Compare versions

Comparing version 0.0.0 to 0.0.1

test/fixtures/cli-config/destination/index.md

31

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc