Split generation scripts into @polkadot/typegen (#1875)

* Split generation scripts into @polkadot/typegen

* Remove moved files

* CC overrides

* interfaces typo

* Cleanup imports

* Some import combinations

* Updates

* Generation updates

* Cleanups, split js wrapper & ts logic

* Rename jiggle 1

* Rename jiggle 2

* Style cleanups

* Expose enry function for scripts

* Typo

* Update script copy & include locations

* CC exclude location

* Minor adjustments

* argv parsing into main
This commit is contained in:
Jaco Greeff
2020-02-17 08:09:59 +01:00
committed by GitHub
parent fd7b38e781
commit 8a152ea4c0
38 changed files with 909 additions and 547 deletions
+2 -12
View File
@@ -3,10 +3,6 @@
"version": "1.3.0-beta.5",
"description": "Implementation of the Parity codec",
"main": "index.js",
"bin": {
"polkadot-types-from-chain": "./scripts/polkadot-types-from-chain.js",
"polkadot-types-from-defs": "./scripts/polkadot-types-from-defs.js"
},
"keywords": [
"Polkadot",
"JsonRPC"
@@ -30,23 +26,17 @@
},
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/types#readme",
"dependencies": {
"@babel/core": "^7.8.4",
"@babel/register": "^7.8.3",
"@babel/runtime": "^7.8.4",
"@polkadot/api": "^1.3.0-beta.5",
"@polkadot/metadata": "^1.3.0-beta.5",
"@polkadot/util": "^2.3.1",
"@polkadot/util-crypto": "^2.3.1",
"@types/bn.js": "^4.11.6",
"bn.js": "^5.1.1",
"memoizee": "^0.4.14",
"rxjs": "^6.5.4",
"websocket": "^1.0.31",
"yargs": "^15.1.0"
"rxjs": "^6.5.4"
},
"devDependencies": {
"@polkadot/keyring": "^2.3.1",
"@types/memoizee": "^0.4.3",
"@types/yargs": "^15.0.3"
"@types/memoizee": "^0.4.3"
}
}