summaryrefslogtreecommitdiff
path: root/deps/npm/node_modules/init-package-json/package.json
blob: 95099e09deef98f80a87626c2567644a2a7c9790 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
{
  "name": "init-package-json",
  "version": "0.0.15",
  "main": "init-package-json.js",
  "scripts": {
    "test": "tap test/*.js"
  },
  "repository": {
    "type": "git",
    "url": "git://github.com/isaacs/init-package-json"
  },
  "author": {
    "name": "Isaac Z. Schlueter",
    "email": "i@izs.me",
    "url": "http://blog.izs.me/"
  },
  "license": "ISC",
  "description": "A node module to get your node module started",
  "dependencies": {
    "promzard": "~0.2.0",
    "read": "~1.0.1",
    "read-package-json": "1",
    "semver": "2.x",
    "glob": "~3.2.7"
  },
  "devDependencies": {
    "tap": "~0.2.5",
    "rimraf": "~2.0.2"
  },
  "keywords": [
    "init",
    "package.json",
    "package",
    "helper",
    "wizard",
    "wizerd",
    "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",
  "bugs": {
    "url": "https://github.com/isaacs/init-package-json/issues"
  },
  "homepage": "https://github.com/isaacs/init-package-json",
  "_id": "init-package-json@0.0.15",
  "dist": {
    "shasum": "d40f0201e4de6aa2b3fdc4208ae162766703ebed"
  },
  "_from": "init-package-json@latest",
  "_resolved": "https://registry.npmjs.org/init-package-json/-/init-package-json-0.0.15.tgz"
}