Skip to content

Commit

Permalink
Move @types/* from devDependencies to dependencies (#272)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
andywer authored and Morley Zhi committed Apr 29, 2019
1 parent 7578d61 commit 92bf693
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down

0 comments on commit 92bf693

Please sign in to comment.