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>
75 lines
1.9 KiB
JSON
75 lines
1.9 KiB
JSON
{
|
|
"$schema": "../../node_modules/nx/schemas/project-schema.json",
|
|
"sourceRoot": "libs/fills/src",
|
|
"projectType": "library",
|
|
"tags": [],
|
|
"targets": {
|
|
"build": {
|
|
"executor": "@nrwl/web:rollup",
|
|
"outputs": ["{options.outputPath}"],
|
|
"options": {
|
|
"outputPath": "dist/libs/fills",
|
|
"tsConfig": "libs/fills/tsconfig.lib.json",
|
|
"project": "libs/fills/package.json",
|
|
"entryFile": "libs/fills/src/index.ts",
|
|
"external": ["react/jsx-runtime"],
|
|
"rollupConfig": "@nrwl/react/plugins/bundle-rollup",
|
|
"compiler": "babel",
|
|
"assets": [
|
|
{
|
|
"glob": "libs/fills/README.md",
|
|
"input": ".",
|
|
"output": "."
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"lint": {
|
|
"executor": "@nrwl/linter:eslint",
|
|
"outputs": ["{options.outputFile}"],
|
|
"options": {
|
|
"lintFilePatterns": ["libs/fills/**/*.{ts,tsx,js,jsx}"]
|
|
}
|
|
},
|
|
"test": {
|
|
"executor": "@nrwl/jest:jest",
|
|
"outputs": ["coverage/libs/fills"],
|
|
"options": {
|
|
"jestConfig": "libs/fills/jest.config.ts",
|
|
"passWithNoTests": true
|
|
}
|
|
},
|
|
"storybook": {
|
|
"executor": "@nrwl/storybook:storybook",
|
|
"options": {
|
|
"uiFramework": "@storybook/react",
|
|
"port": 4400,
|
|
"config": {
|
|
"configFolder": "libs/fills/.storybook"
|
|
}
|
|
},
|
|
"configurations": {
|
|
"ci": {
|
|
"quiet": true
|
|
}
|
|
}
|
|
},
|
|
"build-storybook": {
|
|
"executor": "@nrwl/storybook:build",
|
|
"outputs": ["{options.outputPath}"],
|
|
"options": {
|
|
"uiFramework": "@storybook/react",
|
|
"outputPath": "dist/storybook/fills",
|
|
"config": {
|
|
"configFolder": "libs/fills/.storybook"
|
|
}
|
|
},
|
|
"configurations": {
|
|
"ci": {
|
|
"quiet": true
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|