Make es6-promise a peer dependency so that users don't end up with two copies of the promise library and instanceof works correctly.

This commit is contained in:
Kenton Varda committed 2014-08-15 16:57:22 -07:00
1 parent 890b92fd0a
commit 23f7dd3753
1 file changed
+3 -3
+3 -3
View File
@@ -1,6 +1,6 @@
{
"name": "capnp",
"version": "0.1.3",
"version": "0.1.4",
"description": "A wrapper for the C++ Cap'n Proto library",
"keywords": [ "capnproto", "serialization" ],
"homepage": "http://capnproto.org",
@@ -17,8 +17,8 @@
],
"main": "src/node-capnp/capnp.js",
"dependencies": {
"es6-promise": "1.0.x"
"peerDependencies": {
"es6-promise": "1.x"
},
"scripts": {
"install": "node ./build.js",