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.
120 lines
3.4 KiB
120 lines
3.4 KiB
{
|
|
"name": "vitepress",
|
|
"version": "0.18.1",
|
|
"description": "Vite & Vue powered static site generator",
|
|
"main": "dist/node/index.js",
|
|
"typings": "types/index.d.ts",
|
|
"bin": {
|
|
"vitepress": "bin/vitepress.js"
|
|
},
|
|
"files": [
|
|
"bin",
|
|
"lib",
|
|
"dist",
|
|
"types"
|
|
],
|
|
"scripts": {
|
|
"dev": "yarn dev-shared && yarn 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": "rimraf -rf dist && node scripts/copyShared && tsc -p src/client && tsc -p src/node && node scripts/copyClient",
|
|
"lint": "yarn lint:js && yarn 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": "jest",
|
|
"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": "yarn build && node ./bin/vitepress build docs",
|
|
"docs-serve": "node ./bin/vitepress serve docs"
|
|
},
|
|
"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": "^1.0.0-alpha.28",
|
|
"@docsearch/js": "^1.0.0-alpha.28",
|
|
"@types/markdown-it": "^12.0.1",
|
|
"@vitejs/plugin-vue": "^1.4.0",
|
|
"@vue/compiler-sfc": "^3.2.7",
|
|
"@vue/server-renderer": "^3.2.7",
|
|
"chalk": "^4.1.1",
|
|
"compression": "^1.7.4",
|
|
"debug": "^4.3.2",
|
|
"diacritics": "^1.3.0",
|
|
"escape-html": "^1.0.3",
|
|
"fs-extra": "^10.0.0",
|
|
"globby": "^11.0.3",
|
|
"gray-matter": "^4.0.3",
|
|
"lru-cache": "^6.0.0",
|
|
"markdown-it": "^12.0.6",
|
|
"markdown-it-anchor": "^8.1.2",
|
|
"markdown-it-attrs": "^4.0.0",
|
|
"markdown-it-container": "^3.0.0",
|
|
"markdown-it-emoji": "^2.0.0",
|
|
"markdown-it-table-of-contents": "^0.5.2",
|
|
"minimist": "^1.2.5",
|
|
"ora": "^5.4.0",
|
|
"polka": "^0.5.2",
|
|
"prismjs": "^1.23.0",
|
|
"sirv": "^1.0.12",
|
|
"vite": "^2.5.0",
|
|
"vue": "^3.2.7"
|
|
},
|
|
"devDependencies": {
|
|
"@types/compression": "^1.7.0",
|
|
"@types/fs-extra": "^9.0.11",
|
|
"@types/jest": "^26.0.23",
|
|
"@types/koa": "^2.13.1",
|
|
"@types/koa-static": "^4.0.1",
|
|
"@types/lru-cache": "^5.1.0",
|
|
"@types/node": "^15.6.1",
|
|
"@types/postcss-load-config": "^3.0.1",
|
|
"chokidar": "^3.5.1",
|
|
"conventional-changelog-cli": "^2.1.1",
|
|
"enquirer": "^2.3.6",
|
|
"execa": "^5.0.0",
|
|
"jest": "^27.0.1",
|
|
"lint-staged": "^11.0.0",
|
|
"npm-run-all": "^4.1.5",
|
|
"prettier": "^2.3.0",
|
|
"rimraf": "^3.0.2",
|
|
"rollup": "^2.38.5",
|
|
"semver": "^7.3.5",
|
|
"ts-jest": "^27.0.1",
|
|
"typescript": "^4.3.2",
|
|
"yorkie": "^2.0.0"
|
|
}
|
|
}
|