first commit
This commit is contained in:
13
build/node_modules/get-proxy/index.js
generated
vendored
Normal file
13
build/node_modules/get-proxy/index.js
generated
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
'use strict';
|
||||
var conf = require('rc')('npm');
|
||||
|
||||
module.exports = function () {
|
||||
return process.env.HTTPS_PROXY ||
|
||||
process.env.https_proxy ||
|
||||
process.env.HTTP_PROXY ||
|
||||
process.env.http_proxy ||
|
||||
conf['https-proxy'] ||
|
||||
conf['http-proxy'] ||
|
||||
conf.proxy ||
|
||||
null;
|
||||
};
|
||||
21
build/node_modules/get-proxy/license
generated
vendored
Normal file
21
build/node_modules/get-proxy/license
generated
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) Kevin Mårtensson <kevinmartensson@gmail.com>
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in
|
||||
all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
THE SOFTWARE.
|
||||
64
build/node_modules/get-proxy/package.json
generated
vendored
Normal file
64
build/node_modules/get-proxy/package.json
generated
vendored
Normal file
@@ -0,0 +1,64 @@
|
||||
{
|
||||
"_args": [
|
||||
[
|
||||
"get-proxy@1.1.0",
|
||||
"/Users/asciidisco/Desktop/asciidisco.com/build"
|
||||
]
|
||||
],
|
||||
"_from": "get-proxy@1.1.0",
|
||||
"_id": "get-proxy@1.1.0",
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha1-iUhUSRvFkbDxR9euVw9cZ4tyVus=",
|
||||
"_location": "/get-proxy",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"type": "version",
|
||||
"registry": true,
|
||||
"raw": "get-proxy@1.1.0",
|
||||
"name": "get-proxy",
|
||||
"escapedName": "get-proxy",
|
||||
"rawSpec": "1.1.0",
|
||||
"saveSpec": null,
|
||||
"fetchSpec": "1.1.0"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/caw"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/get-proxy/-/get-proxy-1.1.0.tgz",
|
||||
"_spec": "1.1.0",
|
||||
"_where": "/Users/asciidisco/Desktop/asciidisco.com/build",
|
||||
"author": {
|
||||
"name": "Kevin Mårtensson",
|
||||
"email": "kevinmartensson@gmail.com",
|
||||
"url": "https://github.com/kevva"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/kevva/get-proxy/issues"
|
||||
},
|
||||
"dependencies": {
|
||||
"rc": "^1.1.2"
|
||||
},
|
||||
"description": "Get configured proxy",
|
||||
"devDependencies": {
|
||||
"ava": "*",
|
||||
"xo": "*"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=0.10.0"
|
||||
},
|
||||
"files": [
|
||||
"index.js"
|
||||
],
|
||||
"homepage": "https://github.com/kevva/get-proxy#readme",
|
||||
"keywords": [],
|
||||
"license": "MIT",
|
||||
"name": "get-proxy",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/kevva/get-proxy.git"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "xo && ava"
|
||||
},
|
||||
"version": "1.1.0"
|
||||
}
|
||||
25
build/node_modules/get-proxy/readme.md
generated
vendored
Normal file
25
build/node_modules/get-proxy/readme.md
generated
vendored
Normal file
@@ -0,0 +1,25 @@
|
||||
# get-proxy [](http://travis-ci.org/kevva/get-proxy)
|
||||
|
||||
> Get configured proxy
|
||||
|
||||
|
||||
## Install
|
||||
|
||||
```
|
||||
$ npm install --save get-proxy
|
||||
```
|
||||
|
||||
|
||||
## Usage
|
||||
|
||||
```js
|
||||
var getProxy = require('get-proxy');
|
||||
|
||||
getProxy();
|
||||
//=> 'http://192.168.0.1:8080'
|
||||
```
|
||||
|
||||
|
||||
## License
|
||||
|
||||
MIT © [Kevin Mårtensson](https://github.com/kevva)
|
||||
Reference in New Issue
Block a user