mirror of https://github.com/nodejs/node.git
55 lines
2.6 KiB
JSON
55 lines
2.6 KiB
JSON
{
|
|
"name": "init-package-json",
|
|
"version": "1.7.1",
|
|
"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 || 5",
|
|
"validate-npm-package-license": "^2.0.0",
|
|
"validate-npm-package-name": "^2.0.1"
|
|
},
|
|
"devDependencies": {
|
|
"npm": "^2",
|
|
"rimraf": "^2.1.4",
|
|
"tap": "^1.2.0"
|
|
},
|
|
"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": "443031e837c81bb10548212a7b3700b5dde94cfb",
|
|
"bugs": {
|
|
"url": "https://github.com/isaacs/init-package-json/issues"
|
|
},
|
|
"homepage": "https://github.com/isaacs/init-package-json#readme",
|
|
"_id": "init-package-json@1.7.1",
|
|
"_shasum": "32a8643779c91732d901a6fdc7505de7119fb7ad",
|
|
"_from": "init-package-json@>=1.7.1 <1.8.0"
|
|
}
|