Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
104 lines (104 loc) · 2.47 KB
/
Copy pathpackage.json
File metadata and controls
104 lines (104 loc) · 2.47 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
{
"name": "api-datamodel",
"version": "1.1.9",
"description": "TypeScript business API modeling and OpenAPI code generation for Axios, Fetch, UniApp, and Taro.",
"keywords": [
"typescript",
"api",
"api-client",
"api-modeling",
"openapi",
"swagger",
"codegen",
"http-client",
"axios",
"fetch",
"uniapp",
"taro"
],
"author": {
"name": "nicefan",
"email": "covien@msn.com"
},
"repository": {
"type": "git",
"url": "git+https://github.com/nicefan/api-datamodel.git"
},
"homepage": "https://nicefan.github.io/api-datamodel/",
"bugs": {
"url": "https://github.com/nicefan/api-datamodel/issues"
},
"license": "MIT",
"files": [
"dist",
"types",
"codegen",
"USAGE_GUIDE.md"
],
"bin": {
"api-datamodel-codegen": "./codegen/main.js"
},
"type": "module",
"main": "./dist/index.js",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
},
"./codegen": {
"types": "./codegen/index.d.ts",
"import": "./codegen/index.js",
"require": "./codegen/index.cjs"
}
},
"publishConfig": {
"access": "public"
},
"scripts": {
"build": "rollup -c",
"lint": "eslint . --fix --ignore-path .gitignore",
"codegen": "node ./codegen/main.js",
"test": "pnpm run build && node --test test/regressions.test.js test/swagger-config.test.js"
},
"peerDependencies": {
"inquirer": "^9.1.3",
"jiti": "^2.0.0",
"swagger-typescript-api": "12.0.4"
},
"peerDependenciesMeta": {
"inquirer": {
"optional": true
},
"jiti": {
"optional": true
},
"swagger-typescript-api": {
"optional": true
}
},
"devDependencies": {
"@rollup/plugin-commonjs": "^25.0.2",
"@rollup/plugin-eslint": "^9.0.4",
"@rollup/plugin-node-resolve": "^15.1.0",
"@rollup/plugin-terser": "^0.4.3",
"@rollup/plugin-typescript": "^11.1.1",
"@types/lodash": "^4.14.195",
"@types/node": "^20.3.2",
"@typescript-eslint/eslint-plugin": "^5.60.1",
"eslint": "^8.43.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-prettier": "^4.2.1",
"inquirer": "^9.1.3",
"jiti": "^2.0.0",
"lodash": "^4.17.21",
"prettier": "2.8.8",
"rollup": "^3.25.3",
"rollup-plugin-dts": "^5.3.0",
"swagger-typescript-api": "12.0.4",
"tsc": "^2.0.4",
"tslib": "^2.6.0",
"typescript": "^5.1.3"
}
}