# ci-scripts

> Useful scripts to execute from your CI runner. For example, post to Slack and GitHub when your build completes:

Latest version **0.11.0** (published 2019-10-14) · 0 weekly downloads

## Install

```sh
npm install ci-scripts
pnpm add ci-scripts
yarn add ci-scripts
bun add ci-scripts
```

Provides the command `ci`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.11.0 |
| Published | 2019-10-14 |
| First published | 2018-05-12 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 11 |
| Unpacked size | 57.8 KB |
| Known vulnerabilities | 0 (+3 in 2 direct dependencies) |
| Install scripts | no |
| GitHub stars | 1 |
| Maintainers | streamich |
| Keywords | ci, scripts, ci-scripts, travis, circle, travisci, circleci |

## Links

- npm: https://www.npmjs.com/package/ci-scripts
- Repository: https://github.com/streamich/ci-scripts
- Homepage: https://github.com/streamich/ci-scripts#readme
- Issues: https://github.com/streamich/ci-scripts/issues
- npm.io page: https://npm.io/package/ci-scripts

## Dependencies (11)

- [s3](https://npm.io/package/s3.md) ^4.4.0
- [chalk](https://npm.io/package/chalk.md) ^2.4.1
- [marked](https://npm.io/package/marked.md) ^0.7.0
- [rimraf](https://npm.io/package/rimraf.md) ^2.6.2
- [request](https://npm.io/package/request.md) ^2.85.0
- [cross-ci](https://npm.io/package/cross-ci.md) ^1.0.0
- [minimist](https://npm.io/package/minimist.md) ^1.2.0
- [shell-escape](https://npm.io/package/shell-escape.md) ^0.2.0
- [marked-terminal](https://npm.io/package/marked-terminal.md) ^2.0.0
- [request-promise](https://npm.io/package/request-promise.md) ^4.2.2
- [conventional-recommended-bump](https://npm.io/package/conventional-recommended-bump.md) ^2.0.9

## Alternatives

- [random-seedable](https://npm.io/package/random-seedable.md) — 27.9K weekly downloads
- [n2words](https://npm.io/package/n2words.md) — 22.2K weekly downloads
- [@stdlib/math-base-special-factorialln](https://npm.io/package/@stdlib/math-base-special-factorialln.md) — 5.7K weekly downloads
- [@stdlib/math-base-special-abs2](https://npm.io/package/@stdlib/math-base-special-abs2.md) — 1.7K weekly downloads
- [commons-math-interpolation](https://npm.io/package/commons-math-interpolation.md) — 1.4K weekly downloads

## Recent versions

- 0.11.0 (latest) — 2019-10-14
- 0.10.0 — 2018-05-16
- 0.9.0 — 2018-05-15
- 0.8.2 — 2018-05-12
- 0.8.1 — 2018-05-12

## README

# ci-scripts

Useful scripts to execute from your CI runner. For example,
post to Slack and GitHub when your build completes:


##### Install

```
npm install ci-scripts
```

##### CLI usage


```
ci slack
```

##### Node usage

```js
const {exec} = require('ci-scripts');

exec(['echo'], {message: 'It works'});
```

## Docs


##### Commands

- [`cmd`](./docs/cmd.md)
- [`echo`](./docs/echo.md)
- [`github-post`](./docs/github-post.md)
- [`github-upload`](./docs/github-upload.md)
- [`help`](./docs/help.md)
- [`readme`](./docs/readme.md)
- [`s3-upload`](./docs/s3-upload.md)
- [`slack`](./docs/slack.md)
- [`version`](./docs/version.md)




##### CLI Params

```
ci-scripts v0.10.0

  Usage: ci <command> [sub-command] [subsub-command] [options]

  Use e.g. "ci slack --webhook=http://..." will post message to Slack".
  See https://github.com/streamich/ci-scripts for more commands.

  --config              Path to configuration file [default: "ci.config.js"]
  --plan, --dry-run     Do not touch or write anything, but show the commands
  --debug               Print debug information
  -h, --help            Print this help
  -v, --version         Print version number
  -V, --verbose         Verbose output
```

##### `ci.config.js` File

Optionally, you can add a `ci.config.js` file to your project, see [config file reference](./docs/ci.config.md).

---
_Source: https://npm.io/package/ci-scripts · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
