generated from imgarylai/ts-package-starter
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
124 lines (124 loc) · 3.02 KB
/
package.json
File metadata and controls
124 lines (124 loc) · 3.02 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
{
"name": "use-wg",
"version": "2.0.0",
"description": "A TypeScript library for converting Chinese characters to Wade-Giles romanization",
"license": "MIT",
"author": "Gary Lai <garylai1990@gmail.com>",
"homepage": "https://github.com/imgarylai/use-wg#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/imgarylai/use-wg.git"
},
"bugs": {
"url": "https://github.com/imgarylai/use-wg/issues"
},
"type": "module",
"exports": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.cjs"
},
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
"bin": {
"use-wg": "./dist/cli.mjs"
},
"files": [
"dist",
"src"
],
"scripts": {
"benchmark": "node benchmarks/index.js",
"build": "tsup",
"clean": "rimraf dist coverage",
"dev": "tsup --watch",
"predocs": "rimraf docs",
"docs": "typedoc",
"docs:watch": "typedoc --watch",
"lint": "eslint .",
"prepack": "npm run build",
"prepare": "husky",
"test": "jest",
"test:coverage": "jest --coverage",
"type-check": "tsc --noEmit"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"sideEffects": false,
"types": "./dist/index.d.ts",
"dependencies": {
"commander": "14.0.2",
"pinyin-pro": "^3.26.0"
},
"devDependencies": {
"@eslint/js": "^9.0.0",
"@semantic-release/changelog": "^6.0.0",
"@semantic-release/commit-analyzer": "^13.0.0",
"@semantic-release/git": "^10.0.0",
"@semantic-release/npm": "^13.0.0",
"@semantic-release/release-notes-generator": "^14.0.0",
"@types/jest": "^30.0.0",
"@types/node": "^24.0.0",
"@typescript-eslint/eslint-plugin": "^8.0.0",
"@typescript-eslint/parser": "^8.0.0",
"cz-conventional-changelog": "3.3.0",
"eslint": "^9.0.0",
"eslint-config-prettier": "^10.0.0",
"eslint-plugin-jest": "29.12.1",
"husky": "9.1.7",
"jest": "^30.0.0",
"lint-staged": "16.2.7",
"prettier": "^3.2.5",
"prettier-package-json": "^2.4.11",
"rimraf": "^6.0.0",
"semantic-release": "^25.0.0",
"sort-package-json": "3.6.0",
"ts-jest": "^29.1.2",
"tsup": "^8.0.2",
"typedoc": "^0.28.2",
"typescript": "5.9.3"
},
"keywords": [
"chinese",
"cli",
"pinyin",
"romanization",
"transliteration",
"typescript",
"wade-giles"
],
"engines": {
"node": ">=22",
"npm": ">=10.0.0"
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"eslint --fix",
"prettier --write"
],
"src/**/*.{js,jsx,ts,tsx}": [
"jest --bail --findRelatedTests"
],
"*.{json,md}": [
"prettier --write"
],
"package.json": [
"prettier-package-json --write"
]
},
"release": {
"branches": [
"main"
],
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/changelog",
"@semantic-release/npm",
"@semantic-release/git"
]
}
}