summaryrefslogtreecommitdiff
path: root/deps/npm/node_modules/init-package-json
diff options
context:
space:
mode:
Diffstat (limited to 'deps/npm/node_modules/init-package-json')
-rw-r--r--deps/npm/node_modules/init-package-json/default-input.js3
-rw-r--r--deps/npm/node_modules/init-package-json/node_modules/promzard/package.json2
-rw-r--r--deps/npm/node_modules/init-package-json/package.json8
3 files changed, 8 insertions, 5 deletions
diff --git a/deps/npm/node_modules/init-package-json/default-input.js b/deps/npm/node_modules/init-package-json/default-input.js
index 1323e1e65..ba4270263 100644
--- a/deps/npm/node_modules/init-package-json/default-input.js
+++ b/deps/npm/node_modules/init-package-json/default-input.js
@@ -40,6 +40,9 @@ function readDeps (test) { return function (cb) {
exports.name = prompt('name', package.name || basename)
exports.version = prompt('version', package.version || '0.0.0')
+if (!package.description) {
+ exports.description = prompt('description')
+}
if (!package.main) {
exports.main = function (cb) {
diff --git a/deps/npm/node_modules/init-package-json/node_modules/promzard/package.json b/deps/npm/node_modules/init-package-json/node_modules/promzard/package.json
index ee7473b3b..783c4a064 100644
--- a/deps/npm/node_modules/init-package-json/node_modules/promzard/package.json
+++ b/deps/npm/node_modules/init-package-json/node_modules/promzard/package.json
@@ -5,7 +5,7 @@
"url": "http://blog.izs.me/"
},
"name": "promzard",
- "description": "A reimplementation of @SubStack's",
+ "description": "A reimplementation of @SubStack's [prompter](https://github.com/substack/node-prompter), which does not use AST traversal.",
"version": "0.1.5",
"repository": {
"url": "git://github.com/isaacs/promzard"
diff --git a/deps/npm/node_modules/init-package-json/package.json b/deps/npm/node_modules/init-package-json/package.json
index 75617ba9f..78c6a7626 100644
--- a/deps/npm/node_modules/init-package-json/package.json
+++ b/deps/npm/node_modules/init-package-json/package.json
@@ -1,6 +1,6 @@
{
"name": "init-package-json",
- "version": "0.0.2",
+ "version": "0.0.4",
"main": "init-package-json.js",
"scripts": {
"test": "tap test/*.js"
@@ -15,11 +15,11 @@
"url": "http://blog.izs.me/"
},
"license": "BSD",
- "description": "A node module to get your node module started",
+ "description": "A node module to get your node module started.",
"dependencies": {
"promzard": "~0.1.5",
"read": "~0.1.0",
- "read-package-json": "0.0.6",
+ "read-package-json": "0",
"semver": "~1.0.14"
},
"devDependencies": {
@@ -37,6 +37,6 @@
"start"
],
"readme": "# init-package-json\n\nA node module to get your node module started.\n\n## Usage\n\n```javascript\nvar init = require('init-package-json')\nvar path = require('path')\n\n// a path to a promzard module. In the event that this file is\n// not found, one will be provided for you.\nvar initFile = path.resolve(process.env.HOME, '.npm-init')\n\n// the dir where we're doin stuff.\nvar dir = process.cwd()\n\n// extra stuff that gets put into the PromZard module's context.\n// In npm, this is the resolved config object. Exposed as 'config'\n// Optional.\nvar configData = { some: 'extra stuff' }\n\n// Any existing stuff from the package.json file is also exposed in the\n// PromZard module as the `package` object. There will also be free\n// vars for:\n// * `filename` path to the package.json file\n// * `basename` the tip of the package dir\n// * `dirname` the parent of the package dir\n\ninit(dir, initFile, configData, function (er, data) {\n // the data's already been written to {dir}/package.json\n // now you can do stuff with it\n})\n```\n\nOr from the command line:\n\n```\n$ npm-init\n```\n\nSee [PromZard](https://github.com/isaacs/promzard) for details about\nwhat can go in the config file.\n",
- "_id": "init-package-json@0.0.2",
+ "_id": "init-package-json@0.0.4",
"_from": "init-package-json@0"
}