This repository has been archived by the owner on Mar 3, 2022. It is now read-only.
forked from orval-labs/orval
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
122 lines (122 loc) · 3.31 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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
{
"name": "orval",
"description": "A swagger client generator for typescript",
"version": "6.5.1",
"license": "MIT",
"files": [
"dist"
],
"bin": {
"orval": "dist/bin/orval.js"
},
"main": "dist/index.js",
"keywords": [
"rest",
"client",
"swagger",
"open-api",
"fetch",
"data fetching",
"code-generation",
"angular",
"react",
"react-query",
"svelte",
"svelte-query",
"vue",
"vue-query",
"msw",
"mock",
"axios",
"vue-query",
"vue",
"swr"
],
"author": {
"name": "Victor Bury",
"email": "[email protected]"
},
"repository": {
"type": "git",
"url": "https://github.com/anymaniax/orval"
},
"scripts": {
"build": "tsup ./src/bin/orval.ts ./src/index.ts --minify --clean --dts --splitting",
"dev": "tsup ./src/bin/orval.ts ./src/index.ts --clean --watch src --onSuccess 'yarn generate-api'",
"lint": "eslint src/**/*.ts",
"format": "prettier --write 'src/**/*.{js,ts}'",
"prerelease": "yarn build && cd ./tests && yarn generate && yarn build",
"release": "dotenv release-it",
"postrelease": "yarn build && yarn update-samples",
"generate-api": "node ./dist/bin/orval.js --config ./samples/react-query/basic/orval.config.ts --watch",
"prepare": "husky install",
"commitlint": "commitlint",
"update-samples": "zx ./scripts/update-samples.mjs"
},
"devDependencies": {
"@commitlint/cli": "^15.0.0",
"@commitlint/config-conventional": "^15.0.0",
"@release-it/conventional-changelog": "^3.3.0",
"@types/chalk": "^2.2.0",
"@types/commander": "^2.12.2",
"@types/faker": "^5.5.8",
"@types/fs-extra": "^9.0.12",
"@types/inquirer": "^8.1.3",
"@types/lodash.get": "^4.4.6",
"@types/lodash.omit": "^4.5.6",
"@types/lodash.omitby": "^4.6.6",
"@types/lodash.uniq": "^4.5.6",
"@types/lodash.uniqby": "^4.7.6",
"@types/lodash.uniqwith": "^4.5.6",
"@types/micromatch": "^4.0.2",
"@types/node": "^16.7.8",
"@types/prettier": "^2.3.2",
"@types/request": "^2.48.7",
"@types/validator": "^13.6.3",
"@typescript-eslint/eslint-plugin": "^5.4.0",
"@typescript-eslint/parser": "^5.4.0",
"dotenv-cli": "^4.0.0",
"eslint": "^8.3.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^4.0.0",
"faker": "^5.5.3",
"husky": "^7.0.2",
"lint-staged": "^12.1.2",
"npm-run-all": "^4.1.5",
"prettier": "^2.4.1",
"release-it": "^14.11.5",
"rimraf": "^3.0.2",
"tsup": "^5.10.0",
"typescript": "^4.4.2",
"zx": "^4.2.0"
},
"dependencies": {
"@apidevtools/swagger-parser": "^10.0.3",
"cac": "^6.7.12",
"chalk": "^4.1.2",
"chokidar": "^3.5.2",
"cuid": "^2.1.8",
"debug": "^4.3.2",
"esbuild": "^0.13.15",
"esutils": "2.0.3",
"execa": "^5.1.1",
"find-up": "5.0.0",
"fs-extra": "^10.0.0",
"globby": "11.0.4",
"ibm-openapi-validator": "^0.51.3",
"inquirer": "^8.2.0",
"lodash.get": "^4.4.2",
"lodash.omit": "^4.5.0",
"lodash.omitby": "^4.6.0",
"lodash.uniq": "^4.5.0",
"lodash.uniqby": "^4.7.0",
"lodash.uniqwith": "^4.5.0",
"micromatch": "^4.0.4",
"openapi3-ts": "^2.0.1",
"swagger2openapi": "^7.0.8",
"tsconfck": "^1.1.1",
"upath": "^2.0.1",
"url": "^0.11.0",
"validator": "^13.7.0"
}
}