forked from orval-labs/orval
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
128 lines (128 loc) · 3.53 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
123
124
125
126
127
128
{
"name": "orval",
"description": "A swagger client generator for typescript",
"version": "6.9.6",
"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": "bury.victor@gmail.com"
},
"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",
"test": "vitest --global test.ts",
"format": "prettier --write .",
"format:staged": "pretty-quick --staged",
"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 && cd ./samples/react-query/basic && yarn",
"commitlint": "commitlint",
"update-samples": "zx ./scripts/update-samples.mjs"
},
"devDependencies": {
"@commitlint/cli": "^17.0.2",
"@commitlint/config-conventional": "^17.0.3",
"@faker-js/faker": "^7.3.0",
"@release-it/conventional-changelog": "^5.0.0",
"@types/chalk": "^2.2.0",
"@types/commander": "^2.12.2",
"@types/fs-extra": "^9.0.12",
"@types/inquirer": "^8.2.0",
"@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": "^18.0.0",
"@types/prettier": "^2.4.4",
"@types/request": "^2.48.8",
"@types/validator": "^13.7.1",
"@typescript-eslint/eslint-plugin": "^5.14.0",
"@typescript-eslint/parser": "^5.14.0",
"dotenv-cli": "^5.1.0",
"eslint": "^8.10.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.0.0",
"husky": "^8.0.1",
"lint-staged": "^13.0.3",
"npm-run-all": "^4.1.5",
"prettier": "2.6.2",
"pretty-quick": "^3.1.3",
"release-it": "^15.1.0",
"rimraf": "^3.0.2",
"tsup": "^5.12.0",
"typescript": "^4.6.2",
"vitest": "^0.6.0",
"zx": "^7.0.2"
},
"dependencies": {
"@apidevtools/swagger-parser": "^10.1.0",
"acorn": "^8.7.0",
"cac": "^6.7.12",
"chalk": "^4.1.2",
"chokidar": "^3.5.3",
"compare-versions": "^4.1.3",
"cuid": "^2.1.8",
"debug": "^4.3.3",
"esbuild": "^0.14.25",
"esutils": "2.0.3",
"execa": "^5.1.1",
"find-up": "5.0.0",
"fs-extra": "^10.0.1",
"globby": "11.0.4",
"ibm-openapi-validator": "^0.83.0",
"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.2",
"string-argv": "^0.3.1",
"swagger2openapi": "^7.0.8",
"tsconfck": "^2.0.1",
"upath": "^2.0.1",
"url": "^0.11.0",
"validator": "^13.7.0"
}
}