Skip to content
This repository was archived by the owner on Mar 3, 2023. It is now read-only.

Commit 96412f5

Browse files
Feature/set UI routes (#11)
2 parents c2719b5 + d776873 commit 96412f5

22 files changed

+836
-265
lines changed

.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ build/bin
2424
node_modules
2525
frontend/dist
2626

27+
# Assets
28+
frontend/src/assets/images/pokemon
29+
2730
# VS Code
2831
.vscode
2932

frontend/.nvmrc

22 Bytes
Binary file not shown.

frontend/.prettierignore

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
node_modules/
2+
dist/
3+
wailsjs/
4+
pnpm-lock.yaml
5+
.pnpm-store
6+
src/assets/*

frontend/.prettierrc

+19-19
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
{
2-
"trailingComma": "es5",
3-
"semi": true,
4-
"tabWidth": 2,
5-
"singleQuote": true,
6-
"printWidth": 80,
7-
"useTabs": false,
8-
"arrowParens": "always",
9-
"bracketSpacing": true,
10-
"bracketSameLine": false,
11-
"jsxSingleQuote": false,
12-
"endOfLine": "auto",
13-
"overrides": [
14-
{
15-
"files": "*.{md,yml,yaml,json}",
16-
"options": {
17-
"tabWidth": 2
18-
}
19-
}
20-
]
2+
"trailingComma": "es5",
3+
"semi": true,
4+
"tabWidth": 2,
5+
"singleQuote": true,
6+
"printWidth": 120,
7+
"useTabs": false,
8+
"arrowParens": "always",
9+
"bracketSpacing": true,
10+
"bracketSameLine": false,
11+
"jsxSingleQuote": false,
12+
"endOfLine": "auto",
13+
"overrides": [
14+
{
15+
"files": "*.{md,yml,yaml,json}",
16+
"options": {
17+
"tabWidth": 2
18+
}
19+
}
20+
]
2121
}

frontend/package.json

+9-2
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,25 @@
66
"scripts": {
77
"dev": "vite",
88
"build": "tsc && vite build",
9-
"preview": "vite preview"
9+
"preview": "vite preview",
10+
"format": "prettier -w ./src/**/*",
11+
"format:check": "prettier -c ./src/**/*"
1012
},
1113
"dependencies": {
14+
"@babel/core": "^7.20.2",
15+
"@tanstack/query-core": "^4.18.0",
16+
"ethers": "^5.7.2",
1217
"react": "^18.2.0",
13-
"react-dom": "^18.2.0"
18+
"react-dom": "^18.2.0",
19+
"siwe": "^1.1.6"
1420
},
1521
"devDependencies": {
1622
"@types/node": "^18.11.9",
1723
"@types/react": "^18.0.17",
1824
"@types/react-dom": "^18.0.6",
1925
"@types/styled-components": "^5.1.26",
2026
"@vitejs/plugin-react": "^2.0.1",
27+
"prettier": "^2.8.0",
2128
"react-is": "^18.2.0",
2229
"react-router-dom": "^6.4.3",
2330
"react-toastify": "^9.1.1",

0 commit comments

Comments
 (0)