b24bbb3376
* feat: move app to pages features * feat: route changes * Use React Router, Remove SSR * Fix account menu * Remove app folder * remove old useParams * Moved pages back to pages and refactor names * add layout to route * clean up * create hooks for api fetching * fix refetch of all data on tx complete * formatting * fix: fixed the wallet-connector race condition * remove cosmjs/stargate (#202) * remove cosmjs/stargate * add Yusuf as code-orwner * Singleton client (#203) * remove cosmjs/stargate * add Yusuf as code-orwner * create signleton client and refactor vaults api * update client name, add apollo apr env * Setup validate-env and remove checking from apis * uncomment vaults * Resolve comments * fix: html templating, add checks for hydration&window object, reduce bundle size (#204) * fix: tests * Fix routing and wallet client (#205) * Add header to router (as layout) * Refactor Wallet component * Remove server fallback packages webpack * add missing dependency for useeffect --------- Co-authored-by: Bob van der Helm <34470358+bobthebuidlr@users.noreply.github.com> Co-authored-by: Linkie Link <linkielink.dev@gmail.com>
66 lines
1.9 KiB
JSON
66 lines
1.9 KiB
JSON
{
|
|
"name": "mars-v2-frontend",
|
|
"version": "2.0.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"build": "yarn validate-env && next build",
|
|
"dev": "next dev",
|
|
"test": "jest",
|
|
"lint": "eslint ./src/ && yarn prettier-check",
|
|
"format": "eslint ./src/ --fix && prettier --write ./src/",
|
|
"prettier-check": "prettier --ignore-path .gitignore --check ./src/",
|
|
"start": "next start",
|
|
"validate-env": "node ./validate-env"
|
|
},
|
|
"dependencies": {
|
|
"@cosmjs/cosmwasm-stargate": "^0.30.1",
|
|
"@marsprotocol/wallet-connector": "^1.5.9",
|
|
"@sentry/nextjs": "^7.51.2",
|
|
"@tanstack/react-table": "^8.9.1",
|
|
"@tippyjs/react": "^4.2.6",
|
|
"bignumber.js": "^9.1.1",
|
|
"classnames": "^2.3.2",
|
|
"graphql-request": "^6.0.0",
|
|
"moment": "^2.29.4",
|
|
"next": "^13.4.1",
|
|
"react": "^18.2.0",
|
|
"react-device-detect": "^2.2.3",
|
|
"react-dom": "^18.2.0",
|
|
"react-draggable": "^4.4.5",
|
|
"react-router-dom": "^6.11.1",
|
|
"react-spring": "^9.7.1",
|
|
"react-toastify": "^9.1.2",
|
|
"react-use-clipboard": "^1.0.9",
|
|
"recharts": "^2.6.0",
|
|
"swr": "^2.1.5",
|
|
"tailwind-scrollbar-hide": "^1.1.7",
|
|
"zustand": "^4.3.8"
|
|
},
|
|
"devDependencies": {
|
|
"@svgr/webpack": "^8.0.1",
|
|
"@testing-library/jest-dom": "^5.16.5",
|
|
"@testing-library/react": "^14.0.0",
|
|
"@types/node": "^20.1.1",
|
|
"@types/react": "18.2.6",
|
|
"@types/react-dom": "18.2.4",
|
|
"autoprefixer": "^10.4.14",
|
|
"babel-jest": "^29.5.0",
|
|
"dotenv": "^16.0.3",
|
|
"eslint": "8.40.0",
|
|
"eslint-config-next": "^13.4.1",
|
|
"eslint-plugin-import": "^2.27.5",
|
|
"identity-obj-proxy": "^3.0.0",
|
|
"jest": "^29.5.0",
|
|
"jest-environment-jsdom": "^29.5.0",
|
|
"postcss": "^8.4.23",
|
|
"prettier": "^2.8.8",
|
|
"prettier-plugin-tailwindcss": "^0.2.8",
|
|
"tailwindcss": "^3.3.2",
|
|
"typescript": "5.0.4"
|
|
},
|
|
"resolutions": {
|
|
"@types/react": "18.0.26",
|
|
"@types/react-dom": "18.0.9"
|
|
}
|
|
}
|