109 lines
3.7 KiB
JSON
109 lines
3.7 KiB
JSON
|
{
|
||
|
"_args": [
|
||
|
[
|
||
|
{
|
||
|
"raw": "loose-envify@^1.3.1",
|
||
|
"scope": null,
|
||
|
"escapedName": "loose-envify",
|
||
|
"name": "loose-envify",
|
||
|
"rawSpec": "^1.3.1",
|
||
|
"spec": ">=1.3.1 <2.0.0",
|
||
|
"type": "range"
|
||
|
},
|
||
|
"/home/jdaugherty/work/GT2/GT2-Android/node_modules/prop-types"
|
||
|
]
|
||
|
],
|
||
|
"_from": "loose-envify@>=1.3.1 <2.0.0",
|
||
|
"_id": "loose-envify@1.3.1",
|
||
|
"_inCache": true,
|
||
|
"_location": "/loose-envify",
|
||
|
"_nodeVersion": "7.3.0",
|
||
|
"_npmOperationalInternal": {
|
||
|
"host": "packages-18-east.internal.npmjs.com",
|
||
|
"tmp": "tmp/loose-envify-1.3.1.tgz_1484486581665_0.5577248032204807"
|
||
|
},
|
||
|
"_npmUser": {
|
||
|
"name": "zertosh",
|
||
|
"email": "zertosh@gmail.com"
|
||
|
},
|
||
|
"_npmVersion": "3.10.10",
|
||
|
"_phantomChildren": {},
|
||
|
"_requested": {
|
||
|
"raw": "loose-envify@^1.3.1",
|
||
|
"scope": null,
|
||
|
"escapedName": "loose-envify",
|
||
|
"name": "loose-envify",
|
||
|
"rawSpec": "^1.3.1",
|
||
|
"spec": ">=1.3.1 <2.0.0",
|
||
|
"type": "range"
|
||
|
},
|
||
|
"_requiredBy": [
|
||
|
"/fbjs",
|
||
|
"/invariant",
|
||
|
"/prop-types",
|
||
|
"/react",
|
||
|
"/react-redux",
|
||
|
"/redux"
|
||
|
],
|
||
|
"_resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.3.1.tgz",
|
||
|
"_shasum": "d1a8ad33fa9ce0e713d65fdd0ac8b748d478c848",
|
||
|
"_shrinkwrap": null,
|
||
|
"_spec": "loose-envify@^1.3.1",
|
||
|
"_where": "/home/jdaugherty/work/GT2/GT2-Android/node_modules/prop-types",
|
||
|
"author": {
|
||
|
"name": "Andres Suarez",
|
||
|
"email": "zertosh@gmail.com"
|
||
|
},
|
||
|
"bin": {
|
||
|
"loose-envify": "cli.js"
|
||
|
},
|
||
|
"bugs": {
|
||
|
"url": "https://github.com/zertosh/loose-envify/issues"
|
||
|
},
|
||
|
"dependencies": {
|
||
|
"js-tokens": "^3.0.0"
|
||
|
},
|
||
|
"description": "Fast (and loose) selective `process.env` replacer using js-tokens instead of an AST",
|
||
|
"devDependencies": {
|
||
|
"browserify": "^13.1.1",
|
||
|
"envify": "^3.4.0",
|
||
|
"tap": "^8.0.0"
|
||
|
},
|
||
|
"directories": {},
|
||
|
"dist": {
|
||
|
"shasum": "d1a8ad33fa9ce0e713d65fdd0ac8b748d478c848",
|
||
|
"tarball": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.3.1.tgz"
|
||
|
},
|
||
|
"gitHead": "7b2d41e61a7ddba5335154b4aba327f6e850f7fd",
|
||
|
"homepage": "https://github.com/zertosh/loose-envify",
|
||
|
"keywords": [
|
||
|
"environment",
|
||
|
"variables",
|
||
|
"browserify",
|
||
|
"browserify-transform",
|
||
|
"transform",
|
||
|
"source",
|
||
|
"configuration"
|
||
|
],
|
||
|
"license": "MIT",
|
||
|
"main": "index.js",
|
||
|
"maintainers": [
|
||
|
{
|
||
|
"name": "zertosh",
|
||
|
"email": "zertosh@gmail.com"
|
||
|
}
|
||
|
],
|
||
|
"name": "loose-envify",
|
||
|
"optionalDependencies": {},
|
||
|
"readme": "# loose-envify\n\n[![Build Status](https://travis-ci.org/zertosh/loose-envify.svg?branch=master)](https://travis-ci.org/zertosh/loose-envify)\n\nFast (and loose) selective `process.env` replacer using [js-tokens](https://github.com/lydell/js-tokens) instead of an AST. Works just like [envify](https://github.com/hughsk/envify) but much faster.\n\n## Gotchas\n\n* Doesn't handle broken syntax.\n* Doesn't look inside embedded expressions in template strings.\n - **this won't work:**\n ```js\n console.log(`the current env is ${process.env.NODE_ENV}`);\n ```\n* Doesn't replace oddly-spaced or oddly-commented expressions.\n - **this won't work:**\n ```js\n console.log(process./*won't*/env./*work*/NODE_ENV);\n ```\n\n## Usage/Options\n\nloose-envify has the exact same interface as [envify](https://github.com/hughsk/envify), including the CLI.\n\n## Benchmark\n\n```\nenvify:\n\n $ for i in {1..5}; do node bench/bench.js 'envify'; done\n 708ms\n 727ms\n 791ms\n 719ms\n 720ms\n\nloose-envify:\n\n $ for i in {1..5}; do node bench/bench.js '../'; done\n 51ms\n 52ms\n 52ms\n 52ms\n 52ms\n```\n",
|
||
|
"readmeFilename": "README.md",
|
||
|
"repository": {
|
||
|
"type": "git",
|
||
|
"url": "git://github.com/zertosh/loose-envify.git"
|
||
|
},
|
||
|
"scripts": {
|
||
|
"test": "tap test/*.js"
|
||
|
},
|
||
|
"version": "1.3.1"
|
||
|
}
|