eb814705f2
* MP-2344: first draft for the fund account flow * tidy: refactor * fix: fixed the callback functions * fix: fixed the toast message for funding * fix: some logic fixes * feat: enabled closing of “fund account” * fix: z-1 to isolate use isolate to create a stacking context * tidy: deleted icons * MP-2344: updated the tooltip * MP-2344: new create and funding logic * MP-2344: finished AccountList UI * tidy: svg icon updates * chore: updated dependencies * feat: convert inputValues to amounts and amounts to inputValues * fix: build fix * fix: fixed imports * fix: pr updated * fix: fixed the SWR queries to not override themselves * tidy: refactor * feat: added TokenInputWithSlider * tidy: refactor TokenInputWithSlider * feat: preparations for the accountBalance calculations * fix: removed formatCurrency from store * feat: added global Coin type * tidy: refactor delete and create credit account * add useCallback to FundAccount * update api + swr * refactor naming, ssr accounts menu * wip: added static params and href to DesktopNavigation * fix: added TODO statement * add middleware to get url * feat: added scrolling to the active account * tidy: UX improvement on the accounts list * fix: updated the page params * fix: fixed the navigation * fix: fixed the getRouteParams * fix: some logic updates * fix: fixed the accountMenu view * Keep page when selecting new account * fix: fixed useParams * fix: navigation update * fix pr comments * fixed build --------- Co-authored-by: Bob van der Helm <34470358+bobthebuidlr@users.noreply.github.com>
57 lines
1.6 KiB
JSON
57 lines
1.6 KiB
JSON
{
|
|
"name": "mars-v2-frontend",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"build": "next build",
|
|
"dev": "next dev",
|
|
"lint": "eslint ./src/ && yarn prettier-check",
|
|
"format": "eslint ./src/ --fix && prettier --write ./src/",
|
|
"prettier-check": "prettier --ignore-path .gitignore --check ./src/",
|
|
"start": "next start"
|
|
},
|
|
"dependencies": {
|
|
"@cosmjs/cosmwasm-stargate": "^0.30.1",
|
|
"@cosmjs/stargate": "^0.30.1",
|
|
"@marsprotocol/wallet-connector": "^1.5.3",
|
|
"@sentry/nextjs": "^7.46.0",
|
|
"@tanstack/react-table": "^8.8.5",
|
|
"@tippyjs/react": "^4.2.6",
|
|
"bignumber.js": "^9.1.1",
|
|
"classnames": "^2.3.2",
|
|
"graphql-request": "^5.2.0",
|
|
"moment": "^2.29.4",
|
|
"next": "^13.2.4",
|
|
"react": "^18.2.0",
|
|
"react-device-detect": "^2.2.3",
|
|
"react-dom": "^18.2.0",
|
|
"react-draggable": "^4.4.5",
|
|
"react-spring": "^9.7.1",
|
|
"react-toastify": "^9.1.2",
|
|
"react-use-clipboard": "^1.0.9",
|
|
"recharts": "^2.5.0",
|
|
"swr": "^2.1.2",
|
|
"tailwind-scrollbar-hide": "^1.1.7",
|
|
"zustand": "^4.3.7"
|
|
},
|
|
"devDependencies": {
|
|
"@svgr/webpack": "^7.0.0",
|
|
"@types/node": "^18.15.11",
|
|
"@types/react": "18.0.32",
|
|
"@types/react-dom": "18.0.11",
|
|
"autoprefixer": "^10.4.14",
|
|
"eslint": "8.37.0",
|
|
"eslint-config-next": "^13.2.4",
|
|
"eslint-plugin-import": "^2.27.5",
|
|
"postcss": "^8.4.21",
|
|
"prettier": "^2.8.7",
|
|
"prettier-plugin-tailwindcss": "^0.2.6",
|
|
"tailwindcss": "^3.3.1",
|
|
"typescript": "5.0.3"
|
|
},
|
|
"resolutions": {
|
|
"@types/react": "18.0.26",
|
|
"@types/react-dom": "18.0.9"
|
|
}
|
|
}
|