Skip to content

Commit

Permalink
Support any version of Jest with package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
igor-dv committed Dec 6, 2017
1 parent daef8da commit 0f93fcf
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@ node_modules
dist
.idea
.jest
*.lock
*.lock
package-lock.json
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand All @@ -13,7 +15,7 @@
"cacheDirectory": "./.jest/cache"
},
"dependencies": {
"jest-snapshot": "^20.0.3"
"jest-snapshot": ">=20.0.3"
},
"devDependencies": {
"babel-cli": "^6.24.1",
Expand All @@ -34,6 +36,6 @@
"prettier": "^1.5.3"
},
"peerDependencies": {
"jest": "^20.0.4"
"jest": "*"
}
}

0 comments on commit 0f93fcf

Please sign in to comment.