add scripts, eslint modification
This commit is contained in:
parent
e5821027dc
commit
b07ae0406f
|
@ -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": "",
|
||||
|
|
|
@ -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"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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": "",
|
||||
|
|
Loading…
Reference in New Issue