chore: add Makefile
This commit is contained in:
parent
51cd84e7ee
commit
9e0e85fbfc
1 changed files with 20 additions and 0 deletions
20
Makefile
Normal file
20
Makefile
Normal file
|
|
@ -0,0 +1,20 @@
|
||||||
|
.PHONY: dev
|
||||||
|
dev:
|
||||||
|
npm run dev
|
||||||
|
|
||||||
|
.PHONY: db-push
|
||||||
|
db-push:
|
||||||
|
npx prisma db push
|
||||||
|
|
||||||
|
.PHONY: db-seed
|
||||||
|
db-seed:
|
||||||
|
# pnpx prisma db seed
|
||||||
|
npx prisma db seed
|
||||||
|
|
||||||
|
.PHONY: db-migrate-dev
|
||||||
|
db-migrate-dev:
|
||||||
|
npx prisma migrate dev
|
||||||
|
|
||||||
|
.PHONY: lint
|
||||||
|
lint:
|
||||||
|
npm run lint
|
||||||
Reference in a new issue