Mark detectPackage as sideEffect

This commit is contained in:
Jaco Greeff
2020-12-17 13:57:48 +01:00
parent 236ad16406
commit 340554a659
10 changed files with 102 additions and 93 deletions
+7 -4
View File
@@ -4,7 +4,10 @@
"description": "Helpers to extract information from runtime metadata",
"main": "index.js",
"module": "index.mjs",
"sideEffects": false,
"sideEffects": [
"./detectPackage.js",
"./detectPackage.mjs"
],
"repository": "github:polkadot-js/api",
"author": "Jaco Greeff <jacogr@gmail.com>",
"maintainers": [],
@@ -16,11 +19,11 @@
"@babel/runtime": "^7.12.5",
"@polkadot/types": "3.0.2-7",
"@polkadot/types-known": "3.0.2-7",
"@polkadot/util": "^5.0.2-5",
"@polkadot/util-crypto": "^5.0.2-5",
"@polkadot/util": "^5.0.2-6",
"@polkadot/util-crypto": "^5.0.2-6",
"bn.js": "^4.11.9"
},
"devDependencies": {
"@polkadot/keyring": "^5.0.2-5"
"@polkadot/keyring": "^5.0.2-6"
}
}