Skip to content

Commit

Permalink
Add "npm run format" command for docs folder (#1706)
Browse files Browse the repository at this point in the history
  • Loading branch information
nilsreichardt authored Aug 11, 2024
1 parent e34c342 commit 1b13a1b
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 1 deletion.
18 changes: 18 additions & 0 deletions docs/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 5 additions & 1 deletion docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,17 @@
"scripts": {
"dev": "next",
"build": "next build",
"start": "next start"
"start": "next start",
"format": "prettier \"**/*.md\" \"**/*.mdx\" --write"
},
"dependencies": {
"next": "^14.1.0",
"nextra": "^2.13.3",
"nextra-theme-docs": "^2.13.3",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
"devDependencies": {
"prettier": "^3.0.1"
}
}

0 comments on commit 1b13a1b

Please sign in to comment.