install: package.json
	npm ci

build-cockpit-plugin: webpack.config.js
ifndef SKIP_AUDIT_CI
	npm run audit-ci
endif
	npm run build && cp -r dist cockpit_dist

eslint-fix:
	npm run eslint:fix

clean:
	rm -rf ./dist/ ./cockpit_dist/

