From b07ae0406f1be8b7e723304a928e383063d9c226 Mon Sep 17 00:00:00 2001 From: Grant Date: Fri, 8 Mar 2024 15:37:53 -0700 Subject: [PATCH] add scripts, eslint modification --- package.json | 5 +++-- packages/server/.eslintrc.json | 3 ++- packages/server/package.json | 3 ++- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 768c110..f66204e 100644 --- a/package.json +++ b/package.json @@ -10,8 +10,9 @@ ], "main": "src/index.ts", "scripts": { - "dev:server": "cd packages/server && npm run dev", - "dev:client": "cd packages/client && npm run dev" + "dev:client": "npm run dev -w packages/client", + "dev:server": "npm run dev -w packages/server", + "prisma:studio": "npm run prisma:studio -w packages/server" }, "keywords": [], "author": "", diff --git a/packages/server/.eslintrc.json b/packages/server/.eslintrc.json index 6fbf12d..55523bd 100644 --- a/packages/server/.eslintrc.json +++ b/packages/server/.eslintrc.json @@ -23,6 +23,7 @@ "plugins": ["@typescript-eslint"], "rules": { "no-console": "error", - "@typescript-eslint/no-namespace": "off" + "@typescript-eslint/no-namespace": "off", + "@typescript-eslint/no-explicit-any": "off" } } diff --git a/packages/server/package.json b/packages/server/package.json index 1c06f43..1beb4cf 100644 --- a/packages/server/package.json +++ b/packages/server/package.json @@ -4,7 +4,8 @@ "main": "./build/index.js", "scripts": { "dev": "DOTENV_CONFIG_PATH=.env.local nodemon -r dotenv/config src/index.ts", - "lint": "eslint ." + "lint": "eslint .", + "prisma:studio": "prisma studio" }, "keywords": [], "author": "",