-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
34 lines (25 loc) · 727 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
help:
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'
install: ## Install Dependencies
@pnpm i
watch: ## Build for Dev environment and Watch files
@pnpm watch
lint: ## Lint all files
@pnpm lint
tests: ## Run all tests (unit + e2e)
@make test-unit
@make test-e2e
test-unit: ## Run unit tests (JEST)
@pnpm test-unit
test-e2e: ## Run e2e tests (Cypress CLI)
@pnpm run test-e2e
test-e2e-gui: ## Run e2e tests (Cypress GUI)
@pnpm run test-e2e-gui
prod: ## Build for Production environmen
@make lint
@pnpm prod
@pnpm run copy-typescript-definitions
publish: ## Publish to NPM
@make prod
@make tests
@pnpm publish