-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathMakefile
More file actions
53 lines (39 loc) · 1.22 KB
/
Makefile
File metadata and controls
53 lines (39 loc) · 1.22 KB
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
.PHONY: all build clean test test-watch test-coverage lint lint-fix format prepublish commit help install
# Default target
help:
@echo "Available commands:"
@echo " make all - Run lint, format, clean, build, test, and test-coverage"
@echo " make build - Build the project (tsc)"
@echo " make clean - Clean dist and coverage directories"
@echo " make test - Run tests (jest)"
@echo " make test-watch - Run tests in watch mode"
@echo " make test-coverage - Run tests with coverage"
@echo " make lint - Run linter (eslint)"
@echo " make lint-fix - Run linter and fix issues"
@echo " make format - Format code with Prettier"
@echo " make prepublish - Run clean, build, and test (prepublish steps)"
@echo " make commit - Commit changes using commitizen"
@echo " make install - Install dependencies"
all: lint clean build test test-coverage
build:
npm run build
clean:
npm run clean
test:
npm test
test-watch:
npm run test:watch
test-coverage:
npm run test:coverage
lint:
npm run lint
lint-fix:
npm run lint:fix
format:
npm run format
prepublish:
npm run prepublishOnly
commit:
npm run commit
install:
npm install