From 92bf69312fa80a52dba7a7da39274e2cbc5df0b2 Mon Sep 17 00:00:00 2001 From: Andy Wermke Date: Mon, 29 Apr 2019 16:24:44 +0200 Subject: [PATCH] Move @types/* from devDependencies to dependencies (#272) * Move @types/* from devDependencies to dependencies Otherwise a simple `npm install stellar-sdk` will lead to a working stellar-sdk installation with broken types, since the types that its types dependent upon will be missing. * Use broader @types/node version range --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index c0e502148..1dbaf502a 100644 --- a/package.json +++ b/package.json @@ -45,8 +45,6 @@ }, "homepage": "https://github.com/stellar/js-stellar-sdk", "devDependencies": { - "@types/node": "^11.13.0", - "@types/stellar-base": "^0.10.2", "axios-mock-adapter": "^1.16.0", "babel-cli": "^6.26.0", "babel-core": "~6.26.3", @@ -113,6 +111,8 @@ "webpack-bundle-analyzer": "2.13.1" }, "dependencies": { + "@types/node": ">= 8", + "@types/stellar-base": "^0.10.2", "axios": "^0.18.0", "bignumber.js": "^4.0.0", "detect-node": "^2.0.4",