style: format code

pull/672/head
Kia King Ishii 3 years ago
parent dbb5777289
commit 4ff82b410f

@ -0,0 +1,7 @@
/docs
/examples
*.css
*.md
*.vue
dist
pnpm-lock.yaml

@ -1,9 +1,9 @@
{
"name": "vitepress",
"version": "1.0.0-draft.4",
"description": "Vite & Vue powered static site generator",
"type": "module",
"packageManager": "pnpm@7.0.1",
"description": "Vite & Vue powered static site generator",
"main": "dist/node/index.js",
"types": "types/index.d.ts",
"exports": {
@ -53,9 +53,13 @@
"build-prepare": "rimraf dist && node scripts/copyShared",
"build-client": "tsc -p src/client && node scripts/copyClient",
"build-node": "rollup --config rollup.config.ts --configPlugin esbuild",
"format": "prettier --write .",
"format": "prettier --check --write .",
"format-fail": "prettier --check .",
"lint": "pnpm run format",
"lint-fail": "pnpm run format-fail",
"test": "vitest -r __tests__",
"test-run": "vitest run -r __tests__",
"check": "run-s lint test-run",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s",
"release": "node scripts/release.js",
"docs": "run-p dev docs-dev",
@ -140,9 +144,9 @@
"peerDependencyRules": {
"ignoreMissing": [
"@algolia/client-search",
"@types/react",
"react",
"react-dom",
"@types/react"
"react-dom"
]
}
},

@ -78,7 +78,7 @@
color: inherit;
font-weight: 600;
text-decoration: underline;
transition: opacity .25s;
transition: opacity 0.25s;
}
.custom-block a:hover {

@ -10,8 +10,5 @@
"resolveJsonModule": true,
"lib": ["ESNext", "DOM"]
},
"exclude": [
"**/node_modules/**",
"**/dist/**"
]
"exclude": ["**/node_modules/**", "**/dist/**"]
}

Loading…
Cancel
Save