Socket
Socket
Sign inDemoInstall

punch

Package Overview
Dependencies
Maintainers
1
Versions
89
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

punch - npm Package Compare versions

Comparing version 0.1.8 to 0.1.9

7

lib/cli.js

@@ -50,7 +50,7 @@ var path = require('path');

if(args[0].length > 1){
if(args.length && args[0].length > 1){
// site name given
fs.mkdir(args[0], function(err){
if(!err) {
console.log("Created " + args[0] + "/");
console.log("Setting up Punch in " + args[0] + ".");
setup_site(args[0]);

@@ -62,2 +62,3 @@ }

} else {
console.log("Setting up Punch in current directory.")
setup_site(".");

@@ -121,3 +122,3 @@ }

console.log(' generate - generate HTML pages. (shortcut `punch g`)');
console.log(' server - start the development server. (shortcut `punch s`)');
console.log(' server - start the development server. (shortcut `punch s [PORT]`)');
console.log(' help - show help. (shortcut `punch h`)\n');

@@ -124,0 +125,0 @@ console.log('For more information about Punch visit: http://laktek.github.com/punch');

@@ -5,3 +5,3 @@ {

, "keywords": ["static", "sites", "mustache", "json", "markdown"]
, "version": "0.1.8"
, "version": "0.1.9"
, "homepage": "https://github.com/laktek/punch"

@@ -8,0 +8,0 @@ , "author": "Lakshan Perera <lakshan@web2media.net> (http://laktek.com)"

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