-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
113 lines (113 loc) · 2.98 KB
/
package.json
File metadata and controls
113 lines (113 loc) · 2.98 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
{
"name": "doc2ts",
"version": "1.4.6",
"description": "根据接口文档生成ts接口文件",
"main": "lib/index.js",
"module": "lib/esm/index.js",
"types": "lib/index.d.ts",
"exports": {
".": {
"import": "./lib/esm/index.js",
"require": "./lib/index.js",
"types": "./lib/index.d.ts"
},
"./package.json": "./package.json"
},
"type": "commonjs",
"bin": {
"dots": "bin/dots.js",
"doc2ts": "bin/doc2api.js"
},
"scripts": {
"build": "npm run clean && npm run build:cjs && npm run build:esm",
"build:cjs": "ts-node ./scripts/build.ts && tsc -p tsconfig.json",
"build:esm": "ts-node ./scripts/create-esm-pkg.ts && tsc -p tsconfig.esm.json",
"clean": "rimraf lib",
"test": "node ./bin/doc2api.js",
"init-doc": "ts-node ./src/dev-init.ts",
"dev-manage": "ts-node src/scripts/manage-dev.ts",
"init-config": "ts-node ./src/scripts/initConfig.ts",
"test-post": "ts-node ./src/scripts/testPostRender.ts",
"dev": "ts-node ./src/dev.ts",
"release": "standard-version -- --first-release",
"changeset": "changeset",
"changeset:version": "changeset version",
"changeset:publish": "pnpm -r run build && changeset publish",
"publish:all": "pnpm changeset:version && pnpm install && pnpm changeset:publish"
},
"repository": {
"type": "git",
"url": "https://github.com/space-77/doc2ts"
},
"bugs": {
"url": "https://github.com/space-77/doc2ts/issues"
},
"homepage": "https://github.com/space-77/doc2ts",
"author": "space-77",
"license": "MIT",
"keywords": [
"API",
"util",
"types",
"convert",
"openapi",
"swagger",
"typescript",
"openapi to js"
],
"dependencies": {
"axios": "*",
"boxen": "^5.1.2",
"chalk": "^4.1.2",
"chrome-paths": "^1.0.1",
"cli-progress": "^3.12.0",
"commander": "^8.3.0",
"compare-versions": "^6.1.0",
"doc-pre-data": "workspace:*",
"edge-paths": "^2.2.1",
"fs-extra": "^10.1.0",
"iconv-lite": "^0.7.2",
"inquirer": "^8.2.4",
"is-ecma-keyword": "^1.0.3",
"jsonrepair": "^3.8.0",
"lodash": "*",
"ora": "^5.4.1",
"prettier": "^2.8.8",
"puppeteer-core": "^13.7.0",
"qs": "*",
"simple-git": "^3.25.0",
"typescript": "^5.5.3"
},
"devDependencies": {
"@changesets/cli": "^2.29.8",
"@types/cli-progress": "^3.11.5",
"@types/fs-extra": "^9.0.13",
"@types/inquirer": "^8.2.1",
"@types/lodash": "^4.14.189",
"@types/node": "^17.0.25",
"@types/prettier": "^2.6.0",
"@types/qs": "*",
"fs-extra": "^10.1.0",
"nodemon": "^2.0.15",
"rimraf": "^3.0.2",
"standard-version": "^9.5.0",
"ts-node": "^10.9.2"
},
"nodemonConfig": {
"ignore": [
"dist/*",
"src/api/*",
"examples/*"
]
},
"prettier": {
"semi": false,
"tabWidth": 2,
"endOfLine": "lf",
"printWidth": 120,
"singleQuote": true,
"arrowParens": "avoid",
"trailingComma": "none",
"stylelintIntegration": true
}
}