Skip to content

Commit

Permalink
test(website): add format-check and check npm scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
vst committed Mar 27, 2024
1 parent 48bbeaf commit fb4eba8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@
"build": "next build",
"start": "next start",
"lint": "next lint",
"format": "prettier --write \"src/**/*.{ts,tsx,md,mdx}\""
"format-check": "prettier --check \"src/**/*.{ts,tsx,md,mdx}\"",
"format": "prettier --write \"src/**/*.{ts,tsx,md,mdx}\"",
"check": "npm run format-check && npm run lint && npm run build"
},
"dependencies": {
"@nextui-org/react": "^2.2.10",
Expand Down

0 comments on commit fb4eba8

Please sign in to comment.