From 0f93fcf465017c67485f13003a0167960614bda6 Mon Sep 17 00:00:00 2001 From: igor Date: Wed, 6 Dec 2017 09:47:21 +0200 Subject: [PATCH] Support any version of Jest with package.json --- .gitignore | 3 ++- package.json | 6 ++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 96fa35e..b9ebfd3 100644 --- a/.gitignore +++ b/.gitignore @@ -2,4 +2,5 @@ node_modules dist .idea .jest -*.lock \ No newline at end of file +*.lock +package-lock.json \ No newline at end of file diff --git a/package.json b/package.json index 91d83d2..1eb9b62 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,8 @@ { "name": "jest-specific-snapshot", "version": "0.3.0", + "license": "MIT", + "repository": "https://github.com/igor-dv/jest-specific-snapshot", "main": "dist/index.js", "scripts": { "example": "jest specific.napshot.test", @@ -13,7 +15,7 @@ "cacheDirectory": "./.jest/cache" }, "dependencies": { - "jest-snapshot": "^20.0.3" + "jest-snapshot": ">=20.0.3" }, "devDependencies": { "babel-cli": "^6.24.1", @@ -34,6 +36,6 @@ "prettier": "^1.5.3" }, "peerDependencies": { - "jest": "^20.0.4" + "jest": "*" } }