Detailansicht verbessert
This commit is contained in:
		
							
								
								
									
										21
									
								
								express-server/node_modules/is-ci/LICENSE
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										21
									
								
								express-server/node_modules/is-ci/LICENSE
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,21 @@
 | 
			
		||||
The MIT License (MIT)
 | 
			
		||||
 | 
			
		||||
Copyright (c) 2016-2018 Thomas Watson Steen
 | 
			
		||||
 | 
			
		||||
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.
 | 
			
		||||
							
								
								
									
										50
									
								
								express-server/node_modules/is-ci/README.md
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										50
									
								
								express-server/node_modules/is-ci/README.md
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,50 @@
 | 
			
		||||
# is-ci
 | 
			
		||||
 | 
			
		||||
Returns `true` if the current environment is a Continuous Integration
 | 
			
		||||
server.
 | 
			
		||||
 | 
			
		||||
Please [open an issue](https://github.com/watson/is-ci/issues) if your
 | 
			
		||||
CI server isn't properly detected :)
 | 
			
		||||
 | 
			
		||||
[](https://www.npmjs.com/package/is-ci)
 | 
			
		||||
[](https://travis-ci.org/watson/is-ci)
 | 
			
		||||
[](https://github.com/feross/standard)
 | 
			
		||||
 | 
			
		||||
## Installation
 | 
			
		||||
 | 
			
		||||
```bash
 | 
			
		||||
npm install is-ci --save
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
## Programmatic Usage
 | 
			
		||||
 | 
			
		||||
```js
 | 
			
		||||
const isCI = require('is-ci')
 | 
			
		||||
 | 
			
		||||
if (isCI) {
 | 
			
		||||
  console.log('The code is running on a CI server')
 | 
			
		||||
}
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
## CLI Usage
 | 
			
		||||
 | 
			
		||||
For CLI usage you need to have the `is-ci` executable in your `PATH`.
 | 
			
		||||
There's a few ways to do that:
 | 
			
		||||
 | 
			
		||||
- Either install the module globally using `npm install is-ci -g`
 | 
			
		||||
- Or add the module as a dependency to your app in which case it can be
 | 
			
		||||
  used inside your package.json scripts as is
 | 
			
		||||
- Or provide the full path to the executable, e.g.
 | 
			
		||||
  `./node_modules/.bin/is-ci`
 | 
			
		||||
 | 
			
		||||
```bash
 | 
			
		||||
is-ci && echo "This is a CI server"
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
## Supported CI tools
 | 
			
		||||
 | 
			
		||||
Refer to [ci-info](https://github.com/watson/ci-info#supported-ci-tools) docs for all supported CI's
 | 
			
		||||
 | 
			
		||||
## License
 | 
			
		||||
 | 
			
		||||
[MIT](LICENSE)
 | 
			
		||||
							
								
								
									
										4
									
								
								express-server/node_modules/is-ci/bin.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								express-server/node_modules/is-ci/bin.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,4 @@
 | 
			
		||||
#!/usr/bin/env node
 | 
			
		||||
'use strict'
 | 
			
		||||
 | 
			
		||||
process.exit(require('./') ? 0 : 1)
 | 
			
		||||
							
								
								
									
										3
									
								
								express-server/node_modules/is-ci/index.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								express-server/node_modules/is-ci/index.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,3 @@
 | 
			
		||||
'use strict'
 | 
			
		||||
 | 
			
		||||
module.exports = require('ci-info').isCI
 | 
			
		||||
							
								
								
									
										69
									
								
								express-server/node_modules/is-ci/package.json
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										69
									
								
								express-server/node_modules/is-ci/package.json
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,69 @@
 | 
			
		||||
{
 | 
			
		||||
  "_from": "is-ci@^1.0.10",
 | 
			
		||||
  "_id": "is-ci@1.2.1",
 | 
			
		||||
  "_inBundle": false,
 | 
			
		||||
  "_integrity": "sha512-s6tfsaQaQi3JNciBH6shVqEDvhGut0SUXr31ag8Pd8BBbVVlcGfWhpPmEOoM6RJ5TFhbypvf5yyRw/VXW1IiWg==",
 | 
			
		||||
  "_location": "/is-ci",
 | 
			
		||||
  "_phantomChildren": {},
 | 
			
		||||
  "_requested": {
 | 
			
		||||
    "type": "range",
 | 
			
		||||
    "registry": true,
 | 
			
		||||
    "raw": "is-ci@^1.0.10",
 | 
			
		||||
    "name": "is-ci",
 | 
			
		||||
    "escapedName": "is-ci",
 | 
			
		||||
    "rawSpec": "^1.0.10",
 | 
			
		||||
    "saveSpec": null,
 | 
			
		||||
    "fetchSpec": "^1.0.10"
 | 
			
		||||
  },
 | 
			
		||||
  "_requiredBy": [
 | 
			
		||||
    "/update-notifier"
 | 
			
		||||
  ],
 | 
			
		||||
  "_resolved": "https://registry.npmjs.org/is-ci/-/is-ci-1.2.1.tgz",
 | 
			
		||||
  "_shasum": "e3779c8ee17fccf428488f6e281187f2e632841c",
 | 
			
		||||
  "_spec": "is-ci@^1.0.10",
 | 
			
		||||
  "_where": "D:\\5CHITM\\Diplomarbeit\\SmartShopper\\SmartShopper\\express-server\\node_modules\\update-notifier",
 | 
			
		||||
  "author": {
 | 
			
		||||
    "name": "Thomas Watson Steen",
 | 
			
		||||
    "email": "w@tson.dk",
 | 
			
		||||
    "url": "https://twitter.com/wa7son"
 | 
			
		||||
  },
 | 
			
		||||
  "bin": {
 | 
			
		||||
    "is-ci": "bin.js"
 | 
			
		||||
  },
 | 
			
		||||
  "bugs": {
 | 
			
		||||
    "url": "https://github.com/watson/is-ci/issues"
 | 
			
		||||
  },
 | 
			
		||||
  "bundleDependencies": false,
 | 
			
		||||
  "coordinates": [
 | 
			
		||||
    55.778255,
 | 
			
		||||
    12.593033
 | 
			
		||||
  ],
 | 
			
		||||
  "dependencies": {
 | 
			
		||||
    "ci-info": "^1.5.0"
 | 
			
		||||
  },
 | 
			
		||||
  "deprecated": false,
 | 
			
		||||
  "description": "Detect if the current environment is a CI server",
 | 
			
		||||
  "devDependencies": {
 | 
			
		||||
    "clear-require": "^1.0.1",
 | 
			
		||||
    "standard": "^11.0.1"
 | 
			
		||||
  },
 | 
			
		||||
  "homepage": "https://github.com/watson/is-ci",
 | 
			
		||||
  "keywords": [
 | 
			
		||||
    "ci",
 | 
			
		||||
    "continuous",
 | 
			
		||||
    "integration",
 | 
			
		||||
    "test",
 | 
			
		||||
    "detect"
 | 
			
		||||
  ],
 | 
			
		||||
  "license": "MIT",
 | 
			
		||||
  "main": "index.js",
 | 
			
		||||
  "name": "is-ci",
 | 
			
		||||
  "repository": {
 | 
			
		||||
    "type": "git",
 | 
			
		||||
    "url": "git+https://github.com/watson/is-ci.git"
 | 
			
		||||
  },
 | 
			
		||||
  "scripts": {
 | 
			
		||||
    "test": "standard && node test.js"
 | 
			
		||||
  },
 | 
			
		||||
  "version": "1.2.1"
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user