mirror of
https://github.com/Luzifer/stadt-land-fluss.git
synced 2024-11-08 19:20:04 +00:00
24 lines
411 B
Makefile
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
|