diff --git a/package.json b/package.json index f33d2c6c..376b9acd 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" },