mirror of
https://github.com/yusufipk/OpenFrame.git
synced 2026-09-11 09:36:08 +00:00
chore: add husky, commitlint, lint-staged, editorconfig and prettier
This commit is contained in:
@@ -9,8 +9,11 @@
|
||||
"start": "next start",
|
||||
"start:docker": "sh ./scripts/docker-entrypoint.sh",
|
||||
"lint": "eslint --max-warnings=0",
|
||||
"format": "prettier --write .",
|
||||
"format:check": "prettier --check .",
|
||||
"typecheck": "tsc --noEmit",
|
||||
"check": "bun run lint && bun run typecheck",
|
||||
"prepare": "husky",
|
||||
"postinstall": "prisma generate",
|
||||
"db:generate": "prisma generate",
|
||||
"db:push": "prisma db push",
|
||||
@@ -62,10 +65,24 @@
|
||||
"@types/react-dom": "^19",
|
||||
"eslint": "^9",
|
||||
"eslint-config-next": "16.1.6",
|
||||
"@commitlint/cli": "^19.8.1",
|
||||
"@commitlint/config-conventional": "^19.8.1",
|
||||
"husky": "^9.1.7",
|
||||
"lint-staged": "^15.5.1",
|
||||
"prettier": "^3.5.3",
|
||||
"shadcn": "^3.8.3",
|
||||
"tailwindcss": "^4",
|
||||
"typescript": "^5"
|
||||
},
|
||||
"lint-staged": {
|
||||
"*.{js,jsx,ts,tsx}": [
|
||||
"eslint --max-warnings=0 --fix",
|
||||
"prettier --write"
|
||||
],
|
||||
"*.{json,css,md,yml,yaml,mdx}": [
|
||||
"prettier --write"
|
||||
]
|
||||
},
|
||||
"ignoreScripts": [
|
||||
"sharp",
|
||||
"unrs-resolver"
|
||||
|
||||
Reference in New Issue
Block a user