env/Makefile

24 lines
485 B
Makefile
Raw Permalink Normal View History

2022-07-16 05:38:57 -04:00
.PHONY: help
help: ## Show this help.
@egrep '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-22s\033[0m %s\n", $$1, $$2}'
2020-07-14 06:06:58 -04:00
.PHONY: install
2022-07-16 05:38:57 -04:00
install: ## Install dependencies.
2020-07-14 06:06:58 -04:00
npm install
.PHONY: lint
2022-07-16 05:38:57 -04:00
lint: ## Lint code.
2020-07-14 06:06:58 -04:00
npm run lint
2024-01-25 16:04:09 -05:00
.PHONY: audit
audit: ## Audit and fix NPM vulnerabilities.
npm audit fix
2020-07-14 06:06:58 -04:00
.PHONY: test
2022-07-16 05:38:57 -04:00
test: ## Run tests.
2020-07-14 06:06:58 -04:00
npm run test
.PHONY: build
2022-07-16 05:38:57 -04:00
build: ## Build code for distribution.
2020-07-14 06:06:58 -04:00
npm run build