|
2 | 2 | "name": "vitepress", |
3 | 3 | "version": "1.1.0", |
4 | 4 | "description": "Vite & Vue powered static site generator", |
| 5 | + "keywords": [ |
| 6 | + "vite", |
| 7 | + "vue", |
| 8 | + "vitepress" |
| 9 | + ], |
| 10 | + "homepage": "https://github.com/vuejs/vitepress/tree/main/#readme", |
| 11 | + "bugs": { |
| 12 | + "url": "https://github.com/vuejs/vitepress/issues" |
| 13 | + }, |
| 14 | + "repository": { |
| 15 | + "type": "git", |
| 16 | + "url": "git+https://github.com/vuejs/vitepress.git" |
| 17 | + }, |
| 18 | + "license": "MIT", |
| 19 | + "author": "Evan You", |
5 | 20 | "type": "module", |
6 | | - "packageManager": "[email protected]", |
7 | | - "main": "dist/node/index.js", |
8 | | - "types": "types/index.d.ts", |
9 | 21 | "exports": { |
10 | 22 | ".": { |
11 | 23 | "types": "./types/index.d.ts", |
|
29 | 41 | "default": "./lib/vue-demi.mjs" |
30 | 42 | } |
31 | 43 | }, |
| 44 | + "main": "dist/node/index.js", |
| 45 | + "types": "types/index.d.ts", |
32 | 46 | "bin": { |
33 | 47 | "vitepress": "bin/vitepress.js" |
34 | 48 | }, |
|
42 | 56 | "theme-without-fonts.d.ts", |
43 | 57 | "lib" |
44 | 58 | ], |
45 | | - "repository": { |
46 | | - "type": "git", |
47 | | - "url": "git+https://github.com/vuejs/vitepress.git" |
48 | | - }, |
49 | | - "keywords": [ |
50 | | - "vite", |
51 | | - "vue", |
52 | | - "vitepress" |
53 | | - ], |
54 | | - "author": "Evan You", |
55 | | - "license": "MIT", |
56 | | - "homepage": "https://github.com/vuejs/vitepress/tree/main/#readme", |
57 | | - "bugs": { |
58 | | - "url": "https://github.com/vuejs/vitepress/issues" |
59 | | - }, |
60 | 59 | "scripts": { |
61 | 60 | "dev": "rimraf dist && run-s dev:shared dev:start", |
62 | 61 | "dev:start": "run-p dev:client dev:node dev:watch", |
|
95 | 94 | "changelog": "conventional-changelog -p angular -i CHANGELOG.md -s", |
96 | 95 | "release": "node scripts/release.js" |
97 | 96 | }, |
| 97 | + "simple-git-hooks": { |
| 98 | + "pre-commit": "pnpm lint-staged" |
| 99 | + }, |
| 100 | + "lint-staged": { |
| 101 | + "*": "prettier --write --ignore-unknown", |
| 102 | + "package.json": "sort-package-json" |
| 103 | + }, |
98 | 104 | "dependencies": { |
99 | 105 | "@docsearch/css": "^3.6.0", |
100 | 106 | "@docsearch/js": "^3.6.0", |
|
112 | 118 | "vite": "^5.2.8", |
113 | 119 | "vue": "^3.4.21" |
114 | 120 | }, |
115 | | - "peerDependencies": { |
116 | | - "markdown-it-mathjax3": "^4", |
117 | | - "postcss": "^8" |
118 | | - }, |
119 | | - "peerDependenciesMeta": { |
120 | | - "markdown-it-mathjax3": { |
121 | | - "optional": true |
122 | | - }, |
123 | | - "postcss": { |
124 | | - "optional": true |
125 | | - } |
126 | | - }, |
127 | 121 | "devDependencies": { |
128 | 122 | "@clack/prompts": "^0.7.0", |
129 | 123 | "@mdit-vue/plugin-component": "2.0.0", |
|
197 | 191 | "simple-git-hooks": "^2.11.1", |
198 | 192 | "sirv": "^2.0.4", |
199 | 193 | "sitemap": "^7.1.1", |
| 194 | + "sort-package-json": "^2.10.0", |
200 | 195 | "supports-color": "^9.4.0", |
201 | 196 | "typescript": "^5.4.4", |
202 | 197 | "vitest": "^1.4.0", |
203 | 198 | "vue-tsc": "^2.0.11", |
204 | 199 | "wait-on": "^7.2.0" |
205 | 200 | }, |
206 | | - "simple-git-hooks": { |
207 | | - "pre-commit": "pnpm lint-staged" |
| 201 | + "peerDependencies": { |
| 202 | + "markdown-it-mathjax3": "^4", |
| 203 | + "postcss": "^8" |
208 | 204 | }, |
209 | | - "lint-staged": { |
210 | | - "*": [ |
211 | | - "prettier --write --ignore-unknown" |
212 | | - ] |
| 205 | + "peerDependenciesMeta": { |
| 206 | + "markdown-it-mathjax3": { |
| 207 | + "optional": true |
| 208 | + }, |
| 209 | + "postcss": { |
| 210 | + "optional": true |
| 211 | + } |
213 | 212 | }, |
| 213 | + "packageManager": "[email protected]", |
214 | 214 | "pnpm": { |
215 | | - "overrides": { |
216 | | - "ora>string-width": "^5" |
217 | | - }, |
218 | 215 | "peerDependencyRules": { |
219 | 216 | "ignoreMissing": [ |
220 | 217 | "@algolia/client-search", |
221 | 218 | "search-insights", |
222 | 219 | "postcss" |
223 | 220 | ] |
| 221 | + }, |
| 222 | + "overrides": { |
| 223 | + "ora>string-width": "^5" |
224 | 224 | } |
225 | 225 | } |
226 | 226 | } |
0 commit comments