1 | all: setup lint test build docs
|
2 |
|
3 | setup:
|
4 | npm install
|
5 |
|
6 | hooks:
|
7 | cp pre-commit.sh .git/hooks/pre-commit
|
8 |
|
9 | lint:
|
10 | npm run lint
|
11 |
|
12 | test:
|
13 | npm test
|
14 |
|
15 | cover:
|
16 | npm run cover
|
17 |
|
18 | build:
|
19 | npm run build
|
20 | .PHONY: build
|
21 |
|
22 | bundle:
|
23 | npm run bundle
|
24 |
|
25 | docs:
|
26 | npm run docs
|
27 | .PHONY: docs
|
28 |
|
29 | commit:
|
30 | npm run commit
|