-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
86 lines (86 loc) · 2.41 KB
/
Copy pathpackage.json
File metadata and controls
86 lines (86 loc) · 2.41 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
76
77
78
79
80
81
82
83
84
85
86
{
"name": "msgai-cli",
"version": "1.6.0",
"description": "CLI that automatically translates all untranslated strings in gettext (.po) files using AI (LLM)",
"main": "dist/src/cli/index.js",
"bin": {
"msgai": "dist/src/cli/index.js"
},
"scripts": {
"clean": "rm -rf dist",
"build": "npm run clean && tsc -p tsconfig.json",
"test": "npm run build && jest",
"test:integration": "npm run build && jest -c jest.integration.config.cjs",
"test:watch": "npm run build && jest --watch",
"format": "prettier --write .",
"format:changelog": "prettier --write CHANGELOG.md",
"lint": "eslint .",
"lint:format": "prettier --check .",
"prerelease": "npm run build && npm test && npm run test:integration && npm run lint && npm run lint:format",
"release": "commit-and-tag-version",
"release:dry-run": "commit-and-tag-version --dry-run",
"script:test-openai": "ts-node scripts/test-openai.ts",
"prepublishOnly": "npm run build && npm test && npm run test:integration && npm run lint && npm run lint:format"
},
"repository": {
"type": "git",
"url": "git+https://github.com/AlexMost/msgai.git"
},
"keywords": [
"gettext",
"po",
"translate",
"openai",
"cli",
"i18n"
],
"engines": {
"node": ">=20",
"npm": ">=10"
},
"files": [
"dist/src",
"README.md",
"CHANGELOG.md"
],
"author": "",
"license": "ISC",
"type": "commonjs",
"bugs": {
"url": "https://github.com/AlexMost/msgai/issues"
},
"homepage": "https://github.com/AlexMost/msgai#readme",
"commit-and-tag-version": {
"tagPrefix": "v",
"releaseCommitMessageFormat": "chore(release): {{currentTag}}",
"scripts": {
"postchangelog": "npm run format:changelog"
}
},
"devDependencies": {
"@babel/core": "^7.29.0",
"@babel/preset-env": "^7.29.0",
"@eslint/js": "^10.0.1",
"@types/gettext-parser": "^9.0.0",
"@types/jest": "^30.0.0",
"@types/node": "^25.3.0",
"babel-jest": "^30.2.0",
"commit-and-tag-version": "^12.6.1",
"eslint": "^10.0.2",
"jest": "^30.2.0",
"prettier": "^3.8.1",
"ts-jest": "^29.4.6",
"ts-node": "^10.9.2",
"typescript": "^5.9.3",
"typescript-eslint": "^8.56.1"
},
"dependencies": {
"dotenv": "^17.3.1",
"gettext-parser": "^9.0.1",
"openai": "^6.25.0",
"plural-forms": "^0.5.5",
"yaml": "^2.8.2",
"yargs": "^18.0.0",
"zod": "^4.3.6"
}
}