Files
reiverr/package.json
Axel Aguilar c6e19cbc93 enhancement: Added Localization to the app
Added Localization to the app (English, Spanish)
Users can add translations in .json format in the /src/lib/lang folder and then register them in the I18n Svelte component
Maybe someone knows how to dinamically load everything in the /lang folder so you don't need to register them manually
Some strings are still missing to be updated, I'm setting up my environment to have Radarr, Sonarr and Jellyfin
Followed this guide to add Localization to Reiverr: https://phrase.com/blog/posts/a-step-by-step-guide-to-svelte-localization-with-svelte-i18n-v3/
2023-08-12 11:45:42 -06:00

61 lines
1.7 KiB
JSON

{
"name": "reiverr",
"version": "0.3.0",
"repository": {
"type": "git",
"url": "https://github.com/aleksilassila/reiverr"
},
"scripts": {
"dev": "vite dev --host",
"build": "vite build",
"preview": "vite preview",
"deploy": "PORT=9494 node build/",
"test": "playwright test",
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
"test:unit": "vitest",
"lint": "prettier --plugin-search-dir . --check . && eslint .",
"format": "prettier --plugin-search-dir . --write ."
},
"devDependencies": {
"@fontsource/fira-mono": "^4.5.10",
"@neoconfetti/svelte": "^1.0.0",
"@playwright/test": "^1.28.1",
"@rollup/plugin-json": "^6.0.0",
"@sveltejs/adapter-auto": "^2.0.0",
"@sveltejs/adapter-node": "^1.3.1",
"@sveltejs/kit": "^1.5.0",
"@types/axios": "^0.14.0",
"@types/cookie": "^0.5.1",
"@types/node": "^20.3.3",
"@typescript-eslint/eslint-plugin": "^5.45.0",
"@typescript-eslint/parser": "^5.45.0",
"autoprefixer": "^10.4.14",
"classnames": "^2.3.2",
"eslint": "^8.28.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-svelte": "^2.26.0",
"openapi-typescript": "^6.2.7",
"postcss": "^8.4.24",
"prettier": "^2.8.0",
"prettier-plugin-svelte": "^2.8.1",
"svelte": "^4.1.0",
"svelte-check": "^3.0.1",
"tailwindcss": "^3.3.2",
"tslib": "^2.4.1",
"typescript": "^5.1.3",
"vite": "^4.3.0",
"vitest": "^0.25.3"
},
"type": "module",
"dependencies": {
"@jellyfin/sdk": "^0.7.0",
"axios": "^1.4.0",
"hls.js": "^1.4.6",
"openapi-fetch": "^0.2.1",
"radix-icons-svelte": "^1.2.1",
"svelte-i18n": "^3.7.0",
"tailwind-scrollbar-hide": "^1.1.7"
}
}