Skip to content

Commit

Permalink
fix: docs and package / update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
sushantdhiman committed May 20, 2018
1 parent ee42ac4 commit aa43883
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 16 deletions.
2 changes: 1 addition & 1 deletion LICENSE.md
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2017 Sushant Dhiman
Copyright (c) 2017-present Sushant Dhiman

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
10 changes: 5 additions & 5 deletions README.md
Expand Up @@ -5,7 +5,7 @@
[![Coverage Status](https://coveralls.io/repos/sushantdhiman/unexpected-date/badge.svg)](https://coveralls.io/r/sushantdhiman/unexpected-date)
[![Dependency Status](https://david-dm.org/sushantdhiman/unexpected-date.svg)](https://david-dm.org/sushantdhiman/unexpected-date)

Add support for useful date/time assertions to
Support for useful date/time assertions for
[Unexpected.js](https://github.com/unexpectedjs/unexpected)

## Table of Contents
Expand All @@ -15,9 +15,9 @@ Add support for useful date/time assertions to
- [Documentation](#documentation)
- [Notes](#notes)

## Why
## Why

You can use this module if you are looking for
Use this module if you are looking for

- Assertions on native [Date](https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Date) objects
- Dependency free light-weight module
Expand Down Expand Up @@ -57,7 +57,7 @@ expect.use(unexpectedDate);

## Documentation

You can find more detailed docs [here](http://sushantdhiman.com/projects/unexpected-date/)
Checkout documentation site [here](http://sushantdhiman.com/projects/unexpected-date/)

### Assertions Available

Expand All @@ -71,4 +71,4 @@ You can find more detailed docs [here](http://sushantdhiman.com/projects/unexpec

## Notes

This module is inspired from [Unexpected Moment](https://github.com/unexpectedjs/unexpected-moment) assertions.
This module is inspired from [unexpected-moment](https://github.com/unexpectedjs/unexpected-moment) assertions.
2 changes: 1 addition & 1 deletion documentation/assertions/date/to-equal-time.md
@@ -1,4 +1,4 @@
Passes if one moment instance represents the same time as another moment instance.
Passes if one Date instance represents the same time as another Date instance.

```js
var date = new Date();
Expand Down
20 changes: 11 additions & 9 deletions package.json
Expand Up @@ -4,7 +4,8 @@
"description": "Unexpected plugin for date/time assertions",
"main": "lib/unexpected-date.js",
"directories": {
"test": "test"
"test": "test",
"lib": "lib"
},
"scripts": {
"lint": "eslint .",
Expand All @@ -21,11 +22,12 @@
},
"keywords": [
"unexpected",
"unexpected.js",
"date",
"time",
"datetime",
"testing",
"test",
"assert",
"assertions"
],
"author": {
Expand All @@ -38,17 +40,17 @@
},
"homepage": "https://github.com/sushantdhiman/unexpected-date",
"peerDependencies": {
"unexpected": "^10.32.0"
"unexpected": ">=10.32.0"
},
"devDependencies": {
"coveralls": "^2.11.4",
"eslint": "^4.3.0",
"coveralls": "^2.13.3",
"eslint": "^4.19.1",
"istanbul": "^0.4.0",
"mocha": "^2.3.3",
"rollup": "^0.45.2",
"rollup-plugin-commonjs": "^8.0.2",
"rollup-plugin-node-globals": "^1.1.0",
"rollup-plugin-node-resolve": "^3.0.0",
"rollup": "^0.59.1",
"rollup-plugin-commonjs": "^9.1.3",
"rollup-plugin-node-globals": "^1.2.1",
"rollup-plugin-node-resolve": "^3.3.0",
"rollup-plugin-uglify": "^2.0.1",
"unexpected": "^10.32.0",
"unexpected-documentation-site-generator": "^4.0.0",
Expand Down

0 comments on commit aa43883

Please sign in to comment.