-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
65 lines (65 loc) · 1.79 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
{
"name": "yanyu",
"version": "0.1.4",
"description": "A Chinese speech synthesis and recognition library toolkit",
"main": "dist/index",
"types": "dist/index",
"scripts": {
"start": "pnpm build:live",
"build": "tsc -p .",
"build:live": "nodemon --watch 'src/**/*.ts' --exec \"ts-node\" src/index.ts",
"test": "jest && pnpm clean:audio",
"prepublishOnly": "pnpm build && pnpm test",
"format": "prettier --write \"src/**/*.{js,ts}\"",
"lint": "eslint . && pnpm lint:language",
"lint:language": "alex .",
"clean": "rm -rf ./node_modules ./dist",
"clean:audio": "rm -rf ./*.mp3",
"release": "standard-version",
"postrelease": "git push --follow-tags origin main && pnpm publish"
},
"repository": "https://github.com/byhow/yanyu",
"keywords": [
"speech",
"synthesis",
"pinyin"
],
"author": "byhow",
"license": "MIT",
"bugs": {
"url": "https://github.com/byhow/yanyu/issues"
},
"homepage": "https://github.com/byhow/yanyu#readme",
"devDependencies": {
"@commitlint/cli": "^19.5.0",
"@commitlint/config-conventional": "^19.5.0",
"@types/audiosprite": "^0.7.3",
"@types/jest": "29.5.12",
"@types/node": "^20.17.6",
"@types/pinyin": "^2.10.2",
"@typescript-eslint/eslint-plugin": "latest",
"@typescript-eslint/parser": "latest",
"alex": "11.0.1",
"audiosprite": "^0.7.2",
"eslint": "^8.57.1",
"husky": "^9.1.7",
"jest": "^29.7.0",
"lint-staged": "^15.2.10",
"pinyin": "^3.1.0",
"prettier": "^3.3.3",
"standard-version": "^9.5.0",
"typescript": "^5.6.3"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"src/**/*.{js,jsx,ts,tsx,json,css}": [
"prettier --write",
"eslint --fix src/",
"git add"
]
}
}