forked from jsnbuchanan/crowd-funder-for-time-pwa
add linting before any build
This commit is contained in:
@@ -5,7 +5,7 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vite",
|
"dev": "vite",
|
||||||
"serve": "vite preview",
|
"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": "eslint --ext .js,.ts,.vue --ignore-path .gitignore src",
|
||||||
"lint-fix": "eslint --ext .js,.ts,.vue --ignore-path .gitignore --fix src"
|
"lint-fix": "eslint --ext .js,.ts,.vue --ignore-path .gitignore --fix src"
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user