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:
Diffstat (limited to 'node_modules/init-package-json/package.json')
-rw-r--r--node_modules/init-package-json/package.json29
1 files changed, 22 insertions, 7 deletions
diff --git a/node_modules/init-package-json/package.json b/node_modules/init-package-json/package.json
index 21533c9e9..84d3814f8 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": "0.0.16",
+ "version": "0.0.17",
"main": "init-package-json.js",
"scripts": {
"test": "tap test/*.js"
@@ -37,14 +37,29 @@
"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": "cbc53fbedd4246d62ec99ea3a61a113a07d21629",
"bugs": {
"url": "https://github.com/isaacs/init-package-json/issues"
},
"homepage": "https://github.com/isaacs/init-package-json",
- "_id": "init-package-json@0.0.16",
- "_shasum": "f7bb96fcb0a2c8061d15a2c3180323b17a65aa16",
- "_from": "init-package-json@0.0.16",
- "_resolved": "https://registry.npmjs.org/init-package-json/-/init-package-json-0.0.16.tgz"
+ "_id": "init-package-json@0.0.17",
+ "_shasum": "395f2cb8d1c5af93ba6ec19dafa64717047f90c3",
+ "_from": "init-package-json@latest",
+ "_npmVersion": "1.4.10",
+ "_npmUser": {
+ "name": "isaacs",
+ "email": "i@izs.me"
+ },
+ "maintainers": [
+ {
+ "name": "isaacs",
+ "email": "i@izs.me"
+ }
+ ],
+ "dist": {
+ "shasum": "395f2cb8d1c5af93ba6ec19dafa64717047f90c3",
+ "tarball": "http://registry.npmjs.org/init-package-json/-/init-package-json-0.0.17.tgz"
+ },
+ "directories": {},
+ "_resolved": "https://registry.npmjs.org/init-package-json/-/init-package-json-0.0.17.tgz"
}