Skip to content

Commit

Permalink
chore(readme-devdep): Added instructions on installing as a devDepend…
Browse files Browse the repository at this point in the history
…ency

Signed-off-by: Quinn Turner <[email protected]>
  • Loading branch information
Quinn Turner authored and quinnturner committed Nov 21, 2018
1 parent bff281a commit be0cb20
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,20 @@ For `CircleCI`:
command: npm i
```

### Installing as a devDependency

For maximum security and to improve the speed of your cached CI build,
you can consider adding this package as a devDependency on a static version.

> `npm install --save-dev audit-ci@{STATIC_VERSION}`

```yml
scripts:
# This script should be the first that runs to limit the risk of
# executing a script from a compromised NPM package.
- if [ "${TRAVIS_PULL_REQUEST}" != "false" ]; then audit-ci -l; fi
```

## Options

| Args | Alias | Description |
Expand Down

0 comments on commit be0cb20

Please sign in to comment.