build: only linting fe when releasing fe

This commit is contained in:
Miodec 2023-11-17 15:57:45 +00:00
parent 4947633cc2
commit 6bfcc33021

View file

@ -1,6 +1,9 @@
{
"hooks": {
"before:init": ["npm run lint", "cd frontend && npx gulp build-production"],
"before:init": [
"npm run lint-fe",
"cd frontend && npx gulp build-production"
],
"before:release": [
"cd frontend && npm run deploy-live",
"sh ./bin/purgeCfCache.sh"