Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRebecca Turner <me@re-becca.org>2015-04-07 11:08:25 +0300
committerForrest L Norvell <forrest@npmjs.com>2015-04-09 07:38:41 +0300
commit6dd1e039bddf8cf5383343f91d84bc5d78acd083 (patch)
tree83ecd1239028028b8db6d52bb078637a2cf71cd7 /node_modules/init-package-json
parent63254bb6358f66752aca6aa1a275271b3ae03f7c (diff)
init-package-json@1.4.0
Diffstat (limited to 'node_modules/init-package-json')
-rw-r--r--node_modules/init-package-json/package.json40
1 files changed, 32 insertions, 8 deletions
diff --git a/node_modules/init-package-json/package.json b/node_modules/init-package-json/package.json
index dd7511452..6cd75e79d 100644
--- a/node_modules/init-package-json/package.json
+++ b/node_modules/init-package-json/package.json
@@ -1,6 +1,6 @@
{
"name": "init-package-json",
- "version": "1.3.2",
+ "version": "1.4.0",
"main": "init-package-json.js",
"scripts": {
"test": "tap test/*.js"
@@ -20,7 +20,7 @@
"glob": "^5.0.3",
"promzard": "^0.3.0",
"read": "~1.0.1",
- "read-package-json": "1",
+ "read-package-json": "1 || 2",
"semver": "2.x || 3.x || 4",
"validate-npm-package-name": "^2.0.1"
},
@@ -39,14 +39,38 @@
"prompt",
"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",
- "readmeFilename": "README.md",
- "gitHead": "4aaccb745ecba65676ae4bf105039928e697d65c",
+ "gitHead": "c422f6b38ab02d0859d757ec381e473657d4d195",
"bugs": {
"url": "https://github.com/isaacs/init-package-json/issues"
},
"homepage": "https://github.com/isaacs/init-package-json",
- "_id": "init-package-json@1.3.2",
- "_shasum": "9ad3038b52e50838d78739f16b4dfb1418909d18",
- "_from": "init-package-json@>=1.3.2 <1.4.0"
+ "_id": "init-package-json@1.4.0",
+ "_shasum": "50b49cbe284cb7a48e037f36d03817af1022f070",
+ "_from": "init-package-json@1.4.0",
+ "_npmVersion": "2.7.5",
+ "_nodeVersion": "1.6.2",
+ "_npmUser": {
+ "name": "iarna",
+ "email": "me@re-becca.org"
+ },
+ "maintainers": [
+ {
+ "name": "isaacs",
+ "email": "i@izs.me"
+ },
+ {
+ "name": "othiym23",
+ "email": "ogd@aoaioxxysz.net"
+ },
+ {
+ "name": "iarna",
+ "email": "me@re-becca.org"
+ }
+ ],
+ "dist": {
+ "shasum": "50b49cbe284cb7a48e037f36d03817af1022f070",
+ "tarball": "http://registry.npmjs.org/init-package-json/-/init-package-json-1.4.0.tgz"
+ },
+ "directories": {},
+ "_resolved": "https://registry.npmjs.org/init-package-json/-/init-package-json-1.4.0.tgz"
}