generated from raulanatol/template-action-nodejs-ts
-
Notifications
You must be signed in to change notification settings - Fork 7
/
Makefile
50 lines (37 loc) · 748 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
.DEFAULT_GOAL := check
start:
@echo "🏃♀️ Starting project"
npm install
init:
@echo "Initialising the project"
@npm install
test:
@echo "Testing..."
npm test
build:
@echo "👩🏭 Building..."
@npm run build
@npm run package
check: --pre_check test build
@echo "✅"
clean:
@echo "🛁 Cleaning..."
@npm run clean
clean_all: clean
@echo "🧨 Clean all"
@rm -Rf node_modules package-lock.json
docs:
@doctoc README.md
@echo "📚 Documentation ready!"
release_patch: release
release_minor: check
@.scripts/finish-release minor
release_major: check
@.scripts/finish-release major
release: check
@.scripts/finish-release patch
--pre_check:
@npm run clean
@npm install
@npm run lint
@npm run type-check