Skip to content

Commit

Permalink
clarify scripts setup in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
zeke committed Feb 8, 2017
1 parent f3d485e commit 32c1fea
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,15 @@ yarn add danger --dev
# or with npm
npm install --save-dev danger
```

If using NPM, add a run command to your `package.json`

```js
"danger": "danger"
```json
{
"scripts": {
"danger": "danger"
}
}
```

Then create a `dangerfile.js` in the project root with some rules:
Expand Down

0 comments on commit 32c1fea

Please sign in to comment.