-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
37 lines (34 loc) · 667 Bytes
/
Makefile
File metadata and controls
37 lines (34 loc) · 667 Bytes
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
.PHONY: ci \
commitmsg \
prepare \
precommit \
commitlint \
commitlint-ci \
build \
documentation \
lint \
lint-staged \
test \
type
export FORCE_COLOR = true
ci: commitlint-ci lint type test
commitmsg: commitlint
prepare: build
precommit: lint-staged type test
commitlint:
yarn commitlint -e ${GIT_PARAMS}
commitlint-ci:
yarn commitlint --from="${TRAVIS_BRANCH}" --to="${TRAVIS_COMMIT}"
yarn commitlint --from=${TRAVIS_COMMIT}
build:
yarn babel src -d lib --delete-dir-on-start
documentation:
yarn emdaer && git add *.md
lint:
yarn eslint {,**/}{.*,*}.js --quiet
lint-staged:
yarn lint-staged
test:
yarn jest --coverage
type:
yarn flow status