mirror of https://github.com/vuejs/vitepress
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
196 lines
6.4 KiB
196 lines
6.4 KiB
{
|
|
"name": "vitepress",
|
|
"version": "2.0.0-alpha.19",
|
|
"description": "Vite & Vue powered static site generator",
|
|
"keywords": [
|
|
"vite",
|
|
"vue",
|
|
"vitepress"
|
|
],
|
|
"homepage": "https://vitepress.dev/",
|
|
"bugs": {
|
|
"url": "https://github.com/vuejs/vitepress/issues"
|
|
},
|
|
"repository": "github:vuejs/vitepress",
|
|
"license": "MIT",
|
|
"author": "Evan You",
|
|
"type": "module",
|
|
"exports": {
|
|
".": {
|
|
"types": "./types/index.d.ts",
|
|
"default": "./dist/node/index.js"
|
|
},
|
|
"./dist/*": "./dist/*",
|
|
"./package.json": "./package.json",
|
|
"./client": {
|
|
"types": "./client.d.ts",
|
|
"default": "./dist/client/index.js"
|
|
},
|
|
"./theme": {
|
|
"types": "./theme.d.ts",
|
|
"default": "./dist/client/theme-default/index.js"
|
|
},
|
|
"./theme-without-fonts": {
|
|
"types": "./theme-without-fonts.d.ts",
|
|
"default": "./dist/client/theme-default/without-fonts.js"
|
|
}
|
|
},
|
|
"main": "dist/node/index.js",
|
|
"types": "types/index.d.ts",
|
|
"web-types": "./dist/web-types.json",
|
|
"bin": {
|
|
"vitepress": "bin/vitepress.js"
|
|
},
|
|
"files": [
|
|
"THIRD-PARTY-NOTICES.md",
|
|
"bin",
|
|
"dist",
|
|
"types",
|
|
"template",
|
|
"client.d.ts",
|
|
"theme.d.ts",
|
|
"theme-without-fonts.d.ts",
|
|
"lib"
|
|
],
|
|
"scripts": {
|
|
"dev": "tsdown --watch --sourcemap",
|
|
"build": "tsdown && pnpm typecheck && node scripts/genWebTypes.ts && pnpm build:check",
|
|
"build:check": "publint && attw --pack . --profile esm-only",
|
|
"typecheck": "tsc -p tsconfig.shared.json && vue-tsc -p tsconfig.client.json && tsc -p tsconfig.node.json",
|
|
"test": "pnpm --aggregate-output --reporter=append-only '/^test:(types|unit|e2e|init|base)$/'",
|
|
"test:types": "tsc -p __tests__/unit && vue-tsc -p __tests__/e2e && tsc -p __tests__/init && tsc -p __tests__/base && vue-tsc -p docs",
|
|
"test:base": "pnpm -F=tests-base test",
|
|
"test:unit": "vitest run -r __tests__/unit",
|
|
"test:unit:watch": "vitest -r __tests__/unit",
|
|
"test:e2e": "pnpm test:e2e-dev && pnpm test:e2e-build",
|
|
"test:e2e:site:dev": "pnpm -F=tests-e2e site:dev",
|
|
"test:e2e:site:build": "pnpm -F=tests-e2e site:build",
|
|
"test:e2e:site:preview": "pnpm -F=tests-e2e site:preview",
|
|
"test:e2e-dev": "pnpm -F=tests-e2e test",
|
|
"test:e2e-dev:watch": "pnpm -F=tests-e2e watch",
|
|
"test:e2e-build": "VITE_TEST_BUILD=1 pnpm test:e2e-dev",
|
|
"test:e2e-build:watch": "VITE_TEST_BUILD=1 pnpm test:e2e-dev:watch",
|
|
"test:init": "pnpm -F=tests-init test",
|
|
"test:init:watch": "pnpm -F=tests-init watch",
|
|
"docs": "pnpm --stream '/^(docs:)?dev$/'",
|
|
"docs:dev": "wait-on -d 100 dist/node/cli.js && pnpm -F=docs dev",
|
|
"docs:debug": "NODE_OPTIONS='--inspect-brk' pnpm docs:dev",
|
|
"docs:build": "pnpm build && pnpm docs:build:only",
|
|
"docs:build:only": "pnpm -F=docs build",
|
|
"docs:preview": "pnpm -F=docs preview",
|
|
"docs:lunaria:build": "pnpm -F=docs lunaria:build",
|
|
"docs:lunaria:open": "pnpm -F=docs lunaria:open",
|
|
"format": "prettier --experimental-cli --write .",
|
|
"format:fail": "prettier --experimental-cli --check .",
|
|
"check": "pnpm format:fail && pnpm build && git ls-files --error-unmatch THIRD-PARTY-NOTICES.md && git diff --exit-code -- THIRD-PARTY-NOTICES.md && pnpm test",
|
|
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s",
|
|
"release": "node scripts/release.ts"
|
|
},
|
|
"simple-git-hooks": {
|
|
"pre-commit": "pnpm lint-staged"
|
|
},
|
|
"lint-staged": {
|
|
"*": "prettier --experimental-cli --ignore-unknown --write"
|
|
},
|
|
"dependencies": {
|
|
"@docsearch/css": "^4.7.0",
|
|
"@docsearch/js": "^4.7.0",
|
|
"@docsearch/sidepanel-js": "^4.7.0",
|
|
"@iconify-json/simple-icons": "^1.2.93",
|
|
"@shikijs/transformers": "^4.4.3",
|
|
"@types/markdown-it": "^14.1.2",
|
|
"@vitejs/plugin-vue": "^6.0.8",
|
|
"@vue/devtools-api": "^8.2.1",
|
|
"@vue/shared": "^3.5.41",
|
|
"@vueuse/core": "^14.4.0",
|
|
"@vueuse/integrations": "^14.4.0",
|
|
"focus-trap": "^8.2.2",
|
|
"mark.js": "8.11.1",
|
|
"minisearch": "^7.2.0",
|
|
"shiki": "^4.4.3",
|
|
"vite": "^8.2.1",
|
|
"vue": "^3.5.41"
|
|
},
|
|
"devDependencies": {
|
|
"@arethetypeswrong/cli": "^0.18.5",
|
|
"@clack/prompts": "^1.7.0",
|
|
"@iconify/utils": "^3.1.4",
|
|
"@mdit-vue/plugin-component": "^3.0.2",
|
|
"@mdit-vue/plugin-frontmatter": "^3.0.2",
|
|
"@mdit-vue/plugin-headers": "^3.0.2",
|
|
"@mdit-vue/plugin-sfc": "^3.0.2",
|
|
"@mdit-vue/plugin-title": "^3.0.2",
|
|
"@mdit-vue/plugin-toc": "^3.0.2",
|
|
"@mdit-vue/shared": "^3.0.2",
|
|
"@mdit/plugin-anchor": "^1.1.3",
|
|
"@mdit/plugin-attrs": "^1.1.1",
|
|
"@mdit/plugin-container": "^1.0.2",
|
|
"@mdit/plugin-emoji": "^1.1.1",
|
|
"@mdit/plugin-footnote": "^1.0.2",
|
|
"@mdit/plugin-tasklist": "^1.0.2",
|
|
"@polka/compression": "^1.0.0-next.28",
|
|
"@rolldown/pluginutils": "^1.0.1",
|
|
"@types/cross-spawn": "^6.0.6",
|
|
"@types/mark.js": "^8.11.12",
|
|
"@types/minimist": "^1.2.5",
|
|
"@types/node": "^26.2.0",
|
|
"@types/picomatch": "^4.0.3",
|
|
"@types/semver": "^7.8.0",
|
|
"@volar/typescript": "^2.4.28",
|
|
"@vue/language-core": "^3.3.11",
|
|
"conventional-changelog": "^8.1.1",
|
|
"conventional-changelog-angular": "^9.2.1",
|
|
"cross-spawn": "^7.0.6",
|
|
"eta": "^4.6.0",
|
|
"get-port": "^7.2.0",
|
|
"gray-matter": "^4.0.3",
|
|
"image-size": "^2.0.2",
|
|
"lint-staged": "^17.3.0",
|
|
"lru-cache": "^11.5.2",
|
|
"markdown-it": "^14.3.0",
|
|
"markdown-it-async": "^2.2.0",
|
|
"markdown-it-cjk-friendly": "^2.0.2",
|
|
"markdown-it-mathjax3": "^4.3.2",
|
|
"minimist": "^1.2.8",
|
|
"nanoid": "^6.0.1",
|
|
"obug": "^2.1.4",
|
|
"ora": "^9.4.1",
|
|
"p-map": "^7.0.6",
|
|
"package-directory": "^8.2.0",
|
|
"path-to-regexp": "^6.3.0",
|
|
"picocolors": "^1.1.1",
|
|
"picomatch": "^4.0.5",
|
|
"playwright-chromium": "^1.62.1",
|
|
"polka": "^1.0.0-next.28",
|
|
"postcss": "^8.5.6",
|
|
"postcss-selector-parser": "^7.1.5",
|
|
"prettier": "^3.9.6",
|
|
"publint": "^0.3.24",
|
|
"rolldown": "^1.2.5",
|
|
"semver": "^7.8.5",
|
|
"simple-git-hooks": "^2.13.1",
|
|
"sirv": "^3.0.2",
|
|
"sitemap": "^9.0.1",
|
|
"tinyglobby": "^0.2.17",
|
|
"tsdown": "^0.22.14",
|
|
"typescript": "^6.0.3",
|
|
"vitest": "^4.1.10",
|
|
"vue-sfc-transformer": "^0.2.5",
|
|
"vue-tsc": "^3.3.11",
|
|
"wait-on": "^9.1.0"
|
|
},
|
|
"peerDependencies": {
|
|
"markdown-it-mathjax3": "^4",
|
|
"postcss": "^8"
|
|
},
|
|
"peerDependenciesMeta": {
|
|
"markdown-it-mathjax3": {
|
|
"optional": true
|
|
},
|
|
"postcss": {
|
|
"optional": true
|
|
}
|
|
},
|
|
"packageManager": "pnpm@11.24.0"
|
|
}
|