update
This commit is contained in:
parent
bdc2e5cae5
commit
9b7581afb2
@ -13,7 +13,7 @@
|
|||||||
"build": "vite build",
|
"build": "vite build",
|
||||||
"build:mock": "vite build --mode mock",
|
"build:mock": "vite build --mode mock",
|
||||||
"serve": "vite preview",
|
"serve": "vite preview",
|
||||||
"lint": "eslint --fix --ext .js,.vue src"
|
"lint": "eslint --fix --ext .js,.vue src",
|
||||||
},
|
},
|
||||||
"browserslist": [
|
"browserslist": [
|
||||||
"> 1%",
|
"> 1%",
|
||||||
@ -51,7 +51,7 @@
|
|||||||
},
|
},
|
||||||
"lint-staged": {
|
"lint-staged": {
|
||||||
"src/**/*.{js,vue}": [
|
"src/**/*.{js,vue}": [
|
||||||
"eslint --fix",
|
"npm run lint",
|
||||||
"git add"
|
"git add"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user