forked from valist-io/valist-js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
52 lines (34 loc) · 837 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
SHELL=/bin/bash
all: install frontend
install:
npx lerna bootstrap
sdk:
npm run build --prefix ./packages/valist-sdk
web:
rm -rf ./packages/valist-web/out
npm run build --prefix ./packages/valist-web
npm run export --prefix ./packages/valist-web
frontend: sdk web
dev-sdk:
npm run dev --prefix ./packages/valist-sdk
dev-web:
npm run dev --prefix ./packages/valist-web
dev-frontend:
$(MAKE) -j 2 dev-sdk dev-web
dev:
$(MAKE) -j 3 up dev-sdk dev-web
lint-sdk:
npm run lint --prefix ./packages/valist-sdk
lint-web:
npm run lint --prefix ./packages/valist-web
lint-fix-sdk:
npm run lint:fix --prefix ./packages/valist-sdk
lint-fix-web:
npm run lint:fix --prefix ./packages/valist-web
lint: lint-sdk lint-web
lint-fix: lint-fix-sdk lint-fix-web
test:
npx lerna run test
clean:
git clean -dfx
.PHONY: packages