-
Notifications
You must be signed in to change notification settings - Fork 60
/
package.json
155 lines (155 loc) · 4.09 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
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
{
"name": "openapi-ui-dist",
"version": "2.3.3",
"type": "module",
"engines": {
"node": "^18.0.0 || >=20.0.0"
},
"packageManager": "pnpm@9.10.0",
"scripts": {
"dev": "vite",
"start": "vite",
"build": "tsc -b && vite build",
"build:package": "tsc -b && vite build --config vite.package.config.ts --mode package",
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings=0",
"lintfix": "eslint . --ext ts,tsx --report-unused-disable-directives --fix",
"lintquiet": "eslint src --quiet",
"preview": "vite preview",
"prepare": "husky"
},
"dependencies": {
"@emotion/react": "^11.13.3",
"@faker-js/faker": "^8.4.1",
"@monaco-editor/react": "^4.6.0",
"antd": "^5.21.6",
"axios": "^1.7.7",
"copy-to-clipboard": "^3.3.3",
"dayjs": "^1.11.13",
"i18next": "^23.16.5",
"i18next-browser-languagedetector": "^8.0.0",
"js-yaml": "^4.1.0",
"json-schema-enhanced-editor-react": "^0.1.0",
"lodash-es": "^4.17.21",
"monaco-editor": "^0.52.0",
"openapi-sampler": "^1.5.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-error-boundary": "^4.1.2",
"react-i18next": "^15.1.1",
"react-markdown": "^9.0.1",
"react-router-dom": "^6.28.0",
"react-router-toolkit": "^1.2.0",
"react-syntax-highlighter": "^15.5.0",
"regenerator-runtime": "^0.14.1",
"swagger2openapi": "^7.0.8",
"zustand": "^4.5.5"
},
"devDependencies": {
"@babel/preset-react": "^7.25.9",
"@commitlint/cli": "^19.5.0",
"@commitlint/config-conventional": "^19.5.0",
"@emotion/babel-plugin": "^11.12.0",
"@esbuild-plugins/node-globals-polyfill": "^0.2.3",
"@esbuild-plugins/node-modules-polyfill": "^0.2.2",
"@trivago/prettier-plugin-sort-imports": "^4.3.0",
"@types/js-yaml": "^4.0.9",
"@types/lodash-es": "^4.17.8",
"@types/react": "^18.2.79",
"@types/react-dom": "^18.2.25",
"@types/react-syntax-highlighter": "^15.5.11",
"@types/swagger2openapi": "^7.0.4",
"@typescript-eslint/eslint-plugin": "^7.18.0",
"@typescript-eslint/parser": "^7.18.0",
"@vitejs/plugin-react": "^4.3.3",
"csstype": "^3.1.3",
"eslint": "^8.56.0",
"eslint-import-resolver-typescript": "^3.6.3",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-react": "^7.37.2",
"eslint-plugin-react-hooks": "^5.0.0",
"eslint-plugin-react-refresh": "^0.4.14",
"husky": "^9.1.7",
"lint-staged": "^15.2.10",
"openapi-ts-request": "^0.11.0",
"openapi-types": "^12.1.3",
"prettier": "^3.3.3",
"rollup-plugin-visualizer": "^5.12.0",
"ts-node": "^10.9.2",
"typescript": "^5.6.3",
"vite": "^5.4.11",
"vite-plugin-css-injected-by-js": "^3.5.2"
},
"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 --fix --quiet",
"prettier --write"
],
"*.(cjs|json|html)": [
"prettier --write"
]
},
"prettier": {
"arrowParens": "always",
"printWidth": 120,
"importOrder": [
"^@?\\w",
"^@/(.*)$",
"^[./]"
],
"importOrderSeparation": true,
"importOrderSortSpecifiers": true,
"plugins": [
"@trivago/prettier-plugin-sort-imports"
]
},
"main": "./lib/openapi-ui.umd.js",
"module": "./es/openapi-ui.js",
"types": "./index.d.ts",
"files": [
"es",
"lib",
"index.d.ts"
],
"homepage": "https://github.com/rookie-luochao/openapi-ui#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/rookie-luochao/openapi-ui"
},
"bugs": {
"url": "https://github.com/rookie-luochao/openapi-ui/issues"
},
"keywords": [
"openapi-ui",
"swagger-ui",
"openapi",
"swagger",
"openapi3",
"openapi31",
"api-documentation",
"openapi-specification"
]
}