-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
53 lines (37 loc) · 941 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
ts-node = node --import tsx
eslint = bunx eslint
vitest = bunx vitest
node_modules: PHONY
bun install
lint: node_modules PHONY
$(eslint) .
lint.fix: node_modules PHONY
$(eslint) --fix .
lint.fix.dist: node_modules PHONY
$(eslint) --fix dist
format: node_modules PHONY
bunx prettier --write .
format.check: node_modules PHONY
bunx prettier --check .
dev: node_modules PHONY
$(ts-node) bin/dev.ts
build: node_modules PHONY
bunx rollup --config rollup.config.ts --configPlugin @rollup/plugin-typescript
@make format
@make lint.fix.dist
docgen: node_modules PHONY
$(ts-node) bin/docgen.ts
@make format
typecheck: node_modules PHONY
bunx tsc --noEmit
typecheck.watch: node_modules PHONY
bunx tsc --noEmit --watch
test: node_modules PHONY
$(vitest) run
test.watch: node_modules PHONY
$(vitest) watch
scaffold.script: PHONY
@./bin/scaffold-script.sh
open.dist.in.remote: PHONY
@./bin/open-dist-in-remote.sh
PHONY: