stadt-land-fluss/Makefile
2024-08-19 23:33:24 +02:00

24 lines
411 B
Makefile

default: frontend_lint
frontend_prod: export NODE_ENV=production
frontend_prod: frontend
frontend: node_modules
node ci/build.mjs
frontend_lint: node_modules
./node_modules/.bin/eslint \
--ext .ts,.vue \
--fix \
src
node_modules:
npm ci --include dev
trivy:
trivy fs . \
--dependency-tree \
--format table \
--quiet \
--scanners misconfig,license,secret,vuln \
--severity HIGH,CRITICAL