3a27172e04
* feat: add enviromnemt provider to the ui-toolkit * chore: replace etherscan links * chore: wrap trading app into environment provider * chore: move env provider to react-helpers and wrap every app * chore: remove more env variables from libs and replace them with the env hook * fix: lint * fix: update readme with correct formatting command * fix: warnings for web3 hook * fix: wrap warning in conditional, print message only when env keys are missing * fix: incorrect condition on deposit manager fauceting param Co-authored-by: Matthew Russell <mattrussell36@gmail.com> * fix: cleanup token app ethereum config * chore: add better error handling to the useEnvironment hook * fix: lint * fix: formatting * fix: more lint * fix: throw error if required env variables are missing * fix: remove default eth chain id * fix: add back etherscan testid to withdrawals links * fix: imports * fix: try using babel jest for smart contracts test transpilation * fix: uniform ts syntax * chore: set resolveJsonModule in base tsconfig * fix: add missing data-ids for etherscan links Co-authored-by: Matthew Russell <mattrussell36@gmail.com>
44 lines
1.8 KiB
JSON
44 lines
1.8 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": ".",
|
|
"resolveJsonModule": true,
|
|
"paths": {
|
|
"@vegaprotocol/accounts": ["libs/accounts/src/index.ts"],
|
|
"@vegaprotocol/candles-chart": ["libs/candles-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/market-depth": ["libs/market-depth/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/smart-contracts": ["libs/smart-contracts/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"],
|
|
"@vegaprotocol/withdraws": ["libs/withdraws/src/index.ts"]
|
|
}
|
|
},
|
|
"exclude": ["node_modules", "tmp"]
|
|
}
|