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.
145 lines
4.4 KiB
145 lines
4.4 KiB
{
|
|
"name": "vitepress",
|
|
"version": "0.22.0",
|
|
"description": "Vite & Vue powered static site generator",
|
|
"main": "dist/node/index.js",
|
|
"typings": "types/index.d.ts",
|
|
"bin": {
|
|
"vitepress": "bin/vitepress.js"
|
|
},
|
|
"files": [
|
|
"bin",
|
|
"dist",
|
|
"types",
|
|
"client.d.ts",
|
|
"theme.d.ts"
|
|
],
|
|
"scripts": {
|
|
"dev": "run-s dev-shared dev-start",
|
|
"dev-start": "run-p dev-client dev-node dev-watch",
|
|
"dev-client": "tsc -w -p src/client",
|
|
"dev-node": "tsc -w -p src/node",
|
|
"dev-shared": "node scripts/copyShared",
|
|
"dev-watch": "node scripts/watchAndCopy",
|
|
"build": "run-s build-prepare build-client build-node build-types",
|
|
"build-prepare": "rimraf -rf dist && node scripts/copyShared",
|
|
"build-client": "tsc -p src/client && node scripts/copyClient",
|
|
"build-node": "rollup -c scripts/rollup.config.js",
|
|
"build-types": "run-s build-types-client build-types-node",
|
|
"build-types-client": "tsc -p src/client --declaration --emitDeclarationOnly --outDir dist/temp && api-extractor run -c api-extractor.client.json && rimraf dist/temp",
|
|
"build-types-node": "tsc -p src/node --declaration --emitDeclarationOnly --outDir dist/temp && api-extractor run -c api-extractor.node.json && rimraf dist/temp",
|
|
"lint": "run-s lint:js lint:ts",
|
|
"lint:js": "prettier --check --write \"{bin,docs,scripts,src}/**/*.js\"",
|
|
"lint:ts": "prettier --check --write --parser typescript \"{__tests__,src,docs,types}/**/*.ts\"",
|
|
"test": "vitest run __tests__ -c __tests__/vitest.config.js --global",
|
|
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s",
|
|
"release": "node scripts/release.js",
|
|
"docs": "run-p dev docs-dev",
|
|
"docs-dev": "node ./bin/vitepress dev docs",
|
|
"docs-debug": "node --inspect-brk ./bin/vitepress dev docs",
|
|
"docs-build": "npm run build && node ./bin/vitepress build docs",
|
|
"docs-serve": "node ./bin/vitepress serve docs",
|
|
"ci-docs": "run-s build docs-build"
|
|
},
|
|
"engines": {
|
|
"node": ">=12.0.0"
|
|
},
|
|
"gitHooks": {
|
|
"pre-commit": "lint-staged"
|
|
},
|
|
"lint-staged": {
|
|
"*.js": [
|
|
"prettier --write"
|
|
],
|
|
"*.ts": [
|
|
"prettier --parser=typescript --write"
|
|
]
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/vuejs/vitepress.git"
|
|
},
|
|
"keywords": [
|
|
"vite",
|
|
"vue",
|
|
"vitepress"
|
|
],
|
|
"author": "Evan You",
|
|
"license": "MIT",
|
|
"homepage": "https://github.com/vuejs/vitepress/tree/master/#readme",
|
|
"bugs": {
|
|
"url": "https://github.com/vuejs/vitepress/issues"
|
|
},
|
|
"dependencies": {
|
|
"@docsearch/css": "^3.0.0-alpha.41",
|
|
"@docsearch/js": "^3.0.0-alpha.41",
|
|
"@vitejs/plugin-vue": "^2.2.0",
|
|
"prismjs": "^1.25.0",
|
|
"vite": "^2.8.0",
|
|
"vue": "^3.2.30"
|
|
},
|
|
"devDependencies": {
|
|
"@microsoft/api-extractor": "^7.18.9",
|
|
"@rollup/plugin-alias": "^3.1.5",
|
|
"@rollup/plugin-commonjs": "^20.0.0",
|
|
"@rollup/plugin-json": "^4.1.0",
|
|
"@rollup/plugin-node-resolve": "^13.0.4",
|
|
"@types/compression": "^1.7.0",
|
|
"@types/debug": "^4.1.7",
|
|
"@types/fs-extra": "^9.0.11",
|
|
"@types/koa": "^2.13.1",
|
|
"@types/koa-static": "^4.0.1",
|
|
"@types/lru-cache": "^5.1.0",
|
|
"@types/markdown-it": "^12.0.1",
|
|
"@types/micromatch": "^4.0.2",
|
|
"@types/node": "^15.6.1",
|
|
"@types/polka": "^0.5.3",
|
|
"chalk": "^4.1.1",
|
|
"chokidar": "^3.5.1",
|
|
"compression": "^1.7.4",
|
|
"conventional-changelog-cli": "^2.1.1",
|
|
"debug": "^4.3.2",
|
|
"diacritics": "^1.3.0",
|
|
"enquirer": "^2.3.6",
|
|
"esbuild": "^0.14.0",
|
|
"escape-html": "^1.0.3",
|
|
"execa": "^5.0.0",
|
|
"fast-glob": "^3.2.7",
|
|
"fs-extra": "^10.0.0",
|
|
"globby": "^11.0.3",
|
|
"gray-matter": "^4.0.3",
|
|
"lint-staged": "^11.0.0",
|
|
"lru-cache": "^6.0.0",
|
|
"markdown-it": "^12.3.2",
|
|
"markdown-it-anchor": "^8.4.1",
|
|
"markdown-it-attrs": "^4.1.3",
|
|
"markdown-it-container": "^3.0.0",
|
|
"markdown-it-emoji": "^2.0.0",
|
|
"markdown-it-table-of-contents": "^0.6.0",
|
|
"micromatch": "^4.0.4",
|
|
"minimist": "^1.2.5",
|
|
"npm-run-all": "^4.1.5",
|
|
"ora": "^5.4.0",
|
|
"polka": "^0.5.2",
|
|
"prettier": "^2.3.0",
|
|
"rimraf": "^3.0.2",
|
|
"rollup": "^2.56.3",
|
|
"rollup-plugin-esbuild": "^4.8.2",
|
|
"semver": "^7.3.5",
|
|
"sirv": "^1.0.12",
|
|
"typescript": "^4.3.2",
|
|
"vitest": "^0.1.19",
|
|
"yorkie": "^2.0.0"
|
|
},
|
|
"pnpm": {
|
|
"peerDependencyRules": {
|
|
"ignoreMissing": [
|
|
"@algolia/client-search",
|
|
"react",
|
|
"react-dom",
|
|
"@types/react"
|
|
]
|
|
}
|
|
}
|
|
}
|