-
Notifications
You must be signed in to change notification settings - Fork 24
Expand file tree
/
Copy pathpackage.json
More file actions
75 lines (75 loc) · 2.56 KB
/
package.json
File metadata and controls
75 lines (75 loc) · 2.56 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
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
{
"name": "gtx-cli",
"version": "2.8.0",
"description": "CLI tool for AI-powered i18n (wrapper for gt)",
"main": "dist/index.js",
"bin": "dist/main.js",
"files": [
"dist",
"binaries",
"CHANGELOG.md"
],
"type": "module",
"scripts": {
"build": "tsc",
"build:clean": "sh ../../scripts/clean.sh && pnpm bin:restore && rm -rf binaries && pnpm run build",
"build:release": "pnpm run build:clean",
"build:bin": "tsc && sh scripts/build-exe.sh all",
"build:bin:clean": "sh ../../scripts/clean.sh && rm -rf binaries && pnpm run build:bin",
"build:bin:release": "pnpm run build:bin:clean && pnpm run build:bin",
"build:bin:darwin-x64": "sh scripts/build-exe.sh darwin-x64",
"build:bin:darwin-arm64": "sh scripts/build-exe.sh darwin-arm64",
"build:bin:linux-x64": "sh scripts/build-exe.sh linux-x64",
"build:bin:linux-arm64": "sh scripts/build-exe.sh linux-arm64",
"build:bin:windows-x64": "sh scripts/build-exe.sh windows-x64",
"lint": "eslint \"src/**/*.{js,ts}\"",
"lint:fix": "eslint \"src/**/*.{js,ts}\" --fix",
"test": "vitest run --config=./vitest.config.ts",
"test:watch": "vitest --config=./vitest.config.ts",
"release": "pnpm run release:normal && pnpm run release:bin",
"release:normal": "pnpm run build:clean && pnpm publish",
"release:bin": "pnpm run bin:prep && pnpm run build:bin:clean && pnpm publish --tag bin --no-git-checks && pnpm run bin:restore && pnpm run build:clean",
"release:alpha": "pnpm run build:clean && pnpm publish --tag alpha",
"release:beta": "pnpm run build:clean && pnpm publish --tag beta",
"release:latest": "pnpm run build:clean && pnpm publish --tag latest",
"bin:prep": "node scripts/prepare-binary-release.js",
"bin:restore": "node scripts/restore-package-json.js"
},
"exports": {
".": {
"import": "./dist/index.js",
"types": "./dist/index.d.ts"
},
"./*": {
"import": "./dist/*.js",
"types": "./dist/*.d.ts"
}
},
"repository": {
"type": "git",
"url": "git+https://github.com/generaltranslation/gt.git"
},
"keywords": [
"i18n",
"l10n",
"translation",
"internationalization",
"localization",
"cli"
],
"author": "General Translation, Inc.",
"license": "FSL-1.1-ALv2",
"bugs": {
"url": "https://github.com/generaltranslation/gt/issues"
},
"homepage": "https://generaltranslation.com/",
"dependencies": {
"gt": "workspace:*",
"commander": "^12.1.0",
"dotenv": "^16.4.5"
},
"devDependencies": {
"typescript": "^5.5.4",
"vitest": "^2.0.0"
}
}