-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathMakefile
47 lines (33 loc) · 831 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
install:
ifeq ("$(INSTALL_MODE)", "skip")
@echo "Skipping 'yarn install'..."
else
yarn install
endif
dev: install pathpida
yarn next dev -p 3131
build: install pathpida
yarn next build
start: install
yarn next start -p 3131
lint: install pathpida
yarn eslint .
lint.fix: install
yarn eslint --fix .
format: install
yarn prettier --write .
format.check: install
yarn prettier --check .
typecheck: install pathpida
yarn tsc --noEmit
typecheck.watch: install pathpida
yarn tsc --noEmit --watch
storybook: install pathpida
NODE_OPTIONS=--openssl-legacy-provider yarn start-storybook -s public -p 6161
build.storybook: install pathpida
yarn build-storybook -s public
pathpida: install
yarn pathpida --enableStatic
pathpida.watch: install
yarn pathpida --enableStatic --watch
.PHONY: install $(MAKECMDGOALS)