diff --git a/LICENSE.md b/LICENSE.md index b9c823d..47dd346 100644 --- a/LICENSE.md +++ b/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 diff --git a/README.md b/README.md index f50c73d..afecba7 100644 --- a/README.md +++ b/README.md @@ -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 @@ -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 @@ -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 @@ -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. \ No newline at end of file +This module is inspired from [unexpected-moment](https://github.com/unexpectedjs/unexpected-moment) assertions. \ No newline at end of file diff --git a/documentation/assertions/date/to-equal-time.md b/documentation/assertions/date/to-equal-time.md index 86cc5ea..5bd7fdc 100644 --- a/documentation/assertions/date/to-equal-time.md +++ b/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(); diff --git a/package.json b/package.json index 7cef74e..23d0499 100644 --- a/package.json +++ b/package.json @@ -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 .", @@ -21,11 +22,12 @@ }, "keywords": [ "unexpected", + "unexpected.js", "date", "time", "datetime", - "testing", "test", + "assert", "assertions" ], "author": { @@ -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",