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/react-helpers/src",
|
|
"projectType": "library",
|
|
"tags": [],
|
|
"targets": {
|
|
"build": {
|
|
"executor": "@nrwl/web:rollup",
|
|
"outputs": ["{options.outputPath}"],
|
|
"options": {
|
|
"outputPath": "dist/libs/react-helpers",
|
|
"tsConfig": "libs/react-helpers/tsconfig.lib.json",
|
|
"project": "libs/react-helpers/package.json",
|
|
"entryFile": "libs/react-helpers/src/index.ts",
|
|
"external": ["react/jsx-runtime"],
|
|
"rollupConfig": "@nrwl/react/plugins/bundle-rollup",
|
|
"compiler": "babel",
|
|
"assets": [
|
|
{
|
|
"glob": "libs/react-helpers/README.md",
|
|
"input": ".",
|
|
"output": "."
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"lint": {
|
|
"executor": "@nrwl/linter:eslint",
|
|
"outputs": ["{options.outputFile}"],
|
|
"options": {
|
|
"lintFilePatterns": ["libs/react-helpers/**/*.{ts,tsx,js,jsx}"]
|
|
}
|
|
},
|
|
"test": {
|
|
"executor": "@nrwl/jest:jest",
|
|
"outputs": ["coverage/libs/react-helpers"],
|
|
"options": {
|
|
"jestConfig": "libs/react-helpers/jest.config.ts",
|
|
"passWithNoTests": true
|
|
}
|
|
}
|
|
}
|
|
}
|