UNPKG

@zkochan/pnpm

Version:

Fast, disk space efficient package manager

112 lines (111 loc) 4.83 kB
{ "_args": [ [ { "raw": "is-ci@1.2.1", "scope": null, "escapedName": "is-ci", "name": "is-ci", "rawSpec": "1.2.1", "spec": "1.2.1", "type": "version" }, "/home/zkochan/src/pnpm/packages/pnpm" ] ], "_from": "is-ci@1.2.1", "_hasShrinkwrap": false, "_id": "is-ci@1.2.1", "_location": "/is-ci", "_nodeVersion": "10.10.0", "_npmOperationalInternal": { "host": "s3://npm-registry-packages", "tmp": "tmp/is-ci_1.2.1_1536479359206_0.9434570997663676" }, "_npmUser": { "name": "watson", "email": "w@tson.dk" }, "_npmVersion": "6.4.1", "_phantomChildren": {}, "_requested": { "raw": "is-ci@1.2.1", "scope": null, "escapedName": "is-ci", "name": "is-ci", "rawSpec": "1.2.1", "spec": "1.2.1", "type": "version" }, "_requiredBy": [ "/", "/supi", "/update-notifier" ], "_resolved": "https://registry.npmjs.org/is-ci/-/is-ci-1.2.1.tgz", "_shasum": "e3779c8ee17fccf428488f6e281187f2e632841c", "_shrinkwrap": null, "_spec": "is-ci@1.2.1", "_where": "/home/zkochan/src/pnpm/packages/pnpm", "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": [ 55.778255, 12.593033 ], "dependencies": { "ci-info": "^1.5.0" }, "description": "Detect if the current environment is a CI server", "devDependencies": { "clear-require": "^1.0.1", "standard": "^11.0.1" }, "directories": {}, "dist": { "integrity": "sha512-s6tfsaQaQi3JNciBH6shVqEDvhGut0SUXr31ag8Pd8BBbVVlcGfWhpPmEOoM6RJ5TFhbypvf5yyRw/VXW1IiWg==", "shasum": "e3779c8ee17fccf428488f6e281187f2e632841c", "tarball": "https://registry.npmjs.org/is-ci/-/is-ci-1.2.1.tgz", "fileCount": 5, "unpackedSize": 3313, "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJblNCACRA9TVsSAnZWagAAs4gP+wR868vEV+HggZKOkre6\nZp2tQNjUYfMCNjQGzgfERek1wnsZ8yQ/sklC9G+Z+ykkmxhAbWgNWESAqCug\ngzqp+/TiMii0bRm0IOGd+TWLd4b4SPNm7+baF+b5uvQS4WdoYNZyunnBlYaP\ngts9nEG+/n/QcxCBDPTFX2JitTFPyJhmFv1wm4GlMOherBap4OwG98c88nJ0\nVarif07+m6+/CjgshNnVrjOU5JU5z6ETr7QpTBaIWclVErijkvwbaUWowfMr\nbKUH51PRojSU4O0NObFWEh02O4RGL+tCy5B/Xhvpzq8edpLfwUhQ2Vlqlap/\nvLgzsOPfW5tNe7SvHIyam6PYmd4b6YTL/P55UvCipftL5MrBYgDr5GR5kgJG\nYb1H0LN3jabKl3ITQvfQSmoAlafiuJV/RiEQZVgUWHgEKH4xzoHvFvdPNj5M\nfYPMjsouxRyi+h+eU91uEMI4+vnWEOj1RlEcleyTucnLDvgmg7CjFCtTdVgw\nqPNeq2ioOlONiig959ZEvIRVgwLQFt/N2HBqRv/YEWWEZ5hJPJDZm57ssaeY\nkcRl8V++5YcEkLDT+VGMW9c//AaUb/ostV58CfFBIA1NBQcYB9ihJk2Hn7Ek\nf3KlvmayplxxaJfWjL2CJ4fl4FuUtiEi5xM/GgxFyo51Za+LFYV5YR+iUzPJ\noqwd\r\n=3jhe\r\n-----END PGP SIGNATURE-----\r\n" }, "gitHead": "c441f9f2924e5c51656ee04e5cc203eba227c092", "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[![npm](https://img.shields.io/npm/v/is-ci.svg)](https://www.npmjs.com/package/is-ci)\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```bash\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```bash\nis-ci && echo \"This is a CI server\"\n```\n\n## Supported CI tools\n\nRefer to [ci-info](https://github.com/watson/ci-info#supported-ci-tools) docs for all supported CI's\n\n## License\n\n[MIT](LICENSE)\n", "readmeFilename": "README.md", "repository": { "type": "git", "url": "git+https://github.com/watson/is-ci.git" }, "scripts": { "test": "standard && node test.js" }, "version": "1.2.1" }