summaryrefslogtreecommitdiff
path: root/deps/npm/node_modules/init-package-json/package.json
blob: a0acb61d1dc9dfc557e0b1a1d2ba3fba010d4cc2 (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
53
{
  "name": "init-package-json",
  "version": "1.4.2",
  "main": "init-package-json.js",
  "scripts": {
    "test": "tap test/*.js"
  },
  "repository": {
    "type": "git",
    "url": "git://github.com/isaacs/init-package-json.git"
  },
  "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": {
    "glob": "^5.0.3",
    "npm-package-arg": "^4.0.0",
    "promzard": "^0.3.0",
    "read": "~1.0.1",
    "read-package-json": "1 || 2",
    "semver": "2.x || 3.x || 4",
    "validate-npm-package-name": "^2.0.1"
  },
  "devDependencies": {
    "npm": "^2",
    "rimraf": "^2.1.4",
    "tap": "^0.7.1"
  },
  "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[![Build Status](https://secure.travis-ci.org/npm/init-package-json.svg)](http://travis-ci.org/npm/init-package-json)\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": "99bddf908a582daeacf27cf05bd46ec5b0ec5e42",
  "bugs": {
    "url": "https://github.com/isaacs/init-package-json/issues"
  },
  "homepage": "https://github.com/isaacs/init-package-json#readme",
  "_id": "init-package-json@1.4.2",
  "_shasum": "66e606c5ab458340fb229fa4c25f9062879ffa88",
  "_from": "init-package-json@>=1.4.2 <1.5.0"
}