mirror of
https://github.com/Luzifer/stadt-land-fluss.git
synced 2024-12-20 06:41:18 +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
|