{ "_args": [ [ { "raw": "is-ci@^1.0.10", "scope": null, "escapedName": "is-ci", "name": "is-ci", "rawSpec": "^1.0.10", "spec": ">=1.0.10 <2.0.0", "type": "range" }, "/home/jdaugherty/work/GT2/GT2-Android/node_modules/jest/node_modules/jest-cli" ] ], "_from": "is-ci@>=1.0.10 <2.0.0", "_id": "is-ci@1.1.0", "_inCache": true, "_location": "/is-ci", "_nodeVersion": "9.3.0", "_npmOperationalInternal": { "host": "s3://npm-registry-packages", "tmp": "tmp/is-ci-1.1.0.tgz_1514994233368_0.7427189615555108" }, "_npmUser": { "name": "watson", "email": "w@tson.dk" }, "_npmVersion": "5.6.0", "_phantomChildren": {}, "_requested": { "raw": "is-ci@^1.0.10", "scope": null, "escapedName": "is-ci", "name": "is-ci", "rawSpec": "^1.0.10", "spec": ">=1.0.10 <2.0.0", "type": "range" }, "_requiredBy": [ "/jest-util", "/jest/jest-cli" ], "_resolved": "https://registry.npmjs.org/is-ci/-/is-ci-1.1.0.tgz", "_shasum": "247e4162e7860cebbdaf30b774d6b0ac7dcfe7a5", "_shrinkwrap": null, "_spec": "is-ci@^1.0.10", "_where": "/home/jdaugherty/work/GT2/GT2-Android/node_modules/jest/node_modules/jest-cli", "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" }, "coordinates": [ 56.0093252, 11.9592058 ], "dependencies": { "ci-info": "^1.0.0" }, "description": "Detect if your code is running on a CI server", "devDependencies": { "clear-require": "^1.0.1", "standard": "^10.0.3" }, "directories": {}, "dist": { "integrity": "sha512-c7TnwxLePuqIlxHgr7xtxzycJPegNHFuIrBkwbf8hc58//+Op1CqFkyS+xnIMkwn9UsJIwc174BIjkyBmSpjKg==", "shasum": "247e4162e7860cebbdaf30b774d6b0ac7dcfe7a5", "tarball": "https://registry.npmjs.org/is-ci/-/is-ci-1.1.0.tgz" }, "gitHead": "8153f8844ca631a4c95b7dbf30c034f5dbef6023", "homepage": "https://github.com/watson/is-ci", "keywords": [ "ci", "continuous", "integration", "test", "detect" ], "license": "MIT", "main": "index.js", "maintainers": [ { "name": "watson", "email": "w@tson.dk" } ], "name": "is-ci", "optionalDependencies": {}, "readme": "# is-ci\n\nReturns `true` if the current environment is a Continuous Integration\nserver.\n\nPlease [open an issue](https://github.com/watson/is-ci/issues) if your\nCI server isn't properly detected :)\n\n[![Build status](https://travis-ci.org/watson/is-ci.svg?branch=master)](https://travis-ci.org/watson/is-ci)\n[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat)](https://github.com/feross/standard)\n\n## Installation\n\n```\nnpm install is-ci --save\n```\n\n## Programmatic Usage\n\n```js\nconst isCI = require('is-ci')\n\nif (isCI) {\n console.log('The code is running on a CI server')\n}\n```\n\n## CLI Usage\n\nFor CLI usage you need to have the `is-ci` executable in your `PATH`.\nThere's a few ways to do that:\n\n- Either install the module globally using `npm install is-ci -g`\n- Or add the module as a dependency to your app in which case it can be\n used inside your package.json scripts as is\n- Or provide the full path to the executable, e.g.\n `./node_modules/.bin/is-ci`\n\n```\nis-ci && echo \"This is a CI server\"\n```\n\n## Supported CI tools\n\nOfficially supported CI servers:\n\n- [Travis CI](http://travis-ci.org)\n- [CircleCI](http://circleci.com)\n- [Jenkins CI](https://jenkins-ci.org)\n- [Hudson](http://hudson-ci.org)\n- [Bamboo](https://www.atlassian.com/software/bamboo)\n- [TeamCity](https://www.jetbrains.com/teamcity/)\n- [Team Foundation Server](https://www.visualstudio.com/en-us/products/tfs-overview-vs.aspx)\n- [GitLab CI](https://about.gitlab.com/gitlab-ci/)\n- [Codeship](https://codeship.com)\n- [Drone.io](https://drone.io)\n- [Magnum CI](https://magnum-ci.com)\n- [Semaphore](https://semaphoreci.com)\n- [AppVeyor](http://www.appveyor.com)\n- [Buildkite](https://buildkite.com)\n- [TaskCluster](http://docs.taskcluster.net)\n- [GoCD](https://www.go.cd/)\n- [Bitbucket Pipelines](https://bitbucket.org/product/features/pipelines)\n\nOther CI tools using environment variables like `BUILD_ID` or `CI` would be detected as well.\n\n## License\n\nMIT\n", "readmeFilename": "README.md", "repository": { "type": "git", "url": "git+https://github.com/watson/is-ci.git" }, "scripts": { "test": "standard && node test.js" }, "version": "1.1.0" }