diff options
Diffstat (limited to 'node_modules/is-ci')
-rw-r--r-- | node_modules/is-ci/CHANGELOG.md | 14 | ||||
-rw-r--r-- | node_modules/is-ci/LICENSE | 21 | ||||
-rw-r--r-- | node_modules/is-ci/README.md | 50 | ||||
-rwxr-xr-x | node_modules/is-ci/bin.js | 4 | ||||
-rw-r--r-- | node_modules/is-ci/index.js | 3 | ||||
-rw-r--r-- | node_modules/is-ci/package.json | 38 |
6 files changed, 0 insertions, 130 deletions
diff --git a/node_modules/is-ci/CHANGELOG.md b/node_modules/is-ci/CHANGELOG.md deleted file mode 100644 index c519277..0000000 --- a/node_modules/is-ci/CHANGELOG.md +++ /dev/null @@ -1,14 +0,0 @@ -# Changelog - -## v2.0.0 - -Breaking changes: - -* Drop support for Node.js end-of-life versions: 0.10, 0.12, 4, 5, 7, - and 9 - -Other changes: - -See [ci-info -changelog](https://github.com/watson/ci-info/blob/master/CHANGELOG.md#v200) -for a list of newly supported CI servers. diff --git a/node_modules/is-ci/LICENSE b/node_modules/is-ci/LICENSE deleted file mode 100644 index 6784683..0000000 --- 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 bc3840a..0000000 --- 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 :) - -[![npm](https://img.shields.io/npm/v/is-ci.svg)](https://www.npmjs.com/package/is-ci) -[![Build status](https://travis-ci.org/watson/is-ci.svg?branch=master)](https://travis-ci.org/watson/is-ci) -[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat)](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/bin.js b/node_modules/is-ci/bin.js deleted file mode 100755 index 0c56c01..0000000 --- a/node_modules/is-ci/bin.js +++ /dev/null @@ -1,4 +0,0 @@ -#!/usr/bin/env node -'use strict' - -process.exit(require('./') ? 0 : 1) diff --git a/node_modules/is-ci/index.js b/node_modules/is-ci/index.js deleted file mode 100644 index d4cb67a..0000000 --- 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 055e57d..0000000 --- a/node_modules/is-ci/package.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "name": "is-ci", - "version": "2.0.0", - "description": "Detect if the current environment is a CI server", - "bin": "bin.js", - "main": "index.js", - "dependencies": { - "ci-info": "^2.0.0" - }, - "devDependencies": { - "clear-module": "^3.0.0", - "standard": "^12.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.778272, - 12.593116 - ] -} |