stadt-land-fluss/Makefile

25 lines
411 B
Makefile
Raw Permalink Normal View History

2024-08-19 20:20:23 +00:00
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
2024-08-19 21:33:24 +00:00
trivy:
trivy fs . \
--dependency-tree \
--format table \
--quiet \
--scanners misconfig,license,secret,vuln \
--severity HIGH,CRITICAL