{ "name": "redoc", "version": "3.0.0-rc.1", "description": "ReDoc", "repository": { "type": "git", "url": "git://github.com/Redocly/redoc" }, "browserslist": [ "defaults" ], "engines": { "node": ">=22", "npm": ">=10.0.0" }, "type": "module", "main": "bundle/redoc.js", "module": "bundle/redoc.js", "types": "bundle/redoc.d.ts", "author": "Roman Hotsiy ", "keywords": [ "OpenAPI", "OpenAPI Specification", "Swagger", "JSON-Schema", "API", "REST", "documentation", "React.js" ], "license": "MIT", "workspaces": [ "." ], "scripts": { "start": "vite", "build": "npm run clean && npm run ts:check && npm run build:lib && npm run build:standalone && npm run minify", "build:lib": "vite build && npm run ts:dts", "build:standalone": "vite build --mode standalone", "build:e2e": "vite build --mode standalone-e2e", "minify": "node scripts/minify.js bundle", "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:prepare": "npm run build:e2e && cp -r ./bundle ./playwright/", "e2e:ui": "playwright test --ui", "e2e": "npm run e2e:prepare && npx playwright test", "test": "npm run lint && npm run ts:check && npm run unit && npm run e2e", "lint": "NODE_OPTIONS=\"--max-old-space-size=5120\" eslint . --max-warnings=0", "lint:fix": "NODE_OPTIONS=\"--max-old-space-size=5120\" eslint . --fix", "ts:check": "tsc --noEmit --skipLibCheck", "ts:dts": "tsc -p tsconfig.build.json --emitDeclarationOnly && api-extractor run --local --verbose", "clean": "rimraf bin bundle lib", "clear:cache": "scripts/clear-cache.sh", "pack:sourcemaps": "rimraf redoc.sourcemaps.tag.gz && find lib -name \"*.js.map\" | xargs tar -czvf redoc.sourcemaps.tar.gz", "list:licenses": "node ./scripts/list-licenses.js", "license:check": "npx license-checker --production --onlyAllow 'MIT;ISC;Apache-2.0;BSD;BSD-2-Clause;BSD-3-Clause;CC-BY-4.0;CC0-1.0;Python-2.0 ' --summary", "changeset": "npx @changesets/cli --", "release": "npm run build && npm run changeset publish --tag next", "publish-cdn": "scripts/publish-cdn.sh" }, "peerDependencies": { "@redocly/config": "^0.41.0", "react": "^19.2.1", "react-dom": "^19.2.1", "styled-components": "^4.1.1 || ^5.3.11 || ^6.0.0" }, "dependencies": { "@markdoc/markdoc": "0.5.2", "@redocly/config": "^0.41.0", "@redocly/openapi-core": "2.12.3", "@redocly/redoc-opentelemetry": "0.0.5", "@redocly/theme": "^0.61.0-next.0", "deepmerge": "^4.2.2", "dompurify": "3.2.7", "fast-deep-equal": "^3.1.3", "flexsearch": "^0.8.2", "htmlparser2": "8.0.2", "jotai": "^2.12.5", "json-pointer": "^0.6.2", "openapi-sampler": "^1.6.2", "prismjs": "1.30", "react-router-dom": "^6.21.1", "slugify": "^1.4.4", "stringify-object": "^3.3.0", "swagger2openapi": "^7.0.8", "url-template": "^2.0.8", "web-vitals": "^5.1.0" }, "devDependencies": { "@changesets/cli": "2.29.7", "@eslint/compat": "1.4.0", "@eslint/js": "9.38.0", "@microsoft/api-extractor": "7.52.10", "@playwright/test": "1.56.1", "@swc/plugin-styled-components": "^12.0.1", "@testing-library/jest-dom": "6.6.3", "@testing-library/react": "16.3.0", "@testing-library/user-event": "14.6.1", "@types/json-pointer": "1.0.34", "@types/json-schema": "^7.0.15", "@types/node": "22.18.13", "@types/prismjs": "^1.26.5", "@types/react": "^19.2.7", "@types/react-dom": "^19.2.3", "@types/styled-components": "5.1.34", "@vitejs/plugin-react": "5.1.1", "@vitejs/plugin-react-swc": "4.2.2", "@vitest/coverage-v8": "^4.0.15", "concurrently": "9.2.0", "esbuild": "^0.27.0", "eslint-import-resolver-typescript": "^4.4.4", "eslint-plugin-check-file": "3.3.0", "eslint-plugin-import-x": "4.16.1", "eslint-plugin-jest": "29.0.1", "eslint-plugin-react": "7.37.5", "eslint-plugin-react-hooks": "5.2.0", "globals": "^16.5.0", "http-server": "14.1.1", "jest-styled-components": "7.2.0", "js-yaml": "4.1.1", "jsdom": "^25.0.1", "json-schema": "0.4.0", "license-checker": "25.0.1", "outdent": "0.8.0", "path-browserify": "1.0.1", "prettier": "2.8.8", "react": "19.2.1", "react-dom": "19.2.1", "rimraf": "5.0.7", "rollup-plugin-bundle-stats": "^4.20.2", "styled-components": "5.3.11", "typescript": "5.9.3", "typescript-eslint": "8.46.2", "url": "0.11.4", "url-polyfill": "1.1.13", "util": "0.12.5", "vite": "7.2.7", "vitest": "^4.0.15" } }