chore: added lint script

This commit is contained in:
Hackntosh 2024-02-02 16:53:15 +00:00
parent cf101674e7
commit 6f7aafef81

View file

@ -12,6 +12,7 @@
"docker:build": "docker build -t api . && docker compose up -d", "docker:build": "docker build -t api . && docker compose up -d",
"docker:db": "docker compose -f docker-compose.db.yml up -d", "docker:db": "docker compose -f docker-compose.db.yml up -d",
"docker:seed": "docker exec -it api npm run prisma:seed", "docker:seed": "docker exec -it api npm run prisma:seed",
"lint": "npx @biomejs/biome check --apply .",
"migrate:deploy": "prisma migrate deploy", "migrate:deploy": "prisma migrate deploy",
"migrate:dev": "prisma migrate dev", "migrate:dev": "prisma migrate dev",
"migrate:dev:create": "prisma migrate dev --create-only", "migrate:dev:create": "prisma migrate dev --create-only",
@ -108,4 +109,4 @@
"coverageDirectory": "../coverage", "coverageDirectory": "../coverage",
"testEnvironment": "node" "testEnvironment": "node"
} }
} }