Add lint job to push action
This commit is contained in:
parent
b637af9c7a
commit
64306308ce
2 changed files with 23 additions and 3 deletions
|
@ -9,7 +9,10 @@
|
|||
"build:targets": "yarn build:client && yarn build:server",
|
||||
"build:client": "tsc -b && vite build --outDir dist/client",
|
||||
"build:server": "tsc -b && vite build --outDir dist/server --ssr src/entry-server.tsx",
|
||||
"lint": "eslint .",
|
||||
"lint": "yarn lint:tsc && yarn lint:eslint && yarn lint:prettier",
|
||||
"lint:prettier": "prettier --check .",
|
||||
"lint:eslint": "eslint .",
|
||||
"lint:tsc": "tsc -b --noEmit",
|
||||
"preview": "vite preview"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue