-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
59 lines (41 loc) 路 820 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
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
## CONFIG
export PATH := ./node_modules/.bin:$(PATH)
SHELL := /bin/bash -v
## VARIABLES
## COMMANDS
install:
@yarn
@husky install
upgrade:
@yarn upgrade-interactive --latest
nvm-update:
@bash -l -c 'nvm install --latest-npm --reinstall-packages-from=$(shell node -v)'
cleanup:
@rm -rf node_modules coverage dist types docs *.log
build:
@rm -rf dist
@babel src -d dist --ignore '**/__tests__/*.js'
build-watch:
@babel src -d dist --ignore '**/__tests__/*.js' --watch
type-check:
@tsc
lint:
@eslint_d src
lint-fix:
@eslint_d src --fix
lint-reset:
@eslint_d restart
test:
@jest
test-watch:
@jest --watch --coverage
test-coverage:
@jest --coverage
docs:
@documentation build src/** -f html -o docs
docs-watch:
@documentation serve --watch src
commit:
@commit
release:
@semantic-release