Skip to content

Commit

Permalink
chore: add prisma generate to build and postinstall scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
becem-gharbi committed Feb 13, 2024
1 parent 0233928 commit c932ef5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ That's it! You can now get started on your project ✨

## Development Server

Start the development server on http://127.0.0.1:3000
Start the development server on http://localhost:3000

```bash
npm run dev
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
"repository": "https://github.com/becem-gharbi/nuxt-starter.git",
"homepage": "https://nuxt-starter.bg.tn",
"scripts": {
"build": "nuxt build",
"build": "prisma generate && nuxt build",
"dev": "nuxt dev",
"generate": "nuxt generate",
"generate": "prisma generate && nuxt generate",
"preview": "nuxt preview",
"postinstall": "nuxt prepare",
"postinstall": "prisma generate && nuxt prepare",
"release": "npm run lint && npx nuxi typecheck && changelogen --release && git push --follow-tags",
"lint": "eslint ."
},
Expand Down

0 comments on commit c932ef5

Please sign in to comment.