-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMakefile
More file actions
52 lines (37 loc) · 728 Bytes
/
Makefile
File metadata and controls
52 lines (37 loc) · 728 Bytes
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 tests coverage showcase
setup:
npm install -g browser-sync && \
npm install -g http-server && \
sudo apt-get install build-essential libcairo2-dev \
libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev
install:
npm install
test:
npm run test
clean:
rm -rf ./dist
standard:
npx standard --fix
showcase:
npx live-server ./showcase
dev:
npm run dev
prod:
npm run prod
push:
git push && git push --tags
deploy:
sshpass -e rsync -av --delete ./showcase/ \
${RSYNC_USER}@${RSYNC_HOST}:${RSYNC_DIR}
reset:
git reset --hard
git clean -xdf
purge:
rm -rf ./node_modules
http:
http-server -p 8084 -c-1 dist
updates:
npx npm-check-updates
upgrade:
npx npm-check-updates --upgrade
npm install