Skip to content

Commit

Permalink
Update package.json and fix "eslint" module error.
Browse files Browse the repository at this point in the history
Fixed bug of incompatible version of "eslint" module,
Added a separate script for the prisma database migration itself.

Signed-off-by: Nibor <[email protected]>
  • Loading branch information
infnibor authored Apr 14, 2024
1 parent a2052df commit 6016681
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"scripts": {
"start": "npm run build && node dist/index.js",
"prisma:generate": "npx prisma generate",
"prisma:migrate": "npx prisma migrate dev --name init",
"build": "tsc --project tsconfig.json",
"clean": "rm -rf dist",
"lint": "eslint . --cache --ext .js,.jsx,.ts,.tsx",
Expand Down Expand Up @@ -40,7 +41,7 @@
"@types/signale": "^1.4.7",
"@typescript-eslint/eslint-plugin": "^7.6.0",
"@typescript-eslint/parser": "^7.6.0",
"eslint": "^9.0.0",
"eslint": "^8.56.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-unicorn": "^52.0.0",
"prettier": "^3.2.5",
Expand Down

0 comments on commit 6016681

Please sign in to comment.