Skip to content

Commit 2c91b37

Browse files
committed
move invariant to dependencies.
When installing this projects on a fresh project it complains about having no access to invariant, since most projects include this automatically this won't show in bigger ones. Moving this `dependency` to the `dependencies` array makes the installation for this automatic.
1 parent 21af7e0 commit 2c91b37

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@
4949
"author": "kadi.kraman@formidable.com",
5050
"license": "MIT",
5151
"peerDependencies": {
52-
"invariant": "^2.2.2",
5352
"react-native": ">=0.60.0"
5453
},
5554
"devDependencies": {
@@ -72,5 +71,7 @@
7271
"react": "^16.1.1",
7372
"react-native": "^0.50.3"
7473
},
75-
"dependencies": {}
74+
"dependencies": {
75+
"invariant": "^2.2.2"
76+
},
7677
}

0 commit comments

Comments
 (0)