Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
143 lines (143 loc) 路 5.02 KB
/
Copy pathpackage.json
File metadata and controls
143 lines (143 loc) 路 5.02 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
{
"name": "redoc",
"version": "3.0.1",
"description": "API reference documentation for OpenAPI, AsyncAPI, and GraphQL",
"repository": {
"type": "git",
"url": "git://github.com/Redocly/redoc"
},
"browserslist": [
"defaults"
],
"engines": {
"node": ">=22",
"npm": ">=10.0.0"
},
"type": "module",
"main": "bundles/redoc.js",
"module": "bundles/redoc.js",
"types": "bundles/redoc.d.ts",
"exports": {
".": {
"types": "./bundles/redoc.d.ts",
"default": "./bundles/redoc.js"
},
"./bundles/*": "./bundles/*",
"./package.json": "./package.json"
},
"author": "Roman Hotsiy <gotsijroman@gmail.com>",
"keywords": [
"OpenAPI",
"OpenAPI Specification",
"AsyncAPI",
"GraphQL",
"Swagger",
"JSON-Schema",
"API",
"REST",
"documentation",
"React.js"
],
"license": "MIT",
"workspaces": [
"."
],
"files": [
"bundles",
"LICENSE",
"README.md"
],
"scripts": {
"start": "vite",
"build": "npm run build:artifacts && npm run minify",
"build:artifacts": "npm run clean && npm run ts:check && npm run build:lib && npm run build:standalone",
"build:lib": "vite build && npm run check:node && npm run ts:dts",
"check:node": "node --input-type=module -e \"await import('./bundles/redoc.js')\"",
"build:standalone": "vite build --mode standalone",
"analyze:bundle": "vite build --mode analyze",
"minify": "node scripts/minify.js bundles",
"unit": "vitest run",
"unit:update": "vitest run -u",
"unit:watch": "vitest",
"unit:coverage": "vitest run --coverage",
"unit:coverage:html": "vitest run --coverage --coverage.reporter=html",
"e2e:build": "npm run build:lib && npm run build:standalone && vite build --config e2e/vite.config.ts && vite build --config e2e/playwright/ce/react-host/vite.config.ts && node e2e/playwright/ce/prepare-host.mjs",
"e2e": "npm run e2e:build && npx playwright test --config e2e/playwright.config.ts",
"e2e:ui": "npx playwright test --config e2e/playwright.config.ts --ui",
"e2e:start": "vite --config e2e/vite.config.ts",
"test:examples": "npx playwright test --config e2e/playwright.examples.config.ts",
"test:docker": "npx playwright test --config e2e/playwright.docker.config.ts",
"test": "npm run lint && npm run ts:check && npm run unit && npm run e2e",
"lint": "oxlint --max-warnings=0",
"lint:fix": "oxlint --fix",
"ts:check": "tsgo --noEmit --skipLibCheck && tsgo -p e2e/tsconfig.json",
"ts:dts": "tsgo -p tsconfig.build.json --emitDeclarationOnly && api-extractor run --local --verbose && api-extractor run --local --verbose --config api-extractor.standalone.json",
"clean": "rimraf bin bundles typings",
"clear:cache": "scripts/clear-cache.sh",
"pack:sourcemaps": "npm run build:artifacts && node scripts/minify.js bundles --sourcemaps && find bundles -name \"*.js.map\" -print0 | tar -czvf redoc.sourcemaps.tar.gz --null -T -",
"list:licenses": "npm run license:check && node ./scripts/list-licenses.js",
"license:check": "LICENSE_CHECK=1 vite build --logLevel warn && LICENSE_CHECK=1 vite build --mode standalone --logLevel warn",
"changeset": "changeset",
"release": "npm run build && changeset publish",
"publish-cdn": "scripts/publish-cdn.sh"
},
"peerDependencies": {
"@redocly/config": ">=0.65.0",
"react": "^18.3.0 || ^19.0.0",
"react-dom": "^18.3.0 || ^19.0.0",
"react-router": "^7.0.0 || ^8.0.0",
"styled-components": "^6.0.0"
},
"dependencies": {
"@redocly/redoc-opentelemetry": "^0.5.1"
},
"devDependencies": {
"@changesets/cli": "3.0.3",
"@markdoc/markdoc": "0.5.2",
"@microsoft/api-extractor": "7.58.2",
"@playwright/test": "1.60.0",
"@redocly/allof-merge": "^0.6.9",
"@redocly/config": "^0.65.0",
"@redocly/openapi-core": "2.63.0",
"@redocly/theme": "0.71.0-next.0",
"@tanstack/highlight": "0.0.10",
"@testing-library/jest-dom": "6.6.3",
"@testing-library/react": "16.3.0",
"@types/json-pointer": "1.0.34",
"@types/json-schema": "^7.0.15",
"@types/node": "24.1.0",
"@types/react": "^19.2.7",
"@types/react-dom": "^19.2.3",
"@typescript/native-preview": "beta",
"@vitejs/plugin-react": "6.1.0",
"@vitest/coverage-v8": "^4.1.10",
"dompurify": "^3.4.11",
"fast-xml-parser": "^5.5.9",
"flexsearch": "^0.8.2",
"graphql": "^16.11.0",
"htmlparser2": "8.0.2",
"http-server": "14.1.1",
"jest-styled-components": "7.2.0",
"jotai": "^2.12.5",
"jotai-family": "^1.0.1",
"js-yaml": "^5.2.2",
"jsdom": "^25.0.1",
"json-pointer": "^0.6.2",
"linkedom": "^0.18.9",
"openapi-sampler": "^1.7.5",
"oxlint": "1.67.0",
"path-browserify": "1.0.1",
"react": "^19.2.7",
"react-dom": "^19.2.7",
"react-router": "^8.3.0",
"rimraf": "5.0.10",
"rolldown": "^1.2.4",
"rollup-plugin-bundle-stats": "^4.22.1",
"slugify": "^1.4.4",
"styled-components": "^6.5.3",
"typescript": "5.9.3",
"vite": "^8.2.1",
"vitest": "^4.1.10",
"web-vitals": "^6.2.1"
}
}