From 4be267333abece962b96eb2a377088aa34119d86 Mon Sep 17 00:00:00 2001 From: Andrew Worcester Date: Mon, 28 Nov 2016 09:15:59 -0500 Subject: [PATCH] restructure source files into src directory, update to node-plop v0.5.3 --- package.json | 8 ++++---- {mod => src}/console-out.js | 0 plop.js => src/plop.js | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) rename {mod => src}/console-out.js (100%) rename plop.js => src/plop.js (96%) diff --git a/package.json b/package.json index 1ff997dc..b3e3427f 100644 --- a/package.json +++ b/package.json @@ -1,8 +1,8 @@ { "name": "plop", - "version": "1.7.1", + "version": "1.7.2", "description": "Micro-generator framework that makes it easy for an entire team to create files with a level of uniformity", - "main": "plop.js", + "main": "./src/plop.js", "repository": { "type": "git", "url": "https://github.com/amwmedia/plop.git" @@ -32,7 +32,7 @@ "interpret": "^1.0.0", "liftoff": "^2.2.0", "minimist": "^1.2.0", - "node-plop": "~0.5.2", + "node-plop": "~0.5.3", "v8flags": "^2.0.10" }, "engines": { @@ -40,6 +40,6 @@ }, "preferGlobal": "true", "bin": { - "plop": "plop.js" + "plop": "./src/plop.js" } } diff --git a/mod/console-out.js b/src/console-out.js similarity index 100% rename from mod/console-out.js rename to src/console-out.js diff --git a/plop.js b/src/plop.js similarity index 96% rename from plop.js rename to src/plop.js index c3913756..063c5a02 100755 --- a/plop.js +++ b/src/plop.js @@ -9,8 +9,8 @@ var interpret = require('interpret'); var chalk = require('chalk'); var nodePlop = require('node-plop'); -var out = require('./mod/console-out'); -var globalPkg = require('./package.json'); +var out = require('./console-out'); +var globalPkg = require('../package.json'); var generator = argv._.join(' ') || null; var Plop = new Liftoff({