-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
50 lines (50 loc) · 1.3 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
{
"name": "articles-auto-translate-action",
"version": "0.2.0",
"license": "UNLICENSED",
"dependencies": {
"@actions/core": "^1.10.1",
"@actions/github": "^6.0.0",
"@octokit/rest": "^21.0.1",
"fs-extra": "^11.2.0",
"linkedom": "^0.18.4",
"marked": "^13.0.2",
"openai": "^4.52.7",
"string-similarity": "^4.0.4",
"turndown": "^7.2.0",
"turndown-plugin-gfm": "^1.0.2"
},
"devDependencies": {
"@lint-md/cli": "^2.0.0",
"@types/fs-extra": "^11.0.4",
"@types/jest": "^29.5.12",
"@types/node": "^20.14.11",
"@types/string-similarity": "^4.0.2",
"@types/turndown": "^5.0.4",
"@vercel/ncc": "^0.38.1",
"husky": "^9.0.11",
"jest": "^29.7.0",
"lint-md-cli": "^0.1.2",
"lint-staged": "^15.2.2",
"prettier": "^3.2.5",
"rimraf": "^6.0.1",
"ts-jest": "^29.1.5",
"typescript": "~5.5.2"
},
"prettier": {
"singleQuote": true,
"trailingComma": "none"
},
"lint-staged": {
"*.{json,yml,js}": "prettier --write",
"*.md": "lint-md --fix"
},
"scripts": {
"lint": "lint-md chinese/**/*.md",
"format": "lint-md chinese/**/*.md --fix",
"test": "lint-staged",
"prepare": "husky",
"build": "npm run action:build",
"action:build": "rimraf dist/ && ncc build ./src/index.ts -m -o dist"
}
}