Files
api/packages/typegen/package.json
T
Jaco Greeff 044efbc6de Convert jsonrpc & typings to definitions (#2064)
* Convert jsonrpc & typings to definitions

* Handle empty interface generation (no types)

* Move jsonrpc/create to rpc-core/create

* Create imports

* Remove jsonrpc package, generate rpc-core from defs

* Debug :)

* Generate RPC definitions via interfaces

* Generate md docs

* Remove @polkadot/jsonrpc refs (at least packages)

* No empty types

* Add PAHNTOM "cleanup" gen

* *sigh* regex loop

* Update mock for no jsonrpc

* Add definition export types

* Cleanup linting

* Mocking 1 fix

* Mocking 2 fix

* rpc-core tests updates

* CHANGELOG & docs

* Add jsonrpc (already mapped) to interfaces

* Add aliasses for RPCs

* Fix rpc-core tests
2020-03-19 14:40:54 +01:00

52 lines
1.5 KiB
JSON

{
"name": "@polkadot/typegen",
"version": "1.8.0-beta.2",
"description": "Type generation scripts",
"main": "index.js",
"bin": {
"polkadot-types-chain-info": "./scripts/polkadot-types-chain-info.js",
"polkadot-types-from-chain": "./scripts/polkadot-types-from-chain.js",
"polkadot-types-from-defs": "./scripts/polkadot-types-from-defs.js",
"polkadot-types-internal-interfaces": "./scripts/polkadot-types-internal-interfaces.js",
"polkadot-types-internal-metadata": "./scripts/polkadot-types-internal-metadata.js"
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org"
},
"repository": {
"type": "git",
"url": "git+https://github.com/polkadot-js/api.git"
},
"keywords": [
"Polkadot",
"JsonRPC"
],
"author": "Jaco Greeff <jacogr@gmail.com>",
"maintainers": [
"Jaco Greeff <jacogr@gmail.com>"
],
"contributors": [],
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/polkadot-js/api/issues"
},
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/typegen#readme",
"dependencies": {
"@babel/core": "^7.8.7",
"@babel/register": "^7.8.6",
"@babel/runtime": "^7.8.7",
"@polkadot/api": "1.8.0-beta.2",
"@polkadot/metadata": "1.8.0-beta.2",
"@polkadot/rpc-provider": "1.8.0-beta.2",
"@polkadot/types": "1.8.0-beta.2",
"@polkadot/util": "^2.6.2",
"websocket": "^1.0.31",
"yargs": "^15.3.0"
},
"devDependencies": {
"@types/websocket": "^1.0.0",
"@types/yargs": "^15.0.4"
}
}