Skip to content

Commit

Permalink
fix: yay, better package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
Byczax committed Mar 6, 2023
1 parent a8dd121 commit 0ac8861
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@ Pozwoli na wyszukiwanie organizacji studenckich i koł naukowych po słowach klu

1. `npm install`
2. `npm run dev`
3. `npx prisma generate`
4. `npx prisma db push`

Jeżeli chcemy wczytać przykładowe dane:

Expand Down
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,11 @@
"dev": "cross-env FORCE_COLOR=1 npm-run-all -l -p dev:*",
"dev:app": "wait-on tcp:5432 && next dev",
"dev:db": "docker compose -f docker-compose.dev.yml up --force-recreate -V ",
"dev:db:generate": "prisma generate",
"dev:db:push": "wait-on tcp:5432 && prisma db push",
"db:seed": "prisma db seed",
"db:studio": "prisma studio",
"postinstall": "prisma generate",
"postinstall": "prisma generate --watch",
"lint": "next lint",
"format:check": "prettier --check src",
"format:fix": "prettier --write src",
Expand Down

0 comments on commit 0ac8861

Please sign in to comment.