-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Expand file tree
/
Copy pathpackage.json
More file actions
174 lines (174 loc) · 9.65 KB
/
package.json
File metadata and controls
174 lines (174 loc) · 9.65 KB
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
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
{
"name": "swagger-editor",
"version": "5.0.0-alpha.111",
"contributors": [
"(in alphabetical order)",
"Francesco Tumanischvili",
"Timothy Lai",
"Vladimir Gorej <vladimir.gorej@gmail.com>"
],
"repository": "git@github.com:swagger-api/swagger-editor.git",
"license": "Apache-2.0",
"type": "module",
"unpkg": "./dist/umd/swagger-editor.js",
"module": "./dist/esm/swagger-editor.js",
"browser": "./dist/esm/swagger-editor.js",
"jsnext:main": "./dist/esm/swagger-editor.js",
"types": "./dist/types/App.d.ts",
"exports": {
"./package.json": "./package.json",
"./swagger-editor.css": "./dist/swagger-editor.css",
".": {
"browser": "./dist/esm/swagger-editor.js",
"types": "./dist/types/App.d.ts"
},
"./plugins/*": {
"browser": "./dist/esm/plugins/*/index.js",
"types": "./dist/types/plugins/*/index.d.ts"
},
"./presets/*": {
"browser": "./dist/esm/presets/*/index.js"
},
"./apidom.worker": {
"browser": "./dist/esm/apidom.worker.js"
},
"./editor.worker": {
"browser": "./dist/esm/editor.worker.js"
}
},
"typesVersions": {
"*": {
"plugins/*": [
"./dist/types/plugins/*/index.d.ts"
]
}
},
"scripts": {
"start": "cross-env DISABLE_ESLINT_PLUGIN=false ENABLE_PROGRESS_PLUGIN=true react-scripts start",
"build": "npm run build:app && npm run build:bundle:esm && npm run build:bundle:umd && npm run build:definitions",
"build:app": "cross-env NODE_OPTIONS=--max_old_space_size=4096 ENABLE_PROGRESS_PLUGIN=false DISABLE_ESLINT_PLUGIN=false react-scripts build",
"build:app:serve": "serve -s build -l 3050 -L",
"build:bundle:esm": "rimraf ./dist/esm && cross-env DISABLE_ESLINT_PLUGIN=false ENABLE_PROGRESS_PLUGIN=false GENERATE_SOURCEMAP=true BUILD_ESM_BUNDLE=true DIST_PATH=dist/esm react-scripts build-bundle && rimraf ./dist/esm/swagger-editor.css*",
"build:bundle:umd": "rimraf ./dist/umd ./dist/swagger-editor.css && cross-env NODE_OPTIONS=--max_old_space_size=4096 DISABLE_ESLINT_PLUGIN=false ENABLE_PROGRESS_PLUGIN=false GENERATE_SOURCEMAP=false BUILD_UMD_BUNDLE=true DIST_PATH=dist/umd react-scripts build-bundle && copyfiles -u 2 ./dist/umd/swagger-editor.css ./dist && rimraf ./dist/umd/swagger-editor.css",
"build:definitions": "tsc -p tsconfig.json",
"analyze": "source-map-explorer 'build/static/js/main.6d62e780.js'",
"test": "react-scripts test",
"cy:dev": "start-server-and-test cy:dev:server http://localhost:3003 cy:dev:open",
"cy:dev:open": "cross-env CYPRESS_BASE_URL=http://localhost:3003 cypress open --e2e",
"cy:dev:server": "cross-env PORT=3003 BROWSER=none ENABLE_PROGRESS_PLUGIN=false REACT_APP_E2E_TESTS=true E2E_TESTS=true react-scripts start",
"cy:ci": "cross-env REACT_APP_E2E_TESTS=true E2E_TESTS=true FAST_REFRESH=false BROWSER=none start-server-and-test start http://localhost:3000 cy:run:chrome",
"cy:run": "cross-env BROWSERSLIST_ENV=production cypress run",
"cy:run:chrome": "cross-env BROWSERSLIST_ENV=production cypress run --browser chrome",
"cy:run:firefox": "cross-env BROWSERSLIST_ENV=production cypress run --browser firefox",
"cy:run:electron": "cross-env BROWSERSLIST_ENV=production cypress run --browser electron",
"lint": "eslint . --ext .jsx,.js,.tsx,.ts",
"lint:fix": "eslint . --ext .jsx,.js,.tsx,.ts --fix",
"clean": "rimraf ./build ./dist",
"link:apidom": "npm link @swagger-api/apidom-ast @swagger-api/apidom-core @swagger-api/apidom-error @swagger-api/apidom-json-path @swagger-api/apidom-json-pointer @swagger-api/apidom-ls @swagger-api/apidom-ns-api-design-systems @swagger-api/apidom-ns-asyncapi-2 @swagger-api/apidom-ns-json-schema-draft-4 @swagger-api/apidom-ns-json-schema-draft-6 @swagger-api/apidom-ns-json-schema-draft-7 @swagger-api/apidom-ns-openapi-2 @swagger-api/apidom-ns-openapi-3-0 @swagger-api/apidom-ns-openapi-3-1 @swagger-api/apidom-parser-adapter-api-design-systems-json @swagger-api/apidom-parser-adapter-api-design-systems-yaml @swagger-api/apidom-parser-adapter-asyncapi-json-2 @swagger-api/apidom-parser-adapter-asyncapi-yaml-2 @swagger-api/apidom-parser-adapter-json @swagger-api/apidom-parser-adapter-openapi-json-2 @swagger-api/apidom-parser-adapter-openapi-json-3-0 @swagger-api/apidom-parser-adapter-openapi-json-3-1 @swagger-api/apidom-parser-adapter-openapi-yaml-2 @swagger-api/apidom-parser-adapter-openapi-yaml-3-0 @swagger-api/apidom-parser-adapter-openapi-yaml-3-1 @swagger-api/apidom-parser-adapter-yaml-1-2 @swagger-api/apidom-parser @swagger-api/apidom-reference",
"link:apidom-ls": "npm link @swagger-api/apidom-ls"
},
"dependencies": {
"@asyncapi/avro-schema-parser": "^3.0.18",
"@asyncapi/openapi-schema-parser": "^3.0.23",
"@asyncapi/parser": "^3.4.0",
"@asyncapi/protobuf-schema-parser": "^3.5.1",
"@asyncapi/react-component": "^1.4.10",
"@codingame/monaco-vscode-api": "=15.0.3",
"@babel/runtime": "^7.27.1",
"@emotion/react": "^11.14.0",
"@emotion/styled": "^11.14.0",
"@mui/material": "^5.16.9",
"@primer/octicons-react": "^19.15.2",
"@swagger-api/apidom-core": "^1.0.0-beta.41",
"@swagger-api/apidom-json-pointer": "^1.0.0-beta.41",
"@swagger-api/apidom-ls": "^1.0.0-beta.41",
"@swagger-api/apidom-ns-api-design-systems": "^1.0.0-beta.41",
"@swagger-api/apidom-ns-openapi-3-1": "^1.0.0-beta.41",
"@swagger-api/apidom-parser-adapter-api-design-systems-json": "^1.0.0-beta.41",
"@swagger-api/apidom-parser-adapter-api-design-systems-yaml": "^1.0.0-beta.41",
"@swagger-api/apidom-parser-adapter-asyncapi-json-2": "^1.0.0-beta.41",
"@swagger-api/apidom-parser-adapter-asyncapi-yaml-2": "^1.0.0-beta.41",
"@swagger-api/apidom-parser-adapter-json": "^1.0.0-beta.41",
"@swagger-api/apidom-parser-adapter-openapi-json-2": "^1.0.0-beta.41",
"@swagger-api/apidom-parser-adapter-openapi-json-3-0": "^1.0.0-beta.41",
"@swagger-api/apidom-parser-adapter-openapi-json-3-1": "^1.0.0-beta.41",
"@swagger-api/apidom-parser-adapter-openapi-yaml-2": "^1.0.0-beta.41",
"@swagger-api/apidom-parser-adapter-openapi-yaml-3-0": "^1.0.0-beta.41",
"@swagger-api/apidom-parser-adapter-openapi-yaml-3-1": "^1.0.0-beta.41",
"@swagger-api/apidom-parser-adapter-yaml-1-2": "^1.0.0-beta.41",
"axios": "^1.9.0",
"classnames": "^2.3.2",
"deep-extend": "=0.6.0",
"eslint-plugin-no-only-tests": "^3.3.0",
"file-dialog": "^0.0.8",
"immutable": "^3.8.2",
"js-file-download": "^0.4.12",
"js-yaml": "^4.1.0",
"lodash": "^4.17.21",
"monaco-editor": "npm:@codingame/monaco-vscode-editor-api@=15.0.3",
"monaco-marker-data-provider": "^1.2.4",
"prop-types": "^15.8.1",
"react": ">=17 <19",
"react-collapse-pane": "^3.0.1",
"react-dom": ">=17 <19",
"react-dropzone": "^14.3.8",
"react-immutable-proptypes": "^2.2.0",
"react-modal": "^3.16.3",
"react-resize-detector": "^9.1.1",
"reselect": "^5.1.1",
"short-unique-id": "=5.2.0",
"styled-components": "^6.1.17",
"swagger-ui-react": "^5.24.0",
"vscode": "npm:@codingame/monaco-vscode-extension-api@=15.0.3",
"vscode-languageclient": "=10.0.0-next.16",
"vscode-languageserver-textdocument": "^1.0.12"
},
"overrides": {
"@swagger-api/apidom-core": "$@swagger-api/apidom-core",
"@swagger-api/apidom-json-pointer": "$@swagger-api/apidom-json-pointer",
"@swagger-api/apidom-ls": "$@swagger-api/apidom-ls",
"@swagger-api/apidom-ns-api-design-systems": "$@swagger-api/apidom-ns-api-design-systems",
"@swagger-api/apidom-parser-adapter-api-design-systems-json": "$@swagger-api/apidom-parser-adapter-api-design-systems-json",
"@swagger-api/apidom-parser-adapter-api-design-systems-yaml": "$@swagger-api/apidom-parser-adapter-api-design-systems-yaml",
"@swagger-api/apidom-parser-adapter-asyncapi-json-2": "$@swagger-api/apidom-parser-adapter-asyncapi-json-2",
"@swagger-api/apidom-parser-adapter-asyncapi-yaml-2": "$@swagger-api/apidom-parser-adapter-asyncapi-yaml-2",
"@swagger-api/apidom-parser-adapter-openapi-json-2": "$@swagger-api/apidom-parser-adapter-openapi-json-2",
"@swagger-api/apidom-parser-adapter-openapi-yaml-2": "$@swagger-api/apidom-parser-adapter-openapi-yaml-2",
"@swagger-api/apidom-parser-adapter-openapi-json-3-0": "$@swagger-api/apidom-parser-adapter-openapi-json-3-0",
"@swagger-api/apidom-parser-adapter-openapi-json-3-1": "$@swagger-api/apidom-parser-adapter-openapi-json-3-1",
"@swagger-api/apidom-parser-adapter-openapi-yaml-3-0": "$@swagger-api/apidom-parser-adapter-openapi-yaml-3-0",
"@swagger-api/apidom-parser-adapter-openapi-yaml-3-1": "$@swagger-api/apidom-parser-adapter-openapi-yaml-3-1"
},
"devDependencies": {
"@commitlint/cli": "^19.8.1",
"@commitlint/config-conventional": "^19.8.0",
"@testing-library/cypress": "^10.0.3",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.3.0",
"@testing-library/user-event": "^14.6.1",
"@typescript-eslint/eslint-plugin": "^5.62.0",
"@typescript-eslint/parser": "^5.62.0",
"copyfiles": "^2.4.1",
"cross-env": "^7.0.3",
"cypress": "^13.15.2",
"cypress-file-upload": "^5.0.8",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-cypress": "^3.3.0",
"eslint-plugin-prettier": "^5.4.0",
"https-browserify": "^1.0.0",
"husky": "^9.1.7",
"jest-canvas-mock": "^2.5.2",
"jest-watch-typeahead": "^2.2.2",
"lint-staged": "^16.1.2",
"prettier": "^3.5.3",
"react-scripts": "file:./create-react-app/packages/react-scripts",
"rimraf": "^6.0.1",
"sass": "^1.89.0",
"serve": "^14.2.4",
"source-map-explorer": "^2.5.3",
"start-server-and-test": "^2.0.11",
"typescript-strict-plugin": "^2.4.4",
"web-vitals": "^4.2.4"
}
}