This repository was archived by the owner on Feb 19, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 10 files changed +63
-32
lines changed Expand file tree Collapse file tree 10 files changed +63
-32
lines changed Original file line number Diff line number Diff line change
1
+ name : Test
2
+
3
+ on : ["push", "pull_request"]
4
+
5
+ jobs :
6
+ build :
7
+ runs-on : ubuntu-latest
8
+
9
+ steps :
10
+ - uses : actions/checkout@master
11
+
12
+ - name : Use Node.js 10.x
13
+ uses : actions/setup-node@v1
14
+ with :
15
+ version : 10.x
16
+ - run : npm install -g yarn
17
+
18
+ - name : Install Dependencies
19
+ run : yarn install
20
+ - name : Test
21
+ run : yarn test
22
+ - name : Check Code Style
23
+ run : yarn lint
24
+
25
+ - name : Report Coverage
26
+ uses : coverallsapp/github-action@master
27
+ with :
28
+ github-token : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 1
1
/npm-debug.log
2
2
/node_modules /
3
3
/yarn.lock
4
+ /.nyc_output /
5
+ /coverage /
Original file line number Diff line number Diff line change 1
- .travis.yml
1
+ /node_modules /
2
+ /.nyc_output /
3
+ /coverage /
4
+ /yarn.lock
5
+ /.github /
6
+ /.editorconfig
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
environment :
2
- nodejs_version : " 7 "
2
+ nodejs_version : " 10 "
3
3
4
4
init :
5
5
- git config --global core.autocrlf true
Original file line number Diff line number Diff line change
1
+ ## 0.1.0
2
+ Initial release
3
+
4
+ ## 1.0.0
5
+ No changes
6
+
7
+ ## 1.0.1
8
+ - Updated development dependencies
9
+
10
+ ## Unreleased
11
+ - Added typescript type definitions
12
+ -
Original file line number Diff line number Diff line change
1
+ declare module '@rschmidmeister/random.js' {
2
+ // chosen by fair dice roll. guaranteed to be random.
3
+ function random ( ) : number ;
4
+ export = random ;
5
+ }
Original file line number Diff line number Diff line change 3
3
"version" : " 1.0.1" ,
4
4
"description" : " A deterministic random number generator for node" ,
5
5
"main" : " index.js" ,
6
+ "types" : " index.d.ts" ,
6
7
"scripts" : {
7
- "test" : " standard index.js && mocha"
8
+ "test" : " nyc --reporter=lcov mocha" ,
9
+ "lint" : " standard index.js"
8
10
},
9
11
"repository" : {
10
12
"type" : " git" ,
20
22
},
21
23
"homepage" : " https://github.com/bash/random.js#readme" ,
22
24
"devDependencies" : {
25
+ "coveralls" : " ^3.0.9" ,
23
26
"mocha" : " ^6.2.2" ,
24
- "standard " : " ^14.3.1 " ,
25
- "istanbul " : " ^0.4.5 "
27
+ "nyc " : " ^15.0.0 " ,
28
+ "standard " : " ^14.3.1 "
26
29
}
27
30
}
Original file line number Diff line number Diff line change 1
1
# 🎲 random.js
2
2
3
- [ ![ Build Status] ( https://travis-ci.org /bash/random.js.svg?branch=master )] ( https://travis-ci.org /bash/random.js )
3
+ [ ![ Build Status] ( https://github.com /bash/random.js/workflows/Test/badge .svg )] ( https://github.com /bash/node-uname/actions )
4
4
[ ![ Build status] ( https://ci.appveyor.com/api/projects/status/luxy1c20asdk08at?svg=true )] ( https://ci.appveyor.com/project/rschmidmeister/random-js )
5
- [ ![ codecov ] ( https://codecov .io/gh/ bash/random.js/branch/master/graph/ badge.svg )] ( https://codecov .io/gh /bash/random.js )
5
+ [ ![ Coverage Status ] ( https://coveralls .io/repos/github/ bash/random.js/badge.svg?branch=tooling )] ( https://coveralls .io/github /bash/random.js?branch=tooling )
6
6
[ ![ Code Climate] ( https://codeclimate.com/github/bash/random.js/badges/gpa.svg )] ( https://codeclimate.com/github/bash/random.js )
7
7
[ ![ Standard - JavaScript Style Guide] ( https://img.shields.io/badge/code_style-standard-brightgreen.svg )] ( http://standardjs.com/ )
8
8
[ ![ NPM] ( https://img.shields.io/npm/v/@rschmidmeister/random.js.svg )] ( https://www.npmjs.com/package/@rschmidmeister/random.js )
9
9
[ ![ dependencies Status] ( https://david-dm.org/bash/random.js/status.svg )] ( https://david-dm.org/bash/random.js )
10
10
[ ![ devDependencies Status] ( https://david-dm.org/bash/random.js/dev-status.svg )] ( https://david-dm.org/bash/random.js?type=dev )
11
- [ ![ Bitcoin] ( https://img.shields.io/badge/bitcoin-donate-yellow.svg )] ( https://www.coinbase.com/rschmidmeister )
12
- ![ gluten-free] ( https://img.shields.io/badge/gluten-free-green.svg )
11
+ ![ gluten free] ( https://img.shields.io/badge/gluten-free-green.svg )
13
12
14
13
15
14
A [ deterministic random number] ( https://www.xkcd.com/221/ ) generator for node.
You can’t perform that action at this time.
0 commit comments