diff --git a/package.json b/package.json index f33d2c6cd..376b9acd9 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "scripts": { "dev": "vite", "serve": "vite preview", - "build": "vite build", + "build": "eslint --ext .js,.ts,.vue --ignore-path .gitignore src && vite build", "lint": "eslint --ext .js,.ts,.vue --ignore-path .gitignore src", "lint-fix": "eslint --ext .js,.ts,.vue --ignore-path .gitignore --fix src" },