This commit is contained in:
@@ -11,6 +11,7 @@
|
||||
"build:default": "vue-tsc --noEmit && vite build --mode default",
|
||||
"build:development": "vue-tsc --noEmit && vite build --mode development",
|
||||
"build:production": "vue-tsc --noEmit && vite build --mode production",
|
||||
"check:encoding": "node scripts/check-encoding.mjs",
|
||||
"np": "vite build --mode production",
|
||||
"nd": "vite build --mode development",
|
||||
"serve": "vite preview",
|
||||
@@ -28,6 +29,9 @@
|
||||
}
|
||||
},
|
||||
"lint-staged": {
|
||||
"*.{js,ts,mjs,mts,tsx,cjs,json,jsonc,vue,html,htm,css,less,scss,md,mdx,yaml,yml}": [
|
||||
"node scripts/check-encoding.mjs"
|
||||
],
|
||||
"*.{js,ts,mjs,mts,tsx}": [
|
||||
"eslint --fix",
|
||||
"prettier --write"
|
||||
|
||||
Reference in New Issue
Block a user