{ "name": "@rspress/core", "version": "2.1.4", "description": "The Rspress Documentation Framework", "bugs": "https://github.com/web-infra-dev/rspress/issues", "repository": { "type": "git", "url": "git+https://github.com/web-infra-dev/rspress.git", "directory": "packages/core" }, "license": "MIT", "sideEffects": [ "*.css", "*.less", "*.sass", "*.scss" ], "type": "module", "imports": { "#theme": "./src/theme/index.ts" }, "exports": { ".": { "types": "./dist/index.d.ts", "import": "./dist/index.js" }, "./dist/*": "./dist/*", "./package.json": "./package.json", "./theme": { "types": "./dist/theme/index.d.ts", "default": "./dist/theme/index.js" }, "./theme-original": { "types": "./dist/theme/index.d.ts", "default": "./dist/theme/index.js" }, "./runtime": { "types": "./dist/runtime/index.d.ts", "default": "./dist/runtime/index.js" }, "./shiki-transformers": { "types": "./dist/shiki-transformers.d.ts", "default": "./dist/shiki-transformers.js" } }, "main": "./dist/index.js", "module": "./dist/index.js", "types": "./dist/index.d.ts", "bin": { "rspress": "./bin/rspress.js" }, "files": [ "bin", "dist", "meta-json-schema.json", "nav-json-schema.json", "static", "index.html" ], "scripts": { "build": "node ./scripts/generateJsonSchema.mjs && rs lib", "dev": "rs lib -w", "reset": "rimraf ./**/node_modules" }, "dependencies": { "@mdx-js/mdx": "^3.1.1", "@mdx-js/react": "^3.1.1", "@rsbuild/core": "^2.3.3", "@rsbuild/plugin-react": "~2.1.1", "@rspress/shared": "workspace:*", "@shikijs/rehype": "^4.2.0", "@shikijs/transformers": "^4.2.0", "@types/mdast": "^4.0.4", "@types/react": "^19.3.0", "@unhead/react": "^2.1.17", "body-scroll-lock": "4.0.0-beta.0", "clsx": "2.1.1", "copy-to-clipboard": "^3.3.3", "flexsearch": "0.8.212", "hast-util-heading-rank": "^3.0.0", "hast-util-to-jsx-runtime": "^2.3.7", "mdast-util-mdx": "^3.0.0", "mdast-util-mdxjs-esm": "^2.0.1", "medium-zoom": "1.1.2", "nprogress": "^0.2.0", "react": "^19.3.1", "react-dom": "^19.3.1", "react-lazy-with-preload": "^2.2.1", "react-render-to-markdown": "19.1.0", "react-router-dom": "^7.18.5", "rehype-external-links": "^3.0.0", "rehype-raw": "^7.0.0", "remark-cjk-friendly": "^2.3.4", "remark-cjk-friendly-gfm-strikethrough": "^2.3.3", "remark-gfm": "^4.0.1", "remark-mdx": "^3.1.1", "remark-parse": "^11.0.0", "remark-stringify": "^11.0.0", "scroll-into-view-if-needed": "^3.1.0", "shiki": "^4.2.0", "unified": "^11.0.5", "unist-util-visit": "^5.1.0", "unist-util-visit-children": "^3.0.0", "vfile": "^6.0.3" }, "devDependencies": { "@microsoft/api-extractor": "^7.60.1", "@rsbuild/plugin-sass": "~2.0.1", "@rsbuild/plugin-svgr": "^2.0.5", "@rspress/config": "workspace:*", "@types/body-scroll-lock": "^3.1.2", "@types/hast": "^3.0.5", "@types/node": "^22.8.1", "@types/nprogress": "^0.2.3", "@types/react-dom": "^19.3.0", "@types/web": "^0.0.367", "cac": "^7.1.0", "execa": "8.0.1", "mdast-util-directive": "^3.1.1", "mdast-util-mdx-expression": "^2.0.1", "memfs": "^4.80.1", "p-map": "^7.1.1", "picocolors": "^1.1.1", "postcss": "8.5.33", "remark-directive": "^4.0.0", "rsbuild-plugin-publint": "^1.0.0", "rsbuild-plugin-virtual-module": "0.4.5", "tinyglobby": "^0.2.17", "tinypool": "^2.2.0", "ts-json-schema-generator": "^2.9.0", "typescript": "^6.0.3" }, "engines": { "node": "^20.19.0 || >=22.12.0" }, "publishConfig": { "access": "public", "registry": "https://registry.npmjs.org/" } }