package.json 3.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. {
  2. "_args": [
  3. [
  4. {
  5. "raw": "require-main-filename@^1.0.1",
  6. "scope": null,
  7. "escapedName": "require-main-filename",
  8. "name": "require-main-filename",
  9. "rawSpec": "^1.0.1",
  10. "spec": ">=1.0.1 <2.0.0",
  11. "type": "range"
  12. },
  13. "/mnt/Data/bach/Documents/ola/OLA#4/OLA#4DOC/sys/node_modules/yargs"
  14. ]
  15. ],
  16. "_from": "require-main-filename@>=1.0.1 <2.0.0",
  17. "_id": "require-main-filename@1.0.1",
  18. "_inCache": true,
  19. "_location": "/require-main-filename",
  20. "_nodeVersion": "3.2.0",
  21. "_npmOperationalInternal": {
  22. "host": "packages-6-west.internal.npmjs.com",
  23. "tmp": "tmp/require-main-filename-1.0.1.tgz_1455688492890_0.0750324921682477"
  24. },
  25. "_npmUser": {
  26. "name": "bcoe",
  27. "email": "ben@npmjs.com"
  28. },
  29. "_npmVersion": "3.3.0",
  30. "_phantomChildren": {},
  31. "_requested": {
  32. "raw": "require-main-filename@^1.0.1",
  33. "scope": null,
  34. "escapedName": "require-main-filename",
  35. "name": "require-main-filename",
  36. "rawSpec": "^1.0.1",
  37. "spec": ">=1.0.1 <2.0.0",
  38. "type": "range"
  39. },
  40. "_requiredBy": [
  41. "/yargs"
  42. ],
  43. "_resolved": "https://registry.npmjs.org/require-main-filename/-/require-main-filename-1.0.1.tgz",
  44. "_shasum": "97f717b69d48784f5f526a6c5aa8ffdda055a4d1",
  45. "_shrinkwrap": null,
  46. "_spec": "require-main-filename@^1.0.1",
  47. "_where": "/mnt/Data/bach/Documents/ola/OLA#4/OLA#4DOC/sys/node_modules/yargs",
  48. "author": {
  49. "name": "Ben Coe",
  50. "email": "ben@npmjs.com"
  51. },
  52. "bugs": {
  53. "url": "https://github.com/yargs/require-main-filename/issues"
  54. },
  55. "dependencies": {},
  56. "description": "shim for require.main.filename() that works in as many environments as possible",
  57. "devDependencies": {
  58. "chai": "^3.5.0",
  59. "standard": "^6.0.5",
  60. "tap": "^5.2.0"
  61. },
  62. "directories": {},
  63. "dist": {
  64. "shasum": "97f717b69d48784f5f526a6c5aa8ffdda055a4d1",
  65. "tarball": "https://registry.npmjs.org/require-main-filename/-/require-main-filename-1.0.1.tgz"
  66. },
  67. "gitHead": "6dd2291332bed764c56302ccdd14da8a213249a1",
  68. "homepage": "https://github.com/yargs/require-main-filename#readme",
  69. "keywords": [
  70. "require",
  71. "shim",
  72. "iisnode"
  73. ],
  74. "license": "ISC",
  75. "main": "index.js",
  76. "maintainers": [
  77. {
  78. "name": "bcoe",
  79. "email": "ben@npmjs.com"
  80. }
  81. ],
  82. "name": "require-main-filename",
  83. "optionalDependencies": {},
  84. "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",
  85. "readmeFilename": "README.md",
  86. "repository": {
  87. "type": "git",
  88. "url": "git+ssh://git@github.com/yargs/require-main-filename.git"
  89. },
  90. "scripts": {
  91. "pretest": "standard",
  92. "test": "tap --coverage test.js"
  93. },
  94. "version": "1.0.1"
  95. }