forked from mikestead/openapi-client
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
68 lines (68 loc) · 1.72 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
{
"name": "@pysco68/tipi-web-openapi-client",
"version": "22.03.21c",
"description": "Generate ES6 clients from OpenAPI 3.0 specs",
"author": {
"name": "Yannic Staudt",
"url": "https://github.com/pysco68"
},
"license": "MIT",
"homepage": "https://github.com/pysco68/tipi-openapi-gen",
"repository": {
"type": "git",
"url": "https://github.com:pysco68/tipi-openapi-gen.git"
},
"bugs": {
"url": "https://github.com/pysco68/tipi-openapi-gen/issues"
},
"engines": {
"node": ">=14.0.0",
"npm": ">=5.0.0"
},
"main": "dist/index.js",
"bin": {
"tipi-openapi-gen": "dist/cli.js"
},
"scripts": {
"setup": "typings install",
"prebuild": "npm run init",
"build": "tsc",
"predev": "npm run init",
"dev": "tsc -w",
"init": "npm run clean && npm run copy:template",
"clean": "shx rm -rf ./dist",
"copy:template": "shx mkdir -p ./dist/gen/js && npm run copy:service-ts && npm run copy:service-js",
"copy:service-ts": "shx cp ./src/gen/js/service.ts.template ./dist/gen/js/service.ts.template",
"copy:service-js": "shx cp ./src/gen/js/service.js.template ./dist/gen/js/service.js.template"
},
"files": [
"dist"
],
"keywords": [
"swagger",
"swagger 2.0",
"openapi",
"rest",
"service",
"typescript",
"codegen"
],
"dependencies": {
"@types/node": "^15.12.5",
"chalk": "^4.1.1",
"commander": "^8.0.0",
"isomorphic-fetch": "^3.0.0",
"js-yaml": "^4.1.0",
"mkdirp": "^1.0.4",
"mustache": "^4.2.0",
"openapi3-ts": "^2.0.1"
},
"devDependencies": {
"cross-env": "^7.0.3",
"expect": "^27.0.6",
"mocha": "^9.0.1",
"shx": "^0.3.3",
"tslint": "^6.1.3",
"typescript": "^4.3.4"
}
}