forked from handsontable/hyperformula
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
70 lines (46 loc) · 1.61 KB
/
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
typecheck: ## Typecheck the code
@npm run verify:typings
setup: ## Setup project
@npm i
compile: ## Compile to javascript
@npm run compile
test: ## Run tests
@npm run test
unit: ## Run unit tests
@npm run test:unit
test-ci: ## Separate test configuration for CI environment
@npm run test
check: typecheck test ## Check whether code is working correctly (types + specs)
full: check lint-fix ## Check whether code is ready to commit (types + specs + lint)
lint: ## Show linting errors
@npm run lint
lint-fix: ## Fix linting errors
@npm run lint:fix
coverage: ## Run tests and show coverage
@npm run test:coverage
doc: ## Generate documentation
@npm run typedoc:build
servedoc: ## Run server with documentation
@npm run typedoc:serve
clean: ## Clean compiled files
@npm run clean
bundle:
@npm run bundle-all
bundle-es: compile ## Transpiles files to ES
@npm run bundle:es
bundle-commonjs: compile ## Transpiles files to CommonJS
@npm run bundle:cjs
bundle-development: compile ## Transpiles and bundles files to UMD format (without minification)
@npm run bundle:development
bundle-production: compile ## Transpiles and bundles files to UMD format (with minification)
@npm run bundle:production
bundle-typings: ## Generates TypeScript declaration files
@npm run bundle:typings
check-bundle:
@npm run verify-bundles
verify-production-licenses:
@npm run check:licenses
help: ## Show all make commands
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'
.PHONY: test coverage benchmark doc servedoc
.DEFAULT_GOAL := help