diff --git a/package.json b/package.json index b62616f62..8cef731e7 100644 --- a/package.json +++ b/package.json @@ -10,6 +10,9 @@ "node": "14.*" }, "scripts": { + "lint:js": "eslint --ext \".js,.vue\" --ignore-path .gitignore .", + "lint:style": "stylelint \"**/*.{vue,css}\" --ignore-path .gitignore", + "lint": "npm run lint:js && npm run lint:style", "dev": "vite --host", "start": "npm run start-server", "start-server": "node server/server.js",