d7fee66d89
* feat: [console-lite] - calculate slippage (price impact) * feat: [console-lite] - move slippage from estimates to deal-ticket-size * feat: [console-lite] - slippage - add a bunch of unit tests * feat: [console-lite] - slippage - * feat: [console-lite] - slippage - fix some faillings, add enum instead text entry * feat: [console-lite] - slippage - adjust tooltip info text * feat: [console-lite] - slippage - fix failling cache * feat: [console-lite] - slippage - resolve conflicts after rebase * feat: [console-lite] - slippage - fixes after review * feat: [console-lite] - slippage - fixes after review * feat: [console-lite] - slippage - add memo back to the hook * feat: [console-lite] - slippage - add back order book model outside hook * feat: [console-lite] - slippage - adjust some int test * feat: [console-lite] - slippage - adjust some int test Co-authored-by: maciek <maciek@vegaprotocol.io>
44 lines
1.2 KiB
JSON
44 lines
1.2 KiB
JSON
{
|
|
"$schema": "../../node_modules/nx/schemas/project-schema.json",
|
|
"sourceRoot": "libs/deposits/src",
|
|
"projectType": "library",
|
|
"tags": [],
|
|
"targets": {
|
|
"build": {
|
|
"executor": "@nrwl/web:rollup",
|
|
"outputs": ["{options.outputPath}"],
|
|
"options": {
|
|
"outputPath": "dist/libs/deposits",
|
|
"tsConfig": "libs/deposits/tsconfig.lib.json",
|
|
"project": "libs/deposits/package.json",
|
|
"entryFile": "libs/deposits/src/index.ts",
|
|
"external": ["react/jsx-runtime"],
|
|
"rollupConfig": "@nrwl/react/plugins/bundle-rollup",
|
|
"compiler": "babel",
|
|
"assets": [
|
|
{
|
|
"glob": "libs/deposits/README.md",
|
|
"input": ".",
|
|
"output": "."
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"lint": {
|
|
"executor": "@nrwl/linter:eslint",
|
|
"outputs": ["{options.outputFile}"],
|
|
"options": {
|
|
"lintFilePatterns": ["libs/deposits/**/*.{ts,tsx,js,jsx}"]
|
|
}
|
|
},
|
|
"test": {
|
|
"executor": "@nrwl/jest:jest",
|
|
"outputs": ["coverage/libs/deposits"],
|
|
"options": {
|
|
"jestConfig": "libs/deposits/jest.config.ts",
|
|
"passWithNoTests": true
|
|
}
|
|
}
|
|
}
|
|
}
|