-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
42 lines (41 loc) · 1.66 KB
/
package.json
File metadata and controls
42 lines (41 loc) · 1.66 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
{
"name": "vite-react-typescript-starter",
"private": true,
"version": "0.0.0",
"type": "module",
"scripts": {
"dev": "vite",
"test": "vitest --config jsx\\$localize/vitest.config.ts",
"build": "tsc -b && vite build",
"lint": "eslint .",
"preview": "vite preview",
"extract-messages": "pnpm build && pnpm extract-messages:json && pnpm extract-messages:xlif",
"extract-messages:json": "localize-extract --source dist/**/*.js --format json --outputPath messages.json",
"extract-messages:xlif": "localize-extract --source dist/**/*.js --format xlif --outputPath messages.xlf",
"translate:json": "localize-translate --root dist/ --source '**' --source-locale en --translations ./messages-sk.json --missingTranslation error --outputPath dist-localized/{{LOCALE}}/",
"preview:en": "vite preview --port 3000 --outDir ./dist-localized/en/",
"preview:sk": "vite preview --port 3001 --outDir ./dist-localized/sk/",
"build-and-preview": "pnpm build && pnpm extract-messages:json && pnpm extract-messages:xlif && pnpm translate:json && pnpm run preview:sk"
},
"dependencies": {
"react": "^19.0.0",
"react-dom": "^19.0.0"
},
"devDependencies": {
"@angular/localize": "^19.1.4",
"@eslint/js": "^9.19.0",
"@types/node": "^22.13.0",
"@types/react": "^19.0.8",
"@types/react-dom": "^19.0.3",
"@vitejs/plugin-react": "^4.3.4",
"eslint": "^9.19.0",
"eslint-plugin-react-hooks": "^5.0.0",
"eslint-plugin-react-refresh": "^0.4.18",
"globals": "^15.14.0",
"recast": "^0.23.9",
"typescript": "~5.7.2",
"typescript-eslint": "^8.21.0",
"vite": "catalog:",
"vitest": "catalog:"
}
}