forked from rookie-luochao/openapi-ui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
107 lines (107 loc) · 2.69 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
{
"name": "openapi-ui",
"private": true,
"version": "1.9.7",
"type": "module",
"engines": {
"node": "^18.0.0 || >=20.0.0"
},
"scripts": {
"dev": "vite",
"start": "vite",
"build": "tsc && vite build",
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
"lintfix": "eslint . --ext ts,tsx --fix",
"preview": "vite preview",
"prepare": "husky"
},
"dependencies": {
"@emotion/react": "^11.11.3",
"@faker-js/faker": "^8.4.1",
"@monaco-editor/react": "^4.6.0",
"antd": "^5.14.2",
"axios": "^1.6.7",
"copy-to-clipboard": "^3.3.3",
"dayjs": "^1.11.10",
"i18next": "^23.10.0",
"i18next-browser-languagedetector": "^7.2.0",
"js-yaml": "^4.1.0",
"lodash-es": "^4.17.21",
"monaco-editor": "^0.46.0",
"openapi-sampler": "^1.4.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-error-boundary": "^4.0.12",
"react-i18next": "^14.0.0",
"react-markdown": "^9.0.1",
"react-router-dom": "^6.22.1",
"react-router-toolkit": "^1.2.0",
"regenerator-runtime": "^0.14.1",
"swagger2openapi": "^7.0.8",
"zustand": "^4.4.7"
},
"devDependencies": {
"@babel/preset-react": "^7.23.3",
"@commitlint/cli": "^19.0.3",
"@commitlint/config-conventional": "^19.0.3",
"@emotion/babel-plugin": "^11.11.0",
"@esbuild-plugins/node-globals-polyfill": "^0.2.3",
"@esbuild-plugins/node-modules-polyfill": "^0.2.2",
"@types/js-yaml": "^4.0.9",
"@types/lodash-es": "^4.17.8",
"@types/react": "^18.2.64",
"@types/react-dom": "^18.2.19",
"@types/swagger2openapi": "^7.0.4",
"@typescript-eslint/eslint-plugin": "^7.1.1",
"@typescript-eslint/parser": "^7.1.1",
"@vitejs/plugin-react": "^4.2.1",
"csstype": "^3.1.3",
"eslint": "^8.56.0",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-refresh": "^0.4.5",
"husky": "^9.0.11",
"lint-staged": "^15.2.2",
"openapi-types": "^12.1.3",
"prettier": "^3.2.5",
"rollup-plugin-visualizer": "^5.12.0",
"ts-node": "^10.9.2",
"typescript": "^5.3.3",
"vite": "^5.1.5"
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
],
"rules": {
"type-enum": [
2,
"always",
[
"build",
"chore",
"ci",
"docs",
"feat",
"fix",
"perf",
"refactor",
"revert",
"style",
"test"
]
]
}
},
"lint-staged": {
"*.(ts|tsx)": [
"eslint --quiet"
],
"*.(ts|tsx|json|html)": [
"prettier --write"
]
},
"prettier": {
"arrowParens": "always",
"printWidth": 120
}
}