101 lines
3.7 KiB
JSON
101 lines
3.7 KiB
JSON
{
|
|
"_args": [
|
|
[
|
|
{
|
|
"raw": "require-main-filename@^1.0.1",
|
|
"scope": null,
|
|
"escapedName": "require-main-filename",
|
|
"name": "require-main-filename",
|
|
"rawSpec": "^1.0.1",
|
|
"spec": ">=1.0.1 <2.0.0",
|
|
"type": "range"
|
|
},
|
|
"/Volumes/2009-SSD/GT2/GT2-iOS/node_modules/yargs"
|
|
]
|
|
],
|
|
"_from": "require-main-filename@>=1.0.1 <2.0.0",
|
|
"_id": "require-main-filename@1.0.1",
|
|
"_inCache": true,
|
|
"_location": "/require-main-filename",
|
|
"_nodeVersion": "3.2.0",
|
|
"_npmOperationalInternal": {
|
|
"host": "packages-6-west.internal.npmjs.com",
|
|
"tmp": "tmp/require-main-filename-1.0.1.tgz_1455688492890_0.0750324921682477"
|
|
},
|
|
"_npmUser": {
|
|
"name": "bcoe",
|
|
"email": "ben@npmjs.com"
|
|
},
|
|
"_npmVersion": "3.3.0",
|
|
"_phantomChildren": {},
|
|
"_requested": {
|
|
"raw": "require-main-filename@^1.0.1",
|
|
"scope": null,
|
|
"escapedName": "require-main-filename",
|
|
"name": "require-main-filename",
|
|
"rawSpec": "^1.0.1",
|
|
"spec": ">=1.0.1 <2.0.0",
|
|
"type": "range"
|
|
},
|
|
"_requiredBy": [
|
|
"/jest-runtime/yargs",
|
|
"/jest/yargs",
|
|
"/metro/yargs",
|
|
"/react-native/yargs",
|
|
"/test-exclude",
|
|
"/yargs"
|
|
],
|
|
"_resolved": "https://registry.npmjs.org/require-main-filename/-/require-main-filename-1.0.1.tgz",
|
|
"_shasum": "97f717b69d48784f5f526a6c5aa8ffdda055a4d1",
|
|
"_shrinkwrap": null,
|
|
"_spec": "require-main-filename@^1.0.1",
|
|
"_where": "/Volumes/2009-SSD/GT2/GT2-iOS/node_modules/yargs",
|
|
"author": {
|
|
"name": "Ben Coe",
|
|
"email": "ben@npmjs.com"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/yargs/require-main-filename/issues"
|
|
},
|
|
"dependencies": {},
|
|
"description": "shim for require.main.filename() that works in as many environments as possible",
|
|
"devDependencies": {
|
|
"chai": "^3.5.0",
|
|
"standard": "^6.0.5",
|
|
"tap": "^5.2.0"
|
|
},
|
|
"directories": {},
|
|
"dist": {
|
|
"shasum": "97f717b69d48784f5f526a6c5aa8ffdda055a4d1",
|
|
"tarball": "https://registry.npmjs.org/require-main-filename/-/require-main-filename-1.0.1.tgz"
|
|
},
|
|
"gitHead": "6dd2291332bed764c56302ccdd14da8a213249a1",
|
|
"homepage": "https://github.com/yargs/require-main-filename#readme",
|
|
"keywords": [
|
|
"require",
|
|
"shim",
|
|
"iisnode"
|
|
],
|
|
"license": "ISC",
|
|
"main": "index.js",
|
|
"maintainers": [
|
|
{
|
|
"name": "bcoe",
|
|
"email": "ben@npmjs.com"
|
|
}
|
|
],
|
|
"name": "require-main-filename",
|
|
"optionalDependencies": {},
|
|
"readme": "# require-main-filename\n\n[![Build Status](https://travis-ci.org/yargs/require-main-filename.png)](https://travis-ci.org/yargs/require-main-filename)\n[![Coverage Status](https://coveralls.io/repos/yargs/require-main-filename/badge.svg?branch=master)](https://coveralls.io/r/yargs/require-main-filename?branch=master)\n[![NPM version](https://img.shields.io/npm/v/require-main-filename.svg)](https://www.npmjs.com/package/require-main-filename)\n\n`require.main.filename` is great for figuring out the entry\npoint for the current application. This can be combined with a module like\n[pkg-conf](https://www.npmjs.com/package/pkg-conf) to, _as if by magic_, load\ntop-level configuration.\n\nUnfortunately, `require.main.filename` sometimes fails when an application is\nexecuted with an alternative process manager, e.g., [iisnode](https://github.com/tjanczuk/iisnode).\n\n`require-main-filename` is a shim that addresses this problem.\n\n## Usage\n\n```js\nvar main = require('require-main-filename')()\n// use main as an alternative to require.main.filename.\n```\n\n## License\n\nISC\n",
|
|
"readmeFilename": "README.md",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+ssh://git@github.com/yargs/require-main-filename.git"
|
|
},
|
|
"scripts": {
|
|
"pretest": "standard",
|
|
"test": "tap --coverage test.js"
|
|
},
|
|
"version": "1.0.1"
|
|
}
|