-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
106 lines (106 loc) · 2.87 KB
/
package.json
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
{
"name": "@codethicket/react-ai-translator",
"description": "A React component for local, secure, on-demand translations powered by the Xenova/nllb-200-distilled-600M model. This package utilizes the WebGPU capabilities of the device on which the app runs, ensuring data privacy and enabling you to translate text without sending data to third-party APIs.",
"version": "0.1.5",
"author": "Joel Rajesh",
"license": "MIT",
"bin": {
"generate_translations": "./bin/cli.js"
},
"keywords": ["translations", "ai", "react", "i18n"],
"repository": {
"type": "git",
"url": "https://github.com/CodeThicket/react-ai-translator"
},
"scripts": {
"dev": "concurrently \"pnpm build --watch\" \"pnpm storybook\" \"pnpm test\" ",
"build": "tsup",
"lint": "biome check --write --unsafe .",
"lint:ci": "biome check --unsafe .",
"test": "vitest",
"test:ci": "vitest run --coverage",
"commit": "cz",
"storybook": "storybook dev -p 6006",
"storybook:build": "storybook build",
"release": "pnpm build && pnpm release-it",
"link:self": "pnpm link --global",
"prepare": "lefthook install"
},
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"exports": {
".": {
"import": "./dist/index.mjs"
}
},
"files": ["dist","translate-gen"],
"config": {
"commitizen": {
"path": "./node_modules/@ryansonshine/cz-conventional-changelog"
}
},
"release-it": {
"git": {
"commitMessage": "chore(release): v${version}"
},
"github": {
"release": true
},
"npm": {
"publish": false
}
},
"engines": {
"node": ">=18.0.0"
},
"devDependencies": {
"@biomejs/biome": "1.9.4",
"@ryansonshine/commitizen": "4.2.8",
"@ryansonshine/cz-conventional-changelog": "3.3.4",
"@storybook/addon-essentials": "8.4.6",
"@storybook/addon-interactions": "8.4.6",
"@storybook/addon-links": "8.4.6",
"@storybook/addon-webpack5-compiler-swc": "1.0.5",
"@storybook/blocks": "8.4.6",
"@storybook/react": "8.4.6",
"@storybook/react-webpack5": "8.4.6",
"@storybook/test": "8.4.6",
"@testing-library/jest-dom": "6.6.3",
"@testing-library/react": "16.0.1",
"@types/node": "22.10.1",
"@types/react": "18.3.13",
"@types/react-dom": "18.3.1",
"@types/react-test-renderer": "18.3.0",
"@vitest/coverage-v8": "2.1.8",
"concurrently": "9.1.0",
"jsdom": "25.0.1",
"lefthook": "1.8.5",
"prop-types": "15.8.1",
"react": "18.3.1",
"react-dom": "18.3.1",
"react-test-renderer": "18.3.1",
"release-it": "17.10.0",
"storybook": "8.4.6",
"ts-node": "10.9.2",
"tsconfig-paths": "4.2.0",
"tsup": "8.3.5",
"tsx": "4.19.2",
"typescript": "5.7.2",
"vitest": "2.1.8"
},
"peerDependencies": {
"react": ">=17",
"react-dom": ">=17"
},
"pnpm": {
"overrides": {
"micromatch@<4.0.8": ">=4.0.8"
}
},
"dependencies": {
"@huggingface/transformers": "^3.2.4",
"@xenova/transformers": "^2.17.2",
"commander": "^13.0.0",
"jscodeshift": "^17.1.1"
}
}