forked from trent_larson/crowd-funder-for-time-pwa
add linting before any build
This commit is contained in:
@@ -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"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user