forked from acacode/swagger-typescript-api
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
78 lines (78 loc) · 2.55 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
{
"name": "swagger-typescript-api",
"version": "1.12.0",
"description": "Create typescript api module from swagger schema",
"scripts": {
"cli:json": "node index.js -r -d -p ./swagger-test-cli.json -n swagger-test-cli.ts",
"cli:yaml": "node index.js -r -d -p ./swagger-test-cli.yaml -n swagger-test-cli.ts",
"cli:debug:json": "node --nolazy index.js -p ./swagger-test-cli.json -n swagger-test-cli.ts --union-enums",
"cli:debug:yaml": "node --nolazy index.js -p ./swagger-test-cli.yaml -n swagger-test-cli.ts",
"cli:help": "node index.js -h",
"test:all": "npm-run-all generate validate test:routeTypes test:noClient test:defaultAsSuccess test:responses test:templates test:unionEnums test:specProperty --continue-on-error",
"generate": "node tests/generate.js",
"generate:debug": "node --nolazy tests/generate.js",
"validate": "node tests/validate.js",
"validate:debug": "node --nolazy tests/validate.js",
"test:routeTypes": "node tests/spec/routeTypes/test.js",
"test:noClient": "node tests/spec/noClient/test.js",
"test:defaultAsSuccess": "node tests/spec/defaultAsSuccess/test.js",
"test:templates": "node tests/spec/templates/test.js",
"test:unionEnums": "node tests/spec/unionEnums/test.js",
"test:responses": "node tests/spec/responses/test.js",
"test:specProperty": "node tests/spec/specProperty/test.js"
},
"author": "acacode",
"license": "MIT",
"typings": "./index.d.ts",
"main": "src/index.js",
"devDependencies": {
"@types/lodash": "^4.14.149",
"@types/mustache": "^4.0.1",
"@types/prettier": "^2.0.1",
"husky": "^4.2.3",
"npm-run-all": "^4.1.5",
"pretty-quick": "^2.0.1",
"typescript": "^3.9.3"
},
"dependencies": {
"@types/swagger-schema-official": "2.0.21",
"axios": "^0.19.2",
"commander": "^5.1.0",
"js-yaml": "^3.13.1",
"lodash": "^4.17.15",
"mustache": "^4.0.1",
"prettier": "^2.0.5",
"swagger-schema-official": "2.0.0-bab6bed",
"swagger2openapi": "^6.0.3"
},
"bin": {
"swagger-typescript-api": "index.js",
"sta": "index.js"
},
"husky": {
"hooks": {
"pre-commit": "pretty-quick --staged",
"post-commit": "git update-index -g"
}
},
"keywords": [
"swagger",
"typescript",
"api",
"openapi",
"rest",
"codegen",
"generation",
"http"
],
"files": [
"src",
"index.js",
"index.d.ts",
"LICENSE"
],
"bugs": {
"url": "https://github.com/acacode/swagger-typescript-api/issues"
},
"homepage": "https://github.com/acacode/swagger-typescript-api"
}