f721a21d0f
* initial commit for adding chartt lib with pennant chart * add pennant package, fix dynamic import of chart * use updated pennant library * Create separate chart and depth-chart libs * Remove leftover generated files * Use more targeted queries and subscriptions * Fix jestConfig value for depth-chart * Add jest-canvas-mock * Refactor updateDepthUpdate function * Add updateDpethUpdate test * Add jest-canvas-mock to chart tests * Avoid using any type in test * Use correct casing for gql queries and subscriptions * Make ButtonRadio generic in option value type * Add padding and margin to chart container * Remove unused subscriptions and methods from data source * Use correct React imports Co-authored-by: Matthew Russell <mattrussell36@gmail.com>
41 lines
1.6 KiB
JSON
41 lines
1.6 KiB
JSON
{
|
|
"compileOnSave": false,
|
|
"compilerOptions": {
|
|
"rootDir": ".",
|
|
"sourceMap": true,
|
|
"declaration": false,
|
|
"moduleResolution": "node",
|
|
"emitDecoratorMetadata": true,
|
|
"experimentalDecorators": true,
|
|
"importHelpers": true,
|
|
"target": "es2015",
|
|
"module": "esnext",
|
|
"lib": ["es2017", "dom"],
|
|
"skipLibCheck": true,
|
|
"skipDefaultLibCheck": true,
|
|
"baseUrl": ".",
|
|
"paths": {
|
|
"@vegaprotocol/accounts": ["libs/accounts/src/index.ts"],
|
|
"@vegaprotocol/chart": ["libs/chart/src/index.ts"],
|
|
"@vegaprotocol/cypress": ["libs/cypress/src/index.ts"],
|
|
"@vegaprotocol/deal-ticket": ["libs/deal-ticket/src/index.ts"],
|
|
"@vegaprotocol/deposits": ["libs/deposits/src/index.ts"],
|
|
"@vegaprotocol/depth-chart": ["libs/depth-chart/src/index.ts"],
|
|
"@vegaprotocol/market-list": ["libs/market-list/src/index.ts"],
|
|
"@vegaprotocol/network-stats": ["libs/network-stats/src/index.ts"],
|
|
"@vegaprotocol/order-list": ["libs/order-list/src/index.ts"],
|
|
"@vegaprotocol/positions": ["libs/positions/src/index.ts"],
|
|
"@vegaprotocol/react-helpers": ["libs/react-helpers/src/index.ts"],
|
|
"@vegaprotocol/tailwindcss-config": [
|
|
"libs/tailwindcss-config/src/index.js"
|
|
],
|
|
"@vegaprotocol/trades": ["libs/trades/src/index.ts"],
|
|
"@vegaprotocol/types": ["libs/types/src/index.ts"],
|
|
"@vegaprotocol/ui-toolkit": ["libs/ui-toolkit/src/index.ts"],
|
|
"@vegaprotocol/wallet": ["libs/wallet/src/index.ts"],
|
|
"@vegaprotocol/web3": ["libs/web3/src/index.ts"]
|
|
}
|
|
},
|
|
"exclude": ["node_modules", "tmp"]
|
|
}
|