Adjust detectPackage for direct dependencies (#3227)

* Dependency detection

* packageInfo imports

* Dependency array

* Bump common

* Remove detectPackage comments (available in util)

* Bump
This commit is contained in:
Jaco Greeff
2021-02-27 15:25:05 +01:00
committed by GitHub
parent 7d11e6f9a5
commit 3ebf7eb424
29 changed files with 310 additions and 243 deletions
+9 -6
View File
@@ -3,7 +3,10 @@
"version": "3.10.3-12",
"description": "Common functions used across Polkadot, derived from RPC calls and storage queries.",
"main": "index.js",
"sideEffects": false,
"sideEffects": [
"./detectPackage.js",
"./detectPackage.mjs"
],
"author": "Jaco Greeff <jacogr@gmail.com>",
"maintainers": [],
"contributors": [],
@@ -12,17 +15,17 @@
"bugs": "https://github.com/polkadot-js/api/issues",
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/api-derive#readme",
"dependencies": {
"@babel/runtime": "^7.13.7",
"@babel/runtime": "^7.13.8",
"@polkadot/api": "3.10.3-12",
"@polkadot/rpc-core": "3.10.3-12",
"@polkadot/types": "3.10.3-12",
"@polkadot/util": "^5.8.1",
"@polkadot/util-crypto": "^5.8.1",
"@polkadot/x-rxjs": "^5.8.1",
"@polkadot/util": "^5.8.2-5",
"@polkadot/util-crypto": "^5.8.2-5",
"@polkadot/x-rxjs": "^5.8.2-5",
"bn.js": "^4.11.9"
},
"devDependencies": {
"@polkadot/keyring": "^5.8.1",
"@polkadot/keyring": "^5.8.2-5",
"@polkadot/rpc-provider": "3.10.3-12"
}
}