Skip to content

Commit

Permalink
Changed the scripts a bit for coveralls
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelverschoof committed Mar 2, 2020
1 parent d32ee5b commit 4217fc8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
10 changes: 4 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[![MIT License][license-image]][license-url]
[![Coverage Status](https://coveralls.io/repos/github/michaelverschoof/prime-time/badge.svg?branch=master)](https://coveralls.io/github/michaelverschoof/prime-time?branch=master)
[![Coverage Status][coverall-image]][coverall-url]


# Prime Time
Expand All @@ -11,10 +11,6 @@ The library is available as a [npm package][npm]. To install the package simply
```bash
npm install prime-time --save
```
or with yarn:
```bash
yarn add prime-time
```

## Calling the functionality
Basically all you need to create the object is call `primetime()`. This will result in a PrimeTime object containing the current time.
Expand All @@ -35,4 +31,6 @@ Named after the [Alan Parsons Project][alan-parsons-project] song [Prime Time][y
[youtube-video]: https://www.youtube.com/watch?v=P6NNJq0FZN4

[license-image]: http://img.shields.io/badge/license-MIT-blue.svg?style=flat
[license-url]: LICENSE
[license-url]: LICENSE
[coverall-image]: https://coveralls.io/repos/github/michaelverschoof/prime-time/badge.svg?branch=master
[coverall-url]: https://coveralls.io/github/michaelverschoof/prime-time?branch=master
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,13 @@
"scripts": {
"clean": "rm -rf dist/*",
"build": "tsc",
"clean-build": "npm run clean && npm run build",
"test": "jest",
"test-coverage": "jest --coverage",
"test-coveralls": "jest --coverage --coverageReporters=text-lcov | coveralls",
"prerelease": "npm run clean-build && npm run test-coverage"
"clean-build": "npm run clean && npm run build",
"clean-build-test": "npm run clean && npm run build && npm run test",
"clean-build-test-coverage": "npm run clean && npm run build && npm run test-coverage",
"prerelease": "npm run clean-build && npm run test-coveralls"
},
"keywords": [
"date",
Expand Down

0 comments on commit 4217fc8

Please sign in to comment.