-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathpackage.json
327 lines (327 loc) · 15.8 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
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
{
"name": "@swagger-api/apidom-reference",
"version": "1.0.0-beta.11",
"description": "Advanced algorithms for semantic ApiDOM manipulations like dereferencing or resolution.",
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org"
},
"type": "module",
"sideEffects": [
"./src/configuration/saturated.mjs",
"./src/configuration/saturated.cjs"
],
"unpkg": "./dist/apidom-reference.browser.min.js",
"browser": {
"./src/parse/parsers/binary/index-node.cjs": "./src/parse/parsers/binary/index-browser.cjs",
"./src/resolve/resolvers/file/index-node.cjs": "./src/resolve/resolvers/file/index-browser.cjs",
"./src/parse/parsers/binary/index-node.mjs": "./src/parse/parsers/binary/index-browser.mjs",
"./src/resolve/resolvers/file/index-node.mjs": "./src/resolve/resolvers/file/index-browser.mjs"
},
"main": "./src/configuration/saturated.cjs",
"types": "./types/apidom-reference.d.ts",
"exports": {
".": {
"import": "./src/configuration/saturated.mjs",
"require": "./src/configuration/saturated.cjs",
"types": "./types/apidom-reference.d.ts"
},
"./configuration/saturated": {
"import": "./src/configuration/saturated.mjs",
"require": "./src/configuration/saturated.cjs",
"types": "./types/apidom-reference.d.ts"
},
"./configuration/empty": {
"import": "./src/configuration/empty.mjs",
"require": "./src/configuration/empty.cjs",
"types": "./types/apidom-reference.d.ts"
},
"./resolve/resolvers/file": {
"browser": {
"import": "./src/resolve/resolvers/file/index-browser.mjs",
"require": "./src/resolve/resolvers/file/index-browser.cjs",
"types": "./types/resolve/resolvers/file/index-browser.d.ts"
},
"default": {
"import": "./src/resolve/resolvers/file/index-node.mjs",
"require": "./src/resolve/resolvers/file/index-node.cjs",
"types": "./types/resolve/resolvers/file/index-node.d.ts"
}
},
"./resolve/resolvers/http-axios": {
"import": "./src/resolve/resolvers/http-axios/index.mjs",
"require": "./src/resolve/resolvers/http-axios/index.cjs",
"types": "./types/resolve/resolvers/http-axios/index.d.ts"
},
"./resolve/strategies/apidom": {
"import": "./src/resolve/strategies/apidom/index.mjs",
"require": "./src/resolve/strategies/apidom/index.cjs",
"types": "./types/resolve/strategies/apidom/index.d.ts"
},
"./resolve/strategies/asyncapi-2": {
"import": "./src/resolve/strategies/asyncapi-2/index.mjs",
"require": "./src/resolve/strategies/asyncapi-2/index.cjs",
"types": "./types/resolve/strategies/asyncapi-2/index.d.ts"
},
"./resolve/strategies/openapi-2": {
"import": "./src/resolve/strategies/openapi-2/index.mjs",
"require": "./src/resolve/strategies/openapi-2/index.cjs",
"types": "./types/resolve/strategies/openapi-2/index.d.ts"
},
"./resolve/strategies/openapi-3-0": {
"import": "./src/resolve/strategies/openapi-3-0/index.mjs",
"require": "./src/resolve/strategies/openapi-3-0/index.cjs",
"types": "./types/resolve/strategies/openapi-3-0/index.d.ts"
},
"./resolve/strategies/openapi-3-1": {
"import": "./src/resolve/strategies/openapi-3-1/index.mjs",
"require": "./src/resolve/strategies/openapi-3-1/index.cjs",
"types": "./types/resolve/strategies/openapi-3-1/index.d.ts"
},
"./parse/parsers/api-design-systems-json": {
"import": "./src/parse/parsers/api-design-systems-json/index.mjs",
"require": "./src/parse/parsers/api-design-systems-json/index.cjs",
"types": "./types/parse/parsers/api-design-systems-json/index.d.ts"
},
"./parse/parsers/api-design-systems-yaml": {
"import": "./src/parse/parsers/api-design-systems-yaml/index.mjs",
"require": "./src/parse/parsers/api-design-systems-yaml/index.cjs",
"types": "./types/parse/parsers/api-design-systems-yaml/index.d.ts"
},
"./parse/parsers/asyncapi-json-2": {
"import": "./src/parse/parsers/asyncapi-json-2/index.mjs",
"require": "./src/parse/parsers/asyncapi-json-2/index.cjs",
"types": "./types/parse/parsers/asyncapi-json-2/index.d.ts"
},
"./parse/parsers/asyncapi-yaml-2": {
"import": "./src/parse/parsers/asyncapi-yaml-2/index.mjs",
"require": "./src/parse/parsers/asyncapi-yaml-2/index.cjs",
"types": "./types/parse/parsers/asyncapi-yaml-2/index.d.ts"
},
"./parse/parsers/workflows-json-1": {
"import": "./src/parse/parsers/workflows-json-1/index.mjs",
"require": "./src/parse/parsers/workflows-json-1/index.cjs",
"types": "./types/parse/parsers/workflows-json-1/index.d.ts"
},
"./parse/parsers/workflows-yaml-1": {
"import": "./src/parse/parsers/workflows-yaml-1/index.mjs",
"require": "./src/parse/parsers/workflows-yaml-1/index.cjs",
"types": "./types/parse/parsers/workflows-yaml-1/index.d.ts"
},
"./parse/parsers/apidom-json": {
"import": "./src/parse/parsers/apidom-json/index.mjs",
"require": "./src/parse/parsers/apidom-json/index.cjs",
"types": "./types/parse/parsers/apidom-json/index.d.ts"
},
"./parse/parsers/binary": {
"browser": {
"import": "./src/parse/parsers/binary/index-browser.mjs",
"require": "./src/parse/parsers/binary/index-browser.cjs",
"types": "./types/parse/parsers/binary/index-browser.d.ts"
},
"default": {
"import": "./src/parse/parsers/binary/index-node.mjs",
"require": "./src/parse/parsers/binary/index-node.cjs",
"types": "./types/parse/parsers/binary/index-node.d.ts"
}
},
"./parse/parsers/json": {
"import": "./src/parse/parsers/json/index.mjs",
"require": "./src/parse/parsers/json/index.cjs",
"types": "./types/parse/parsers/json/index.d.ts"
},
"./parse/parsers/openapi-json-2": {
"import": "./src/parse/parsers/openapi-json-2/index.mjs",
"require": "./src/parse/parsers/openapi-json-2/index.cjs",
"types": "./types/parse/parsers/openapi-json-2/index.d.ts"
},
"./parse/parsers/openapi-yaml-2": {
"import": "./src/parse/parsers/openapi-yaml-2/index.mjs",
"require": "./src/parse/parsers/openapi-yaml-2/index.cjs",
"types": "./types/parse/parsers/openapi-yaml-2/index.d.ts"
},
"./parse/parsers/openapi-json-3-0": {
"import": "./src/parse/parsers/openapi-json-3-0/index.mjs",
"require": "./src/parse/parsers/openapi-json-3-0/index.cjs",
"types": "./types/parse/parsers/openapi-json-3-0/index.d.ts"
},
"./parse/parsers/openapi-json-3-1": {
"import": "./src/parse/parsers/openapi-json-3-1/index.mjs",
"require": "./src/parse/parsers/openapi-json-3-1/index.cjs",
"types": "./types/parse/parsers/openapi-json-3-1/index.d.ts"
},
"./parse/parsers/openapi-yaml-3-0": {
"import": "./src/parse/parsers/openapi-yaml-3-0/index.mjs",
"require": "./src/parse/parsers/openapi-yaml-3-0/index.cjs",
"types": "./types/parse/parsers/openapi-yaml-3-0/index.d.ts"
},
"./parse/parsers/openapi-yaml-3-1": {
"import": "./src/parse/parsers/openapi-yaml-3-1/index.mjs",
"require": "./src/parse/parsers/openapi-yaml-3-1/index.cjs",
"types": "./types/parse/parsers/openapi-yaml-3-1/index.d.ts"
},
"./parse/parsers/yaml-1-2": {
"import": "./src/parse/parsers/yaml-1-2/index.mjs",
"require": "./src/parse/parsers/yaml-1-2/index.cjs",
"types": "./types/parse/parsers/yaml-1-2/index.d.ts"
},
"./dereference/strategies/apidom": {
"import": "./src/dereference/strategies/apidom/index.mjs",
"require": "./src/dereference/strategies/apidom/index.cjs",
"types": "./types/dereference/strategies/apidom/index.d.ts"
},
"./dereference/strategies/apidom/selectors/element-id": {
"import": "./src/dereference/strategies/apidom/selectors/element-id.mjs",
"require": "./src/dereference/strategies/apidom/selectors/element-id.cjs",
"types": "./types/dereference/strategies/apidom/selectors/element-id.d.ts"
},
"./dereference/strategies/asyncapi-2": {
"import": "./src/dereference/strategies/asyncapi-2/index.mjs",
"require": "./src/dereference/strategies/asyncapi-2/index.cjs",
"types": "./types/dereference/strategies/asyncapi-2/index.d.ts"
},
"./dereference/strategies/openapi-2": {
"import": "./src/dereference/strategies/openapi-2/index.mjs",
"require": "./src/dereference/strategies/openapi-2/index.cjs",
"types": "./types/dereference/strategies/openapi-2/index.d.ts"
},
"./dereference/strategies/openapi-3-0": {
"import": "./src/dereference/strategies/openapi-3-0/index.mjs",
"require": "./src/dereference/strategies/openapi-3-0/index.cjs",
"types": "./types/dereference/strategies/openapi-3-0/index.d.ts"
},
"./dereference/strategies/openapi-3-1": {
"import": "./src/dereference/strategies/openapi-3-1/index.mjs",
"require": "./src/dereference/strategies/openapi-3-1/index.cjs",
"types": "./types/dereference/strategies/openapi-3-1/index.d.ts"
},
"./dereference/strategies/openapi-3-1/selectors/$anchor": {
"import": "./src/dereference/strategies/openapi-3-1/selectors/$anchor.mjs",
"require": "./src/dereference/strategies/openapi-3-1/selectors/$anchor.cjs",
"types": "./types/dereference/strategies/openapi-3-1/selectors/$anchor.d.ts"
},
"./dereference/strategies/openapi-3-1/selectors/uri": {
"import": "./src/dereference/strategies/openapi-3-1/selectors/uri.mjs",
"require": "./src/dereference/strategies/openapi-3-1/selectors/uri.cjs",
"types": "./types/dereference/strategies/openapi-3-1/selectors/uri.d.ts"
},
"./bundle/strategies/openapi-3-1": {
"import": "./src/bundle/strategies/openapi-3-1/index.mjs",
"require": "./src/bundle/strategies/openapi-3-1/index.cjs",
"types": "./types/bundle/strategies/openapi-3-1/index.d.ts"
}
},
"imports": {
"#buffer": {
"node": {
"import": "./src/util/polyfills/buffer/protocol-import.mjs",
"require": "./src/util/polyfills/buffer/standard-import.cjs"
},
"default": "./src/util/polyfills/buffer/standard-import.cjs"
},
"#fs": {
"node": {
"import": "./src/util/polyfills/fs/protocol-import.mjs",
"require": "./src/util/polyfills/fs/standard-import.cjs"
},
"default": "./src/util/polyfills/fs/standard-import.cjs"
},
"#util": {
"node": {
"import": "./src/util/polyfills/util/protocol-import.mjs",
"require": "./src/util/polyfills/util/standard-import.cjs"
},
"default": "./src/util/polyfills/util/standard-import.cjs"
}
},
"scripts": {
"build": "npm run clean && run-p --max-parallel ${CPU_CORES:-2} typescript:declaration build:es build:cjs build:umd:browser",
"build:es": "cross-env BABEL_ENV=es babel src --out-dir src --extensions '.ts' --out-file-extension '.mjs' --root-mode 'upward'",
"build:cjs": "cross-env BABEL_ENV=cjs babel src --out-dir src --extensions '.ts' --out-file-extension '.cjs' --root-mode 'upward'",
"build:umd:browser": "cross-env BABEL_ENV=browser webpack --config config/webpack/browser.config.js --progress",
"lint": "eslint ./",
"lint:fix": "eslint ./ --fix",
"clean": "rimraf --glob 'src/**/*.mjs' 'src/**/*.cjs' 'test/**/*.mjs' ./dist ./types",
"test": "npm run build:es && cross-env BABEL_ENV=es babel test --out-dir test --extensions '.ts' --out-file-extension '.mjs' --root-mode 'upward' && cross-env NODE_ENV=test mocha",
"perf": "cross-env BABEL_ENV=es babel ./test/perf/index.ts --out-file ./test/perf/index.mjs --root-mode 'upward' && cross-env NODE_ENV=test node ./test/perf/index.mjs",
"perf:openapi-3-1-dereference": "cross-env BABEL_ENV=es babel ./test/perf/openapi-3-1-dereference.ts --out-file ./test/perf/openapi-3-1-dereference.mjs --root-mode 'upward' && cross-env NODE_ENV=test node ./test/perf/openapi-3-1-dereference.mjs",
"typescript:check-types": "tsc --noEmit && tsc -p ./test/tsconfig.json --noEmit",
"typescript:declaration": "tsc -p tsconfig.declaration.json && api-extractor run -l -c ./config/api-extractor/api-extractor.json",
"prepack": "copyfiles -u 3 ../../LICENSES/* LICENSES && copyfiles -u 2 ../../NOTICE .",
"postpack": "rimraf NOTICE LICENSES"
},
"repository": {
"type": "git",
"url": "git+https://github.com/swagger-api/apidom.git"
},
"author": "Vladimir Gorej",
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime-corejs3": "^7.20.7",
"@swagger-api/apidom-core": "^1.0.0-beta.11",
"@swagger-api/apidom-error": "^1.0.0-beta.11",
"@types/ramda": "~0.30.0",
"axios": "^1.7.4",
"minimatch": "^7.4.3",
"process": "^0.11.10",
"ramda": "~0.30.0",
"ramda-adjunct": "^5.0.0"
},
"optionalDependencies": {
"@swagger-api/apidom-error": "^1.0.0-beta.3 <1.0.0-rc.0",
"@swagger-api/apidom-json-pointer": "^1.0.0-beta.3 <1.0.0-rc.0",
"@swagger-api/apidom-ns-asyncapi-2": "^1.0.0-beta.3 <1.0.0-rc.0",
"@swagger-api/apidom-ns-openapi-2": "^1.0.0-beta.3 <1.0.0-rc.0",
"@swagger-api/apidom-ns-openapi-3-0": "^1.0.0-beta.3 <1.0.0-rc.0",
"@swagger-api/apidom-ns-openapi-3-1": "^1.0.0-beta.3 <1.0.0-rc.0",
"@swagger-api/apidom-ns-workflows-1": "^1.0.0-beta.3 <1.0.0-rc.0",
"@swagger-api/apidom-parser-adapter-api-design-systems-json": "^1.0.0-beta.3 <1.0.0-rc.0",
"@swagger-api/apidom-parser-adapter-api-design-systems-yaml": "^1.0.0-beta.3 <1.0.0-rc.0",
"@swagger-api/apidom-parser-adapter-asyncapi-json-2": "^1.0.0-beta.3 <1.0.0-rc.0",
"@swagger-api/apidom-parser-adapter-asyncapi-yaml-2": "^1.0.0-beta.3 <1.0.0-rc.0",
"@swagger-api/apidom-parser-adapter-json": "^1.0.0-beta.3 <1.0.0-rc.0",
"@swagger-api/apidom-parser-adapter-openapi-json-2": "^1.0.0-beta.3 <1.0.0-rc.0",
"@swagger-api/apidom-parser-adapter-openapi-json-3-0": "^1.0.0-beta.3 <1.0.0-rc.0",
"@swagger-api/apidom-parser-adapter-openapi-json-3-1": "^1.0.0-beta.3 <1.0.0-rc.0",
"@swagger-api/apidom-parser-adapter-openapi-yaml-2": "^1.0.0-beta.3 <1.0.0-rc.0",
"@swagger-api/apidom-parser-adapter-openapi-yaml-3-0": "^1.0.0-beta.3 <1.0.0-rc.0",
"@swagger-api/apidom-parser-adapter-openapi-yaml-3-1": "^1.0.0-beta.3 <1.0.0-rc.0",
"@swagger-api/apidom-parser-adapter-workflows-json-1": "^1.0.0-beta.3 <1.0.0-rc.0",
"@swagger-api/apidom-parser-adapter-workflows-yaml-1": "^1.0.0-beta.3 <1.0.0-rc.0",
"@swagger-api/apidom-parser-adapter-yaml-1-2": "^1.0.0-beta.3 <1.0.0-rc.0"
},
"devDependencies": {
"@swagger-api/apidom-error": "*",
"@swagger-api/apidom-json-pointer": "*",
"@swagger-api/apidom-ns-asyncapi-2": "*",
"@swagger-api/apidom-ns-openapi-2": "*",
"@swagger-api/apidom-ns-openapi-3-0": "*",
"@swagger-api/apidom-ns-openapi-3-1": "*",
"@swagger-api/apidom-ns-workflows-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-workflows-json-1": "*",
"@swagger-api/apidom-parser-adapter-workflows-yaml-1": "*",
"@swagger-api/apidom-parser-adapter-yaml-1-2": "*",
"axios-mock-adapter": "^2.0.0"
},
"files": [
"src/**/*.mjs",
"src/**/*.cjs",
"dist/",
"types/",
"LICENSES",
"NOTICE",
"README.md",
"CHANGELOG.md"
]
}