-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
70 lines (70 loc) · 2.08 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
{
"name": "ai-markdown-translator",
"version": "1.0.12",
"description": "CLI tool to translate Markdown files using OpenAI's language models while preserving the original formatting.",
"main": "dist/index.js",
"type": "module",
"scripts": {
"build": "tsc && node ./scripts/copy.js",
"start": "node dist/index.js",
"lint": "eslint . --ext .ts",
"lint:fix": "eslint . --ext .ts --fix",
"format": "prettier --write \"src/**/*.{js,jsx,ts,tsx,json,md}\"",
"format:check": "prettier --check \"src/**/*.{js,jsx,ts,tsx,json,md}\"",
"postbuild": "chmod +x dist/index.js",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0",
"version": "conventional-changelog -p angular -i CHANGELOG.md -s && git add CHANGELOG.md",
"test": "npm run build && node dist/index.js -i README.md -o README-zh.md -l Chinese"
},
"bin": {
"ai-markdown-translator": "dist/index.js"
},
"files": [
"dist/index.js",
"src/**/*",
"LICENSE",
"README.md",
"README-zh.md",
"CHANGELOG.md"
],
"dependencies": {
"@types/glob": "^8.1.0",
"axios": "^1.4.0",
"dotenv": "^16.0.3",
"glob": "^11.0.0",
"yargs": "^17.7.2"
},
"devDependencies": {
"@commitlint/cli": "^19.6.0",
"@commitlint/config-conventional": "^19.6.0",
"@types/node": "^18.16.3",
"@types/yargs": "^17.0.24",
"@typescript-eslint/eslint-plugin": "^5.0.0",
"@typescript-eslint/parser": "^5.0.0",
"conventional-changelog-cli": "^5.0.0",
"eslint": "^8.0.0",
"eslint-config-prettier": "^8.0.0",
"eslint-plugin-prettier": "^4.0.0",
"husky": "^9.1.7",
"prettier": "^2.0.0",
"typescript": "^5.1.6"
},
"keywords": [
"markdown",
"translator",
"cli",
"openai",
"language",
"translation"
],
"author": "h7ml <[email protected]>",
"license": "MIT",
"homepage": "https://github.com/h7ml/ai-markdown-translator",
"repository": {
"type": "git",
"url": "git+https://github.com/h7ml/ai-markdown-translator.git"
},
"bugs": {
"url": "https://github.com/h7ml/ai-markdown-translator/issues"
}
}