feat(pages): add a page for viewing and selecting dictionaries

* New deps: `swr` and `react-router-dom`
* New page "Gallery"
* New script (`update-dict-size.js`) for calculate dictionary size
This commit is contained in:
Luyu Cheng
2021-02-07 03:14:42 +08:00
parent b6aaacc2fe
commit b87cf90473
18 changed files with 475 additions and 288 deletions

View File

@@ -35,10 +35,12 @@
"react-app-polyfill": "^2.0.0",
"react-dom": "^17.0.1",
"react-hotkeys-hook": "^3.0.3",
"react-router-dom": "^5.2.0",
"react-scripts": "4.0.1",
"react-timer-hook": "^2.0.7",
"react-use": "^17.1.0",
"source-map-explorer": "^2.5.2",
"swr": "^0.4.1",
"typescript": "^4.0.3",
"use-sound": "^2.0.1",
"web-vitals": "^0.2.4"
@@ -90,6 +92,7 @@
]
},
"devDependencies": {
"@types/react-router-dom": "^5.1.7",
"tailwindcss": "npm:@tailwindcss/postcss7-compat@^2.0.2"
}
}