react-autolocale 0.0.0-stage → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,73 @@
1
1
  {
2
2
  "name": "react-autolocale",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "0.1.0",
4
+ "description": "Wrap your React + Vite app in <AutoScale> and get fully translated static pages (/fr, /es, ...) from one build. Free local translation.",
5
+ "license": "MIT",
6
+ "keywords": [
7
+ "react",
8
+ "vite",
9
+ "i18n",
10
+ "translation",
11
+ "localization",
12
+ "l10n"
13
+ ],
14
+ "type": "module",
15
+ "files": [
16
+ "dist",
17
+ "README.md"
18
+ ],
19
+ "bin": {
20
+ "react-autolocale": "dist/cli.js"
21
+ },
22
+ "main": "./dist/index.js",
23
+ "types": "./dist/index.d.ts",
24
+ "exports": {
25
+ ".": {
26
+ "types": "./dist/index.d.ts",
27
+ "import": "./dist/index.js"
28
+ },
29
+ "./vite": {
30
+ "types": "./dist/vite.d.ts",
31
+ "import": "./dist/vite.js"
32
+ }
33
+ },
34
+ "scripts": {
35
+ "build": "tsdown",
36
+ "test": "vitest run",
37
+ "typecheck": "tsc -p .",
38
+ "prepublishOnly": "pnpm build && pnpm test"
39
+ },
40
+ "engines": {
41
+ "node": ">=20"
42
+ },
43
+ "peerDependencies": {
44
+ "react": ">=18",
45
+ "vite": ">=5",
46
+ "@huggingface/transformers": ">=3"
47
+ },
48
+ "peerDependenciesMeta": {
49
+ "@huggingface/transformers": {
50
+ "optional": true
51
+ }
52
+ },
53
+ "dependencies": {
54
+ "@babel/generator": "^8.0.6",
55
+ "@babel/parser": "^8.0.7",
56
+ "@babel/traverse": "^8.0.7",
57
+ "@babel/types": "^8.0.6",
58
+ "jsdom": "^30.1.2"
59
+ },
60
+ "devDependencies": {
61
+ "@types/jsdom": "^30.0.0",
62
+ "@types/node": "^22.20.5",
63
+ "@types/react": "^19.3.0",
64
+ "@types/react-dom": "^19.3.0",
65
+ "react": "^19.3.0",
66
+ "react-dom": "^19.3.0",
67
+ "tsdown": "^0.23.0",
68
+ "typescript": "^7.0.2",
69
+ "vite": "^8.3.3",
70
+ "vitest": "^5.0.3",
71
+ "@huggingface/transformers": "^4.3.1"
72
+ }
73
+ }