set-ci
v1.1.0
Published
Sets continuous integration variables on a key in a package.json
Downloads
3
Readme
set-ci
Sets continuous integration variables on a key in a package.json
$ npm init -y
$ npx set-ci
$ cat package.json
{
"name": "test",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [],
"author": "Marc Bachmann <[email protected]>",
"license": "MIT",
"ci": {
"isCi": true,
"name": "Drone",
"service": "drone",
"commit": "0ffa90db60889e35cf67958eaa0aec7eb8cd12b1",
"tag": "some-commit-tag",
"build": "87",
"branch": "some-commit-branch",
"job": "2",
"pr": "4234",
"isPr": true,
"slug": "livingdocsIO/set-ci"
},
"customKey": {
"isCi": false
}
}%