Skip to content

Commit

Permalink
docs: fix package.json examples: s/script/scripts (#722)
Browse files Browse the repository at this point in the history
  • Loading branch information
hartraft authored and JaKXz committed Nov 16, 2017
1 parent 9f2894f commit 4ff7a38
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ npm i nyc --save-dev

```json
{
"script": {
"scripts": {
"test": "nyc mocha"
}
}
Expand Down Expand Up @@ -360,7 +360,7 @@ integrated with coveralls and travis-ci.org:

```json
{
"script": {
"scripts": {
"test": "nyc mocha",
"coverage": "nyc report --reporter=text-lcov | coveralls"
}
Expand Down Expand Up @@ -398,7 +398,7 @@ Here's how to get `nyc` integrated with codecov and travis-ci.org:

```json
{
"script": {
"scripts": {
"test": "nyc tap ./test/*.js",
"coverage": "nyc report --reporter=text-lcov > coverage.lcov && codecov"
}
Expand Down

0 comments on commit 4ff7a38

Please sign in to comment.