f73b57f3b35f3541c3713ba984aaa1d51a61499c
[platform/upstream/nodejs.git] / deps / npm / node_modules / init-package-json / package.json
1 {
2   "name": "init-package-json",
3   "version": "0.0.13",
4   "main": "init-package-json.js",
5   "scripts": {
6     "test": "tap test/*.js"
7   },
8   "repository": {
9     "type": "git",
10     "url": "git://github.com/isaacs/init-package-json"
11   },
12   "author": {
13     "name": "Isaac Z. Schlueter",
14     "email": "i@izs.me",
15     "url": "http://blog.izs.me/"
16   },
17   "license": "BSD",
18   "description": "A node module to get your node module started",
19   "dependencies": {
20     "promzard": "~0.2.0",
21     "read": "~1.0.1",
22     "read-package-json": "1",
23     "semver": "2.x",
24     "glob": "~3.2.7"
25   },
26   "devDependencies": {
27     "tap": "~0.2.5",
28     "rimraf": "~2.0.2"
29   },
30   "keywords": [
31     "init",
32     "package.json",
33     "package",
34     "helper",
35     "wizard",
36     "wizerd",
37     "prompt",
38     "start"
39   ],
40   "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",
41   "readmeFilename": "README.md",
42   "bugs": {
43     "url": "https://github.com/isaacs/init-package-json/issues"
44   },
45   "homepage": "https://github.com/isaacs/init-package-json",
46   "_id": "init-package-json@0.0.13",
47   "_from": "init-package-json@latest"
48 }