1.1.0 • Published 5 years ago

set-ci v1.1.0

Weekly downloads
3
License
MIT
Repository
github
Last release
5 years ago

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 <marc.brookman@gmail.com>",
  "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
  }
}%
1.1.0

5 years ago

1.0.0

6 years ago