-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
46 lines (46 loc) · 1.16 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
{
"name": "word-pinyin",
"version": "0.1.8",
"description": "汉字转拼音",
"main": "dist/word-pinyin.js",
"scripts": {
"build": "npm run build:common && npm run build:types ",
"build:common": "esbuild src/word-pinyin.ts --bundle --outdir=. --platform=node",
"build:types": "tsc -p tsconfig.json",
"test": "jest",
"lint": "eslint . --ext .ts --fix",
"clear": "rm word-pinyin.d.ts word-pinyin.js"
},
"keywords": [
"汉字转拼音",
"汉字",
"拼音",
"pinyin"
],
"author": "zhylmzr",
"license": "ISC",
"repository": {
"type": "git",
"url": "git+https://github.com/zhylmzr/word-pinyin"
},
"bugs": {
"url": "https://github.com/zhylmzr/word-pinyin/issues"
},
"homepage": "https://github.com/zhylmzr/word-pinyin",
"devDependencies": {
"@types/jest": "^24.9.1",
"@typescript-eslint/eslint-plugin": "^2.34.0",
"@typescript-eslint/parser": "^2.34.0",
"esbuild": "^0.15.7",
"eslint": "^6.8.0",
"husky": "^3.1.0",
"jest": "^29.0.3",
"ts-jest": "^29.0.1",
"typescript": "^4.8.3"
},
"husky": {
"hooks": {
"pre-commit": "eslint . --ext .ts --fix"
}
}
}