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 11/npm-debug.log
22/node_modules /
33/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 11environment :
2- nodejs_version : " 7 "
2+ nodejs_version : " 10 "
33
44init :
55- 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 33 "version" : " 1.0.1" ,
44 "description" : " A deterministic random number generator for node" ,
55 "main" : " index.js" ,
6+ "types" : " index.d.ts" ,
67 "scripts" : {
7- "test" : " standard index.js && mocha"
8+ "test" : " nyc --reporter=lcov mocha" ,
9+ "lint" : " standard index.js"
810 },
911 "repository" : {
1012 "type" : " git" ,
2022 },
2123 "homepage" : " https://github.com/bash/random.js#readme" ,
2224 "devDependencies" : {
25+ "coveralls" : " ^3.0.9" ,
2326 "mocha" : " ^6.2.2" ,
24- "standard " : " ^14.3.1 " ,
25- "istanbul " : " ^0.4.5 "
27+ "nyc " : " ^15.0.0 " ,
28+ "standard " : " ^14.3.1 "
2629 }
2730}
Original file line number Diff line number Diff line change 11# 🎲 random.js
22
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 )
44[ ![ 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 )
66[ ![ Code Climate] ( https://codeclimate.com/github/bash/random.js/badges/gpa.svg )] ( https://codeclimate.com/github/bash/random.js )
77[ ![ Standard - JavaScript Style Guide] ( https://img.shields.io/badge/code_style-standard-brightgreen.svg )] ( http://standardjs.com/ )
88[ ![ NPM] ( https://img.shields.io/npm/v/@rschmidmeister/random.js.svg )] ( https://www.npmjs.com/package/@rschmidmeister/random.js )
99[ ![ dependencies Status] ( https://david-dm.org/bash/random.js/status.svg )] ( https://david-dm.org/bash/random.js )
1010[ ![ 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 )
1312
1413
1514A [ deterministic random number] ( https://www.xkcd.com/221/ ) generator for node.
You can’t perform that action at this time.
0 commit comments