Skip to content

Commit

Permalink
chore: add prettier for markdown files
Browse files Browse the repository at this point in the history
  • Loading branch information
EdieLemoine committed Mar 8, 2023
1 parent 8cb9bd4 commit 10166ee
Show file tree
Hide file tree
Showing 2 changed files with 363 additions and 12 deletions.
10 changes: 7 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"build": "yarn optimize:svg -q && vuepress build src",
"dev": "vuepress dev src",
"optimize:svg": "svgo -r --multipass --final-newline --folder src/.vuepress/public",
"prepare": "husky install",
"prepare": "is-ci || husky install",
"preview": "http-server src/.vuepress/dist -s --port 9599",
"test": "concurrently yarn:test:node yarn:test:vue yarn:test:links",
"test:dev:node": "vitest --config vitest-node.config.ts",
Expand All @@ -40,7 +40,8 @@
"package.json": "npx sort-package-json",
"src/**/*.{js,ts,vue}": "eslint --fix",
"test/**/*.{js,ts,vue}": "eslint --fix",
"src/**/*.svg": "svgo --multipass --final-newline"
"src/**/*.svg": "svgo --multipass --final-newline",
"**/*.{md,mdx,html}": "prettier --write"
},
"resolutions": {
"vite": "^2"
Expand Down Expand Up @@ -77,13 +78,16 @@
"gray-matter": ">= 4.0",
"happy-dom": "^6.0.4",
"http-server": "^14.1.1",
"husky": "^8.0.1",
"husky": "^8.0.3",
"hyperlink": "^5.0.4",
"is-ci": "^3.0.1",
"lint-staged": "^13.1.2",
"lodash-unified": "^1.0.2",
"markdown-it-multimd-table": "^4.1.3",
"mock-fs": "^5.1.2",
"only-allow": "^1.1.1",
"plop": "^3.1.1",
"prettier": "^2.8.4",
"rollup-plugin-visualizer": "^5.7.1",
"start-server-and-test": "^1.14.0",
"svgo": "^2.8.0",
Expand Down
Loading

0 comments on commit 10166ee

Please sign in to comment.