-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
127 lines (127 loc) · 3.33 KB
/
Copy pathpackage.json
File metadata and controls
127 lines (127 loc) · 3.33 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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
{
"name": "phonemize",
"version": "2.0.0",
"description": "Fast phonemizer with rule-based G2P prediction. Pure JavaScript implementation.",
"main": "dist/index.cjs",
"types": "dist/index.d.ts",
"module": "dist/index.mjs",
"exports": {
".": {
"import": "./dist/index.mjs",
"require": "./dist/index.cjs",
"types": "./dist/index.d.ts"
},
"./core": {
"import": "./dist/core.mjs",
"require": "./dist/core.cjs",
"types": "./dist/core.d.ts"
},
"./zh": {
"import": "./dist/zh.mjs",
"require": "./dist/zh.cjs",
"types": "./dist/zh.d.ts"
},
"./all": {
"import": "./dist/all.mjs",
"require": "./dist/all.cjs",
"types": "./dist/all.d.ts"
},
"./zh-g2p": {
"import": "./dist/zh-g2p.mjs",
"require": "./dist/zh-g2p.cjs",
"types": "./dist/zh-g2p.d.ts"
},
"./ja-g2p": {
"import": "./dist/ja-g2p.mjs",
"require": "./dist/ja-g2p.cjs",
"types": "./dist/ja-g2p.d.ts"
},
"./ko-g2p": {
"import": "./dist/ko-g2p.mjs",
"require": "./dist/ko-g2p.cjs",
"types": "./dist/ko-g2p.d.ts"
},
"./ru-g2p": {
"import": "./dist/ru-g2p.mjs",
"require": "./dist/ru-g2p.cjs",
"types": "./dist/ru-g2p.d.ts"
},
"./en-g2p": {
"import": "./dist/en-g2p.mjs",
"require": "./dist/en-g2p.cjs",
"types": "./dist/en-g2p.d.ts"
}
},
"scripts": {
"test": "jest",
"test:coverage": "nyc --reporter=text --reporter=html --reporter=lcov yarn test",
"test:eval": "tsx scripts/evaluate.ts",
"trace": "tsx scripts/trace.ts",
"test:ai-eval": "tsx scripts/eval-with-ai.ts",
"typecheck": "tsc -b",
"build": "rollup -c",
"build:watch": "rollup -c --watch",
"build-dict": "tsx scripts/build-pipeline.ts",
"prebuild": "yarn build-dict",
"dev": "tsx src/index.ts",
"release": "release-it",
"pretty": "prettier -w src",
"build-eval-set": "tsx scripts/build-eval-set.ts"
},
"files": [
"dist/"
],
"repository": {
"type": "git",
"url": "git+https://github.com/hans00/phonemize.git"
},
"keywords": [
"nlp",
"phoneme",
"multilingual",
"g2p",
"tts",
"fast",
"typescript"
],
"author": "Hans <me@hans00.me>",
"license": "MIT",
"bugs": {
"url": "https://github.com/hans00/phonemize/issues"
},
"homepage": "https://github.com/hans00/phonemize#readme",
"devDependencies": {
"@commitlint/cli": "^19.8.1",
"@commitlint/config-conventional": "^19.8.1",
"@release-it/conventional-changelog": "^10.0.1",
"@rollup/plugin-json": "^6.1.0",
"@rollup/plugin-typescript": "^12.1.4",
"@types/chai": "^5.2.2",
"@types/fast-levenshtein": "^0.0.4",
"@types/jest": "^30.0.0",
"@types/node": "^20.12.12",
"fast-levenshtein": "^3.0.0",
"husky": "^9.1.7",
"jest": "^30.0.5",
"json5": "^2.2.3",
"nyc": "^17.1.0",
"openai": "^5.7.0",
"prettier": "^3.8.3",
"release-it": "^19.0.3",
"rollup": "^4.46.3",
"rollup-plugin-cleanup": "^3.2.1",
"ts-jest": "^29.4.1",
"ts-node": "^10.9.2",
"tsx": "^4.6.0",
"typescript": "^5.3.0",
"unplugin-oxc": "^0.5.1"
},
"dependencies": {
"number-to-words": "^1.2.4",
"pinyin-pro": "^3.26.0"
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org"
}
}