-
Notifications
You must be signed in to change notification settings - Fork 81
/
package.json
114 lines (114 loc) · 3.1 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
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
{
"name": "yapi-to-typescript",
"version": "3.37.1",
"description": "根据 YApi 的接口定义生成 TypeScript/JavaScript 的接口类型及其请求函数代码。",
"keywords": [
"yapi",
"codegen",
"typescript"
],
"homepage": "https://github.com/fjc0k/yapi-to-typescript",
"bugs": {
"url": "https://github.com/fjc0k/yapi-to-typescript/issues"
},
"repository": {
"type": "git",
"url": "git@github.com:fjc0k/yapi-to-typescript.git"
},
"license": "MIT",
"author": {
"name": "Jay Fong",
"email": "fjc0kb@gmail.com",
"url": "https://github.com/fjc0k"
},
"sideEffects": false,
"main": "lib/cjs/index.js",
"module": "lib/esm/index.js",
"types": "lib/esm/index.d.ts",
"bin": {
"ytt": "lib/cjs/cli.js"
},
"files": [
"lib"
],
"scripts": {
"build": "haoma compile",
"docs": "npm run docs:build && gh-pages --dist docs/dist --dest handbook",
"docs:build": "dumi build",
"docs:dev": "dumi dev",
"release": "yarn testOnly && standard-version -a && yarn build && yarn docs && git push --follow-tags origin master && npm publish",
"releaseBeta": "yarn testOnly && standard-version -a --release-as patch --prerelease beta && yarn build && git push --follow-tags origin master && npm publish --tag next",
"test": "jest --coverage",
"testApi": "ts-node -T src/cli.ts",
"testOnly": "jest",
"testUpdateSnapshot": "jest --coverage -u"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{css,less,scss,sass,html,htm,vue,yml,yaml,json,md}": [
"prettier --write"
],
"*.{js,jsx,ts,tsx}": [
"eslint --fix",
"prettier --write"
]
},
"dependencies": {
"@babel/runtime": "^7.13.10",
"@types/json-schema": "^7.0.9",
"change-case": "^3.0.2",
"consola": "^2.3.0",
"dayjs": "^1.8.32",
"form-data": "^3.0.0",
"fs-extra": "^7.0.1",
"get-port": "^5.1.1",
"json-schema-to-typescript": "^10.1.4",
"json5": "^2.1.0",
"node-fetch": "^2",
"ora": "^3.4.0",
"prettier": "^2.7.1",
"prompts": "^2.0.4",
"proxy-agent": "^5.0.0",
"signal-exit": "^3.0.3",
"swagger-client": "3.18.4",
"to-json-schema": "^0.2.5",
"ts-node": "^8.0.2",
"typescript": "^4.2.3",
"vtils": "^4.57.0",
"yargs": "^16.2.0"
},
"devDependencies": {
"@types/fs-extra": "^5.0.4",
"@types/json5": "^0.0.30",
"@types/node": "^10.12.10",
"@types/node-fetch": "^2.6.2",
"@types/prompts": "^1.2.0",
"@types/react": "^16.9.2",
"@types/signal-exit": "^3.0.0",
"@types/swagger-schema-official": "^2.0.21",
"@types/to-json-schema": "^0.2.0",
"@types/yargs": "^16.0.1",
"codecov": "^3",
"dumi": "^1.1.10",
"eslint": "^7",
"gh-pages": "^2.0.1",
"haoma": "^2.31.0",
"husky": "^4",
"jest": "^26",
"lint-staged": "^10",
"notify-dingtalk": "^1.2.0",
"openapi-types": "^7.0.1",
"shx": "^0.3.2",
"standard-version": "^9.3.2",
"tempy": "^0.3.0",
"typedoc": "^0.14.2",
"typescript-snapshots-plugin": "^1.7.0"
},
"engines": {
"node": ">=10.19.0"
}
}