dbb21a4745
* fix: order validation updates & warning messages * fix: add extra warning message * fix: order list and test * fix: text-ui on loading market data... * fix: when market is cancelled it can't accept orders * fix: display rejection reason behind stopped orders * fix: remove punctuation marks from warning/reasoning message * fix: format order-feedback * fix: order feedback test * fix: do not use market state to display * fix: format use order valid hook * fix: add required and min price on edit and deal ticket * fix: remove price validation on market orders as there is no price input * fix: check format * fix: format error labels * fix: order validation test * Update package.json with test:all * Update libs/orders/src/lib/components/order-feedback/order-feedback.tsx Co-authored-by: candida-d <62548908+candida-d@users.noreply.github.com> * fix: add step on input * fix: remove decimal places format on init * fix: input type fix * fix: order edit price with toDecimals stepper * fix: remove set value and null check in form * fix: use form validate on edit * fix: try fixing test after step added * fix: making rejection reason startcase again Co-authored-by: candida-d <62548908+candida-d@users.noreply.github.com>
175 lines
5.5 KiB
JSON
175 lines
5.5 KiB
JSON
{
|
|
"name": "nx-monorepo",
|
|
"version": "0.0.0",
|
|
"license": "MIT",
|
|
"scripts": {
|
|
"start": "nx serve",
|
|
"build": "nx build",
|
|
"test": "nx test",
|
|
"postinstall": "husky install && yarn tsc -b tools/executors/next && yarn tsc -b tools/executors/webpack",
|
|
"test:all": "nx run-many --all --target=test"
|
|
},
|
|
"engines": {
|
|
"node": ">=16.14.0"
|
|
},
|
|
"private": true,
|
|
"dependencies": {
|
|
"@apollo/client": "^3.5.8",
|
|
"@blueprintjs/icons": "^3.32.0",
|
|
"@emotion/react": "^11.9.0",
|
|
"@emotion/styled": "^11.8.1",
|
|
"@radix-ui/react-accordion": "^0.1.6",
|
|
"@radix-ui/react-dialog": "^0.1.5",
|
|
"@radix-ui/react-dropdown-menu": "^0.1.6",
|
|
"@radix-ui/react-icons": "^1.1.1",
|
|
"@radix-ui/react-popover": "^1.0.0",
|
|
"@radix-ui/react-radio-group": "^0.1.5",
|
|
"@radix-ui/react-select": "^0.1.1",
|
|
"@radix-ui/react-slider": "^1.0.0",
|
|
"@radix-ui/react-tabs": "^0.1.5",
|
|
"@radix-ui/react-tooltip": "^1.0.0",
|
|
"@sentry/nextjs": "^6.19.3",
|
|
"@sentry/react": "^6.19.2",
|
|
"@sentry/tracing": "^6.19.2",
|
|
"@walletconnect/ethereum-provider": "^1.7.5",
|
|
"@web3-react/core": "8.0.20-beta.0",
|
|
"@web3-react/metamask": "8.0.16-beta.0",
|
|
"@web3-react/walletconnect": "^8.0.23-beta.0",
|
|
"ag-grid-community": "^27.0.1",
|
|
"ag-grid-react": "^27.0.1",
|
|
"allotment": "^1.14.5",
|
|
"alpha-lyrae": "vegaprotocol/alpha-lyrae",
|
|
"apollo": "^2.33.9",
|
|
"bignumber.js": "^9.0.2",
|
|
"buffer": "^6.0.3",
|
|
"classnames": "^2.3.1",
|
|
"core-js": "^3.6.5",
|
|
"date-fns": "^2.28.0",
|
|
"duration-js": "^4.0.0",
|
|
"env-cmd": "^10.1.0",
|
|
"ethers": "^5.6.0",
|
|
"graphql": "^15.7.2",
|
|
"graphql-ws": "^5.6.3",
|
|
"i18next": "^20.3.5",
|
|
"i18next-browser-languagedetector": "^6.1.2",
|
|
"immer": "^9.0.12",
|
|
"js-sha3": "^0.8.0",
|
|
"lodash": "^4.17.21",
|
|
"next": "12.0.9",
|
|
"pennant": "^0.4.14",
|
|
"react": "18.2.0",
|
|
"react-copy-to-clipboard": "^5.0.4",
|
|
"react-dom": "^18.2.0",
|
|
"react-hook-form": "^7.27.0",
|
|
"react-i18next": "^11.11.4",
|
|
"react-intersection-observer": "^9.2.2",
|
|
"react-router-dom": "6.3.0",
|
|
"react-syntax-highlighter": "^15.4.5",
|
|
"react-use-websocket": "^3.0.0",
|
|
"react-virtualized-auto-sizer": "^1.0.6",
|
|
"react-window": "^1.8.7",
|
|
"react-window-infinite-loader": "^1.0.7",
|
|
"recharts": "^2.1.2",
|
|
"uuid": "^8.3.2",
|
|
"web-vitals": "^2.1.4",
|
|
"zod": "^3.17.3",
|
|
"zustand": "^4.0.0-rc.1"
|
|
},
|
|
"devDependencies": {
|
|
"@apollo/react-testing": "^4.0.0",
|
|
"@babel/core": "7.12.13",
|
|
"@babel/preset-typescript": "7.12.13",
|
|
"@commitlint/cli": "^16.2.4",
|
|
"@commitlint/config-conventional": "^16.2.4",
|
|
"@ethersproject/experimental": "^5.6.0",
|
|
"@nrwl/cli": "13.10.3",
|
|
"@nrwl/cypress": "13.10.3",
|
|
"@nrwl/eslint-plugin-nx": "13.10.3",
|
|
"@nrwl/jest": "13.10.3",
|
|
"@nrwl/linter": "13.10.3",
|
|
"@nrwl/next": "13.10.3",
|
|
"@nrwl/nx-cloud": "13.3.1",
|
|
"@nrwl/react": "13.10.3",
|
|
"@nrwl/storybook": "13.10.3",
|
|
"@nrwl/tao": "13.8.1",
|
|
"@nrwl/web": "13.10.3",
|
|
"@nrwl/workspace": "13.10.3",
|
|
"@sentry/webpack-plugin": "^1.18.8",
|
|
"@storybook/addon-a11y": "^6.4.19",
|
|
"@storybook/addon-essentials": "~6.4.12",
|
|
"@storybook/builder-webpack5": "~6.4.12",
|
|
"@storybook/core-server": "~6.4.12",
|
|
"@storybook/manager-webpack5": "~6.4.12",
|
|
"@storybook/react": "~6.4.12",
|
|
"@svgr/webpack": "^5.4.0",
|
|
"@testing-library/jest-dom": "^5.16.2",
|
|
"@testing-library/react": "13.3.0",
|
|
"@testing-library/user-event": "^14.4.1",
|
|
"@types/classnames": "^2.3.1",
|
|
"@types/faker": "^5.5.8",
|
|
"@types/jest": "27.4.1",
|
|
"@types/lodash": "^4.14.171",
|
|
"@types/node": "18.0.4",
|
|
"@types/prismjs": "^1.26.0",
|
|
"@types/react": "18.0.1",
|
|
"@types/react-copy-to-clipboard": "^5.0.2",
|
|
"@types/react-dom": "18.0.6",
|
|
"@types/react-router-dom": "5.3.1",
|
|
"@types/react-virtualized-auto-sizer": "^1.0.1",
|
|
"@types/react-window": "^1.8.5",
|
|
"@types/react-window-infinite-loader": "^1.0.6",
|
|
"@types/uuid": "^8.3.4",
|
|
"@typescript-eslint/eslint-plugin": "5.32.0",
|
|
"@typescript-eslint/parser": "5.32.0",
|
|
"autoprefixer": "^10.4.2",
|
|
"babel-jest": "27.5.1",
|
|
"babel-loader": "8.1.0",
|
|
"cypress": "^10.2.0",
|
|
"cypress-cucumber-preprocessor": "^4.3.1",
|
|
"cypress-real-events": "^1.7.1",
|
|
"dotenv": "^16.0.1",
|
|
"eslint": "8.12.0",
|
|
"eslint-config-next": "12.1.2",
|
|
"eslint-config-prettier": "8.1.0",
|
|
"eslint-plugin-cypress": "^2.10.3",
|
|
"eslint-plugin-import": "2.25.2",
|
|
"eslint-plugin-jest": "^26.1.5",
|
|
"eslint-plugin-jsx-a11y": "6.5.1",
|
|
"eslint-plugin-react": "7.27.0",
|
|
"eslint-plugin-react-hooks": "4.3.0",
|
|
"eslint-plugin-unicorn": "^41.0.0",
|
|
"faker": "^5.5.3",
|
|
"glob": "^8.0.1",
|
|
"husky": "^7.0.4",
|
|
"jest": "27.2.3",
|
|
"jest-canvas-mock": "^2.3.1",
|
|
"jest-websocket-mock": "^2.3.0",
|
|
"lint-staged": "^12.3.3",
|
|
"mock-apollo-client": "^1.2.0",
|
|
"npmlog": "^6.0.2",
|
|
"nx": "13.10.1",
|
|
"prettier": "^2.5.1",
|
|
"postcss": "^8.4.6",
|
|
"react-test-renderer": "17.0.2",
|
|
"recast": "^0.21.1",
|
|
"regenerator-runtime": "0.13.7",
|
|
"replace-in-file": "^6.3.2",
|
|
"resize-observer-polyfill": "^1.5.1",
|
|
"sass": "1.49.9",
|
|
"storybook-addon-themes": "^6.1.0",
|
|
"ts-jest": "27.0.5",
|
|
"tailwindcss": "^3.0.23",
|
|
"type-fest": "^2.12.2",
|
|
"typescript": "~4.5.2",
|
|
"tslib": "^2.0.0",
|
|
"url-loader": "^3.0.0"
|
|
},
|
|
"lint-staged": {
|
|
"*": "yarn nx format:write --uncommitted",
|
|
"*.{ts,tsx,js,jsx}": "yarn eslint --fix"
|
|
},
|
|
"resolutions": {
|
|
"graphql": "15.8.0"
|
|
}
|
|
}
|