add scripts, eslint modification

This commit is contained in:
Grant 2024-03-08 15:37:53 -07:00
parent e5821027dc
commit b07ae0406f
3 changed files with 7 additions and 4 deletions

View File

@ -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": "",

View File

@ -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"
}
}

View File

@ -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": "",