Files
api/tsconfig.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

34 lines
1.1 KiB
JSON

{
"extends": "./node_modules/@polkadot/dev/config/tsconfig",
"exclude": [
"build/**/*",
"**/build/**/*",
"docs/examples/promise/90_typegen/*"
],
"compilerOptions": {
"baseUrl": ".",
"paths":
{
"@polkadot/api": ["packages/api/src"],
"@polkadot/api/*": ["packages/api/src/*"],
"@polkadot/api-contract": ["packages/api-contract/src"],
"@polkadot/api-contract/*": ["packages/api-contract/src/*"],
"@polkadot/api-derive": ["packages/api-derive/src"],
"@polkadot/api-derive/*": ["packages/api-derive/src/*"],
"@polkadot/metadata": ["packages/metadata/src"],
"@polkadot/metadata/*": ["packages/metadata/src/*"],
"@polkadot/rpc-core": ["packages/rpc-core/src"],
"@polkadot/rpc-core/*": ["packages/rpc-core/src/*"],
"@polkadot/rpc-provider": ["packages/rpc-provider/src"],
"@polkadot/rpc-provider/*": ["packages/rpc-provider/src/*"],
"@polkadot/types": ["packages/types/src"],
"@polkadot/types/*": ["packages/types/src/*"]
},
"skipLibCheck": true,
"typeRoots": [
"./node_modules/@polkadot/ts",
"./node_modules/@types"
]
}
}