feat(i18n): add download scripts

This commit is contained in:
lawvs
2022-09-09 19:42:51 +08:00
parent 326c34717f
commit 8b9c937f30
7 changed files with 229 additions and 35 deletions
+2 -1
View File
@@ -3,7 +3,8 @@
"version": "0.0.1",
"scripts": {
"sync-languages": "NODE_OPTIONS=--experimental-fetch ts-node src/scripts/sync.ts",
"sync-languages:check": "pnpm run sync-languages --check"
"sync-languages:check": "pnpm run sync-languages --check",
"download-resources": "NODE_OPTIONS=--experimental-fetch ts-node src/scripts/download.ts"
},
"dependencies": {
"i18next": "^21.9.1",