-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmakefile
43 lines (33 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
build:
@printf "\033[0;32m>>> Building component for production\033[0m\n"
yarn build
install:
@printf "\033[0;32m>>> Installing dependencies\033[0m\n"
yarn install
lint:
@printf "\033[0;32m>>> Checking and fixing code standards\033[0m\n"
yarn run lint
major:
@printf "\033[0;32m>>> creating new major version\033[0m\n"
npm version major
minor:
@printf "\033[0;32m>>> creating new minor version\033[0m\n"
npm version minor
patch:
@printf "\033[0;32m>>> creating new patch version\033[0m\n"
npm version patch
publish:
@printf "\033[0;32m>>> Publishing package to npmjs.org\033[0m\n"
npx shipjs trigger
release:
@printf "\033[0;32m>>> Prepare packages for release033[0m\n"
npx shipjs prepare
run:
@printf "\033[0;32m>>> Running local server\033[0m\n"
yarn serve
test:
@printf "\033[0;32m>>> Running tests\033[0m\n"
yarn run test
test.unit:
@printf "\033[0;32m>>> Running unit tests\033[0m\n"
yarn run test:unit