Skip to content

Commit

Permalink
add format script
Browse files Browse the repository at this point in the history
  • Loading branch information
SkidGod4444 committed Dec 1, 2024
1 parent c7bab07 commit 49e4109
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion packages/crypt/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@
"name": "@repo/crypt",
"scripts": {
"dev": "tsc --watch",
"build": "tsc"
"build": "tsc",
"typecheck": "tsc --noEmit",
"format:write": "prettier --write \"**/*.{ts,tsx,mdx}\" --cache",
"format:check": "prettier --check \"**/*.{ts,tsx,mdx}\" --cache"
},
"exports": {
".": "./src/crypt.ts"
Expand Down
5 changes: 4 additions & 1 deletion packages/database/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@
},
"scripts": {
"db:generate": "prisma generate --no-engine",
"db:push": "prisma db push --skip-generate"
"db:push": "prisma db push --skip-generate",
"typecheck": "tsc --noEmit",
"format:write": "prettier --write \"**/*.{ts,tsx,mdx}\" --cache",
"format:check": "prettier --check \"**/*.{ts,tsx,mdx}\" --cache"
},
"dependencies": {
"@prisma/client": "^5.22.0",
Expand Down

0 comments on commit 49e4109

Please sign in to comment.