mirror of
https://github.com/tenrok/vue-json-viewer.git
synced 2026-06-20 20:00:37 +03:00
Make dependencies peer
https://nodejs.org/es/blog/npm/peer-dependencies/ Peer dependencies were created specifically for plugins and it's better to use them instead of just dependencies. A plugin package is meant to be used with another "host" package, even though it does not always directly use the host package.
This commit is contained in:
+1
-1
@@ -45,7 +45,7 @@
|
|||||||
"email": "sacha.stafyniak@gmail.com"
|
"email": "sacha.stafyniak@gmail.com"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"dependencies": {
|
"peerDependencies": {
|
||||||
"clipboard": "^2.0.4",
|
"clipboard": "^2.0.4",
|
||||||
"vue": "^2.6.9"
|
"vue": "^2.6.9"
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user