UNPKG

redoc

Version:

API reference documentation for OpenAPI, AsyncAPI, and GraphQL

144 lines (143 loc) • 5.14 kB
{ "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" } }