Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
83 lines (83 loc) · 2.21 KB
/
Copy pathpackage.json
File metadata and controls
83 lines (83 loc) · 2.21 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
{
"name": "opencc",
"version": "1.4.2",
"description": "Conversion between Traditional and Simplified Chinese",
"author": "Carbo Kuo <byvoid@byvoid.com>",
"license": "Apache-2.0",
"main": "node/opencc.js",
"types": "node/opencc.d.ts",
"bin": {
"opencc": "./node/cli.js"
},
"exports": {
".": {
"import": {
"types": "./node/opencc.d.mts",
"default": "./node/opencc.mjs"
},
"require": {
"types": "./node/opencc.d.cts",
"default": "./node/opencc.js"
},
"default": "./node/opencc.js"
},
"./package.json": "./package.json"
},
"scripts": {
"test": "node --test --test-reporter=spec node/test.js && node node/esm-test.mjs",
"generate:node-config-types": "node scripts/generate-node-opencc-config-types.js",
"prepare:scoped-packages": "node scripts/prepare-node-scoped-packages.js",
"prepack": "node scripts/verify-node-main-package.js",
"prepublishOnly": "node scripts/verify-node-scoped-packages-published.js",
"install": "node scripts/install.js"
},
"engines": {
"node": ">=20.17"
},
"files": [
".bazelignore",
".bazelrc",
".bazelversion",
"MODULE.bazel",
"MODULE.bazel.lock",
"data/BUILD.bazel",
"data/config",
"data/dictionary",
"data/scripts",
"node",
"patches",
"prebuilds/assets/*.json",
"prebuilds/assets/*.ocd2",
"scripts/install.js",
"scripts/prepare-node-prebuild-artifacts.js",
"scripts/verify-node-main-package.js",
"scripts/verify-node-scoped-packages-published.js",
"src"
],
"repository": {
"type": "git",
"url": "git+https://github.com/BYVoid/OpenCC.git"
},
"bugs": {
"url": "https://github.com/BYVoid/OpenCC/issues"
},
"homepage": "https://github.com/BYVoid/OpenCC#readme",
"keywords": [
"opencc",
"Chinese",
"conversion",
"unicode",
"Simplified Chinese",
"Traditional Chinese"
],
"devDependencies": {
"json-schema-to-typescript": "^15.0.4"
},
"optionalDependencies": {
"@opencc/opencc-darwin-arm64": "1.4.2",
"@opencc/opencc-darwin-x64": "1.4.2",
"@opencc/opencc-linux-arm64": "1.4.2",
"@opencc/opencc-linux-x64": "1.4.2",
"@opencc/opencc-win32-x64": "1.4.2"
}
}