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

package.json « init-package-json « node_modules - github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 9808cf54bd05dfc84a1387ceb6012fc4726dee7a (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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
{
  "_args": [
    [
      {
        "raw": "init-package-json@1.10.1",
        "scope": null,
        "escapedName": "init-package-json",
        "name": "init-package-json",
        "rawSpec": "1.10.1",
        "spec": "1.10.1",
        "type": "version"
      },
      "/Users/rebecca/code/npm"
    ]
  ],
  "_from": "init-package-json@1.10.1",
  "_id": "init-package-json@1.10.1",
  "_inCache": true,
  "_location": "/init-package-json",
  "_nodeVersion": "7.7.4",
  "_npmOperationalInternal": {
    "host": "packages-12-west.internal.npmjs.com",
    "tmp": "tmp/init-package-json-1.10.1.tgz_1492823965061_0.8588907306548208"
  },
  "_npmUser": {
    "name": "iarna",
    "email": "me@re-becca.org"
  },
  "_npmVersion": "4.5.0",
  "_phantomChildren": {
    "read": "1.0.7"
  },
  "_requested": {
    "raw": "init-package-json@1.10.1",
    "scope": null,
    "escapedName": "init-package-json",
    "name": "init-package-json",
    "rawSpec": "1.10.1",
    "spec": "1.10.1",
    "type": "version"
  },
  "_requiredBy": [
    "#USER",
    "/"
  ],
  "_resolved": "https://registry.npmjs.org/init-package-json/-/init-package-json-1.10.1.tgz",
  "_shasum": "cd873a167796befb99612b28762a0b6393fd8f6a",
  "_shrinkwrap": null,
  "_spec": "init-package-json@1.10.1",
  "_where": "/Users/rebecca/code/npm",
  "author": {
    "name": "Isaac Z. Schlueter",
    "email": "i@izs.me",
    "url": "http://blog.izs.me/"
  },
  "bugs": {
    "url": "https://github.com/npm/init-package-json/issues"
  },
  "dependencies": {
    "glob": "^7.1.1",
    "npm-package-arg": "^4.0.0 || ^5.0.0",
    "promzard": "^0.3.0",
    "read": "~1.0.1",
    "read-package-json": "1 || 2",
    "semver": "2.x || 3.x || 4 || 5",
    "validate-npm-package-license": "^3.0.1",
    "validate-npm-package-name": "^3.0.0"
  },
  "description": "A node module to get your node module started",
  "devDependencies": {
    "mkdirp": "^0.5.1",
    "npm": "^4.3.0",
    "rimraf": "^2.1.4",
    "tap": "^10.3.0"
  },
  "directories": {},
  "dist": {
    "shasum": "cd873a167796befb99612b28762a0b6393fd8f6a",
    "tarball": "https://registry.npmjs.org/init-package-json/-/init-package-json-1.10.1.tgz"
  },
  "files": [
    "default-input.js",
    "init-package-json.js"
  ],
  "gitHead": "b1501e048e2d6ae58d8e3b15967967f22f85122e",
  "homepage": "https://github.com/npm/init-package-json#readme",
  "keywords": [
    "init",
    "package.json",
    "package",
    "helper",
    "wizard",
    "wizerd",
    "prompt",
    "start"
  ],
  "license": "ISC",
  "main": "init-package-json.js",
  "maintainers": [
    {
      "name": "isaacs",
      "email": "isaacs@npmjs.com"
    },
    {
      "name": "othiym23",
      "email": "ogd@aoaioxxysz.net"
    },
    {
      "name": "iarna",
      "email": "me@re-becca.org"
    },
    {
      "name": "zkat",
      "email": "kat@sykosomatic.org"
    }
  ],
  "name": "init-package-json",
  "optionalDependencies": {},
  "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/npm/promzard) for details about\nwhat can go in the config file.\n",
  "readmeFilename": "README.md",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/npm/init-package-json.git"
  },
  "scripts": {
    "test": "tap test/*.js"
  },
  "version": "1.10.1"
}