Skip to content
This repository was archived by the owner on Feb 19, 2025. It is now read-only.

Commit 07eba00

Browse files
author
Ruben Schmidmeister
committed
Fix coverage, add usage
1 parent eb923f2 commit 07eba00

File tree

3 files changed

+10
-3
lines changed

3 files changed

+10
-3
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ install:
77
- npm install -g codecov istanbul
88

99
script:
10-
- ./node_modules/.bin/standard
11-
- istanbul cover ./node_modules/mocha/bin/_mocha --reporter lcovonly -- -R spec
10+
- ./node_modules/.bin/standard index.js
11+
- istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec
1212
- codecov

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,10 @@ Install with:
1717
npm i --save @rschmidmeister/random.js
1818
```
1919

20+
Usage:
21+
22+
```
23+
const random = require('@rschmidmeister/random.js')
24+
25+
console.log(random())
26+
```

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"description": "A deterministic random number generator for node",
55
"main": "index.js",
66
"scripts": {
7-
"test": "standard . && mocha"
7+
"test": "standard index.js && mocha"
88
},
99
"repository": {
1010
"type": "git",

0 commit comments

Comments
 (0)