-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
77 lines (77 loc) · 2.01 KB
/
package.json
File metadata and controls
77 lines (77 loc) · 2.01 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
{
"name": "@termdock/twlint",
"version": "1.3.2",
"description": "A CLI tool for detecting simplified Chinese terms and suggesting Taiwan traditional alternatives",
"main": "dist/cli.js",
"type": "module",
"bin": {
"twlint": "bin/twlint"
},
"scripts": {
"dev": "npm run dict:build && tsx watch src/cli.ts",
"build": "npm run dict:build && tsc && cp -r src/dictionaries dist/",
"test": "vitest",
"dict:build": "tsx tools/build-dict.ts",
"dict:validate": "tsx tools/validate-dict.ts",
"dict:convert": "tsx tools/dict-manager.ts convert",
"dict:template": "tsx tools/dict-manager.ts template",
"dict:check": "tsx tools/dict-manager.ts validate",
"dict:list": "tsx tools/dict-manager.ts list",
"dict:merge": "tsx tools/dict-manager.ts merge",
"lint": "eslint \"src/**/*.ts\" --fix",
"format": "prettier --write src/",
"prepublishOnly": "npm run build"
},
"files": [
"dist/",
"bin/",
"LICENSE",
"README.md",
"TRADEMARK.md"
],
"dependencies": {
"chalk": "^5.3.0",
"commander": "^11.0.0",
"glob": "^10.3.0",
"minimatch": "^9.0.3",
"opencc-js": "^1.0.5",
"papaparse": "^5.4.1"
},
"devDependencies": {
"@types/node": "^20.0.0",
"@types/papaparse": "^5.3.7",
"@typescript-eslint/eslint-plugin": "^8.44.0",
"@typescript-eslint/parser": "^8.44.0",
"eslint": "^9.36.0",
"prettier": "^3.0.0",
"tsx": "^3.12.0",
"typescript": "^5.9.2",
"vitest": "^0.34.0"
},
"keywords": [
"chinese",
"traditional",
"simplified",
"taiwan",
"lint",
"cli",
"linter",
"mainland-terms",
"繁體中文",
"簡體中文",
"用語檢測"
],
"author": "Huang Chung YI",
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "git+https://github.com/Termdock-dev/twlint.git"
},
"homepage": "https://github.com/Termdock-dev/twlint#readme",
"bugs": {
"url": "https://github.com/Termdock-dev/twlint/issues"
},
"engines": {
"node": ">=18.0.0"
}
}