{ "_args": [ [ { "raw": "ci-info@^1.0.0", "scope": null, "escapedName": "ci-info", "name": "ci-info", "rawSpec": "^1.0.0", "spec": ">=1.0.0 <2.0.0", "type": "range" }, "/home/jdaugherty/work/GT2/GT2-Android/node_modules/is-ci" ] ], "_from": "ci-info@>=1.0.0 <2.0.0", "_id": "ci-info@1.1.2", "_inCache": true, "_location": "/ci-info", "_nodeVersion": "9.2.0", "_npmOperationalInternal": { "host": "s3://npm-registry-packages", "tmp": "tmp/ci-info-1.1.2.tgz_1510945915514_0.49366038176231086" }, "_npmUser": { "name": "watson", "email": "w@tson.dk" }, "_npmVersion": "5.5.1", "_phantomChildren": {}, "_requested": { "raw": "ci-info@^1.0.0", "scope": null, "escapedName": "ci-info", "name": "ci-info", "rawSpec": "^1.0.0", "spec": ">=1.0.0 <2.0.0", "type": "range" }, "_requiredBy": [ "/is-ci" ], "_resolved": "https://registry.npmjs.org/ci-info/-/ci-info-1.1.2.tgz", "_shasum": "03561259db48d0474c8bdc90f5b47b068b6bbfb4", "_shrinkwrap": null, "_spec": "ci-info@^1.0.0", "_where": "/home/jdaugherty/work/GT2/GT2-Android/node_modules/is-ci", "author": { "name": "Thomas Watson Steen", "email": "w@tson.dk", "url": "https://twitter.com/wa7son" }, "bugs": { "url": "https://github.com/watson/ci-info/issues" }, "coordinates": [ 55.777569, 12.589702 ], "dependencies": {}, "description": "Get details about the current Continuous Integration environment", "devDependencies": { "clear-require": "^1.0.1", "standard": "^10.0.3" }, "directories": {}, "dist": { "integrity": "sha512-uTGIPNx/nSpBdsF6xnseRXLLtfr9VLqkz8ZqHXr3Y7b6SftyRxBGjwMtJj1OhNbmlc1wZzLNAlAcvyIiE8a6ZA==", "shasum": "03561259db48d0474c8bdc90f5b47b068b6bbfb4", "tarball": "https://registry.npmjs.org/ci-info/-/ci-info-1.1.2.tgz" }, "gitHead": "bd4e2a1e4ff616764c4967e83f3e3b3c415ae476", "homepage": "https://github.com/watson/ci-info", "keywords": [ "ci", "continuous", "integration", "test", "detect" ], "license": "MIT", "main": "index.js", "maintainers": [ { "name": "watson", "email": "w@tson.dk" } ], "name": "ci-info", "optionalDependencies": {}, "readme": "# ci-info\n\nGet details about the current Continuous Integration environment.\n\nPlease [open an issue](https://github.com/watson/ci-info/issues) if your\nCI server isn't properly detected :)\n\n[![Build status](https://travis-ci.org/watson/ci-info.svg?branch=master)](https://travis-ci.org/watson/ci-info)\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 ci-info --save\n```\n\n## Usage\n\n```js\nvar ci = require('ci-info')\n\nif (ci.isCI) {\n console.log('The name of the CI server is:', ci.name)\n} else {\n console.log('This program is not running on a CI server')\n}\n```\n\n## Supported CI tools\n\nOfficially supported CI servers:\n\n- [AWS CodeBuild](https://aws.amazon.com/codebuild/)\n- [AppVeyor](http://www.appveyor.com)\n- [Bamboo](https://www.atlassian.com/software/bamboo) by Atlassian\n- [Bitbucket Pipelines](https://bitbucket.org/product/features/pipelines)\n- [Buildkite](https://buildkite.com)\n- [CircleCI](http://circleci.com)\n- [Codeship](https://codeship.com)\n- [Drone](https://drone.io)\n- [GitLab CI](https://about.gitlab.com/gitlab-ci/)\n- [GoCD](https://www.go.cd/)\n- [Hudson](http://hudson-ci.org)\n- [Jenkins CI](https://jenkins-ci.org)\n- [Magnum CI](https://magnum-ci.com)\n- [Semaphore](https://semaphoreci.com)\n- [TaskCluster](http://docs.taskcluster.net)\n- [Team Foundation Server](https://www.visualstudio.com/en-us/products/tfs-overview-vs.aspx) by Microsoft\n- [TeamCity](https://www.jetbrains.com/teamcity/) by JetBrains\n- [Travis CI](http://travis-ci.org)\n\n## API\n\n### `ci.name`\n\nA string. Will contain the name of the CI server the code is running on.\nIf not CI server is detected, it will be `null`.\n\nDon't depend on the value of this string not to change for a specific\nvendor. If you find your self writing `ci.name === 'Travis CI'`, you\nmost likely want to use `ci.TRAVIS` instead.\n\n### `ci.isCI`\n\nA boolean. Will be `true` if the code is running on a CI server.\nOtherwise `false`.\n\nSome CI servers not listed here might still trigger the `ci.isCI`\nboolean to be set to `true` if they use certain vendor neutral\nenvironment variables. In those cases `ci.name` will be `null` and no\nvendor specific boolean will be set to `true`.\n\n### `ci.`\n\nThe following vendor specific boolean constants are exposed. A constant\nwill be `true` if the code is determined to run on the given CI server.\nOtherwise `false`.\n\n- `ci.APPVEYOR`\n- `ci.BAMBOO`\n- `ci.BITBUCKET`\n- `ci.BUILDKITE`\n- `ci.CIRCLE`\n- `ci.CODEBUILD`\n- `ci.CODESHIP`\n- `ci.DRONE`\n- `ci.GITLAB`\n- `ci.GOCD`\n- `ci.HUDSON`\n- `ci.JENKINS`\n- `ci.MAGNUM`\n- `ci.SEMAPHORE`\n- `ci.TASKCLUSTER`\n- `ci.TEAMCITY`\n- `ci.TFS` (Team Foundation Server)\n- `ci.TRAVIS`\n\n## License\n\nMIT\n", "readmeFilename": "README.md", "repository": { "type": "git", "url": "git+https://github.com/watson/ci-info.git" }, "scripts": { "test": "standard && node test.js" }, "version": "1.1.2" }