diff options
Diffstat (limited to 'node_modules/is-ci')
-rw-r--r-- | node_modules/is-ci/LICENSE | 21 | ||||
-rw-r--r-- | node_modules/is-ci/README.md | 50 | ||||
-rw-r--r-- | node_modules/is-ci/index.js | 3 | ||||
-rw-r--r-- | node_modules/is-ci/package.json | 38 |
4 files changed, 0 insertions, 112 deletions
diff --git a/node_modules/is-ci/LICENSE b/node_modules/is-ci/LICENSE deleted file mode 100644 index 67846832e..000000000 --- a/node_modules/is-ci/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -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. diff --git a/node_modules/is-ci/README.md b/node_modules/is-ci/README.md deleted file mode 100644 index bc3840a22..000000000 --- a/node_modules/is-ci/README.md +++ /dev/null @@ -1,50 +0,0 @@ -# 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) diff --git a/node_modules/is-ci/index.js b/node_modules/is-ci/index.js deleted file mode 100644 index d4cb67aa9..000000000 --- a/node_modules/is-ci/index.js +++ /dev/null @@ -1,3 +0,0 @@ -'use strict' - -module.exports = require('ci-info').isCI diff --git a/node_modules/is-ci/package.json b/node_modules/is-ci/package.json deleted file mode 100644 index 2d567b010..000000000 --- a/node_modules/is-ci/package.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "name": "is-ci", - "version": "1.2.1", - "description": "Detect if the current environment is a CI server", - "bin": "bin.js", - "main": "index.js", - "dependencies": { - "ci-info": "^1.5.0" - }, - "devDependencies": { - "clear-require": "^1.0.1", - "standard": "^11.0.1" - }, - "scripts": { - "test": "standard && node test.js" - }, - "repository": { - "type": "git", - "url": "https://github.com/watson/is-ci.git" - }, - "keywords": [ - "ci", - "continuous", - "integration", - "test", - "detect" - ], - "author": "Thomas Watson Steen <w@tson.dk> (https://twitter.com/wa7son)", - "license": "MIT", - "bugs": { - "url": "https://github.com/watson/is-ci/issues" - }, - "homepage": "https://github.com/watson/is-ci", - "coordinates": [ - 55.778255, - 12.593033 - ] -} |