-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
103 lines (103 loc) · 3.27 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
{
"bin": {
"swaxios": "dist/cli.js"
},
"bugs": {
"url": "https://github.com/welovecoding/swaxios/issues"
},
"dependencies": {
"@apidevtools/swagger-parser": "10.1.0",
"axios": "1.7.7",
"ci-info": "4.0.0",
"cli-interact": "0.1.9",
"commander": "12.1.0",
"fs-extra": "11.2.0",
"handlebars": "4.7.8",
"openapi-types": "8.0.0",
"prettier": "2.8.4",
"yamljs": "0.3.0"
},
"description": "Swagger API client generator based on axios and TypeScript.",
"devDependencies": {
"@tstv/tsconfig-common": "3.6.0",
"@types/ci-info": "3.1.4",
"@types/cli-interact": "0.1.4",
"@types/fs-extra": "11.0.4",
"@types/handlebars-helpers": "0.5.6",
"@types/jasmine": "5.1.4",
"@types/minimist": "1.2.5",
"@types/node": "22.8.6",
"@types/prettier": "2.7.3",
"@types/yamljs": "0.2.34",
"@wireapp/tslint-config": "1.4.1",
"generate-changelog": "1.8.0",
"husky": "4.3.8",
"jasmine": "5.4.0",
"lint-staged": "15.2.10",
"nyc": "17.1.0",
"shx": "0.3.4",
"ts-node": "10.9.2",
"tslint": "6.1.3",
"tslint-config-prettier": "1.18.0",
"tslint-plugin-prettier": "2.3.0",
"tslint-react": "5.0.0",
"tslint-react-hooks": "2.2.2",
"typescript": "5.6.3"
},
"files": [
"dist",
"!dist/**/*.test.js"
],
"homepage": "https://github.com/welovecoding/swaxios#readme",
"keywords": [
"api",
"api-client",
"api-generator",
"axios",
"browser",
"cli",
"codegen",
"generator",
"javascript",
"nodejs",
"openapi",
"rest",
"swagger",
"typescript"
],
"license": "MIT",
"main": "dist/index.js",
"name": "swaxios",
"peerDependencies": {
"typescript": "*"
},
"repository": {
"type": "git",
"url": "git+https://github.com/welovecoding/swaxios.git"
},
"scripts": {
"changelog:commit": "git add CHANGELOG.md && git commit -m \"docs: updated CHANGELOG.md\"",
"changelog:create": "changelog -x \"chore,docs\"",
"clean": "shx rm -rf ./dist",
"copy": "shx mkdir -p ./dist/templates && shx cp -R ./src/templates/* ./dist/templates",
"dist": "yarn clean && tsc && yarn copy",
"fix": "yarn fix:other && yarn fix:ts",
"fix:other": "yarn prettier --write",
"fix:ts": "yarn lint:ts --fix",
"lint": "yarn lint:other && yarn lint:ts",
"lint:other": "yarn prettier --list-different",
"lint:ts": "tslint --config tslint.json --project tsconfig.json \"**/*.ts?(x)\"",
"lint:types": "tsc --noEmit",
"postversion": "git push origin && git push origin --tags && npm publish",
"prerelease": "git checkout main && git pull && yarn install && yarn test && yarn dist",
"prettier": "prettier \"**/*.{json,md,yml}\"",
"release:major": "yarn prerelease && yarn changelog:create -M && yarn changelog:commit && npm version major",
"release:minor": "yarn prerelease && yarn changelog:create -m && yarn changelog:commit && npm version minor",
"release:patch": "yarn prerelease && yarn changelog:create -p && yarn changelog:commit && npm version patch",
"start": "ts-node src/cli.ts -i ./src/test/fixtures/wire-sso.json -o ./src/temp -f",
"test": "yarn lint && yarn test:node",
"test:node": "nyc jasmine --config=jasmine.json",
"test:types": "yarn lint:types"
},
"version": "0.2.5"
}