From d40f6d89bf9084e5d03df1aeea8bffd67662f0c0 Mon Sep 17 00:00:00 2001
From: Daan De Deckere <info@daandd.be>
Date: Mon, 12 Feb 2018 20:04:46 +0100
Subject: [PATCH] Add onSubtractTime and onAddTime hooks (#508)

---
 package.json |   21 ++++++++++++---------
 1 files changed, 12 insertions(+), 9 deletions(-)

diff --git a/package.json b/package.json
index a5c7eb1..f98192c 100644
--- a/package.json
+++ b/package.json
@@ -1,7 +1,7 @@
 {
   "name": "react-datetime",
-  "version": "2.10.1",
-  "description": "A lightweight but complete datetime picker React.js component.",
+  "version": "2.14.0",
+  "description": "A lightweight but complete datetime picker React.js component",
   "homepage": "https://github.com/YouCanBookMe/react-datetime",
   "repository": {
     "type": "git",
@@ -20,12 +20,13 @@
     "build:mac": "./node_modules/.bin/gulp",
     "build:win": "./node_modules/.bin/gulp.cmd",
     "dev": "./node_modules/.bin/webpack-dev-server --config example/webpack.config.js --devtool eval --progress --colors --hot --content-base example",
-    "lint": "./node_modules/.bin/eslint src/ DateTime.js test/",
+    "lint": "./node_modules/.bin/eslint src/ DateTime.js test/ && echo 'Linting OK! ����'",
+    "notify-pre-commit-hook": "echo '### Starting pre-commit hook ����'",
     "test": "./node_modules/.bin/jest",
     "test:typings": "./node_modules/.bin/tsc -p ./typings",
     "test:snapshot": "./node_modules/.bin/jest snapshot",
     "test:snapshot:update": "./node_modules/.bin/jest snapshot --updateSnapshot",
-    "test:all": "npm run test:typings && npm run test",
+    "test:all": "echo 'Running tests...' && npm run test:typings && npm run test && echo 'All tests passed! ����'",
     "test:watch": "./node_modules/.bin/jest --watch"
   },
   "keywords": [
@@ -51,7 +52,8 @@
     "babel-plugin-transform-remove-strict-mode": "0.0.2",
     "babel-preset-es2015": "^6.22.0",
     "babel-preset-react": "^6.22.0",
-    "enzyme": "^2.7.1",
+    "enzyme": "^3.0.0",
+    "enzyme-adapter-react-15": "^1.0.5",
     "eslint": "^3.1.0",
     "gulp": "^3.9.0",
     "gulp-babel": "^6.1",
@@ -66,10 +68,10 @@
     "mocha": "^3.2.0",
     "moment": ">=2.16.0",
     "pre-commit": "^1.1.3",
-    "react": ">=0.13",
+    "react": "^15.5.0",
     "react-addons-test-utils": ">=0.13",
-    "react-dom": ">=0.13",
-    "react-test-renderer": "^15.4.2",
+    "react-dom": "^15.5.0",
+    "react-test-renderer": "^15.5.0",
     "through2": "^2.0.3",
     "typescript": "^2.0.10",
     "webpack": "^2.2.1",
@@ -80,9 +82,10 @@
     "create-react-class": "^15.5.2",
     "object-assign": "^3.0.0",
     "prop-types": "^15.5.7",
-    "react-onclickoutside": "^5.9.0"
+    "react-onclickoutside": "^6.5.0"
   },
   "pre-commit": [
+    "notify-pre-commit-hook",
     "lint",
     "test:all"
   ]

--
Gitblit v1.9.3