-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcbf.yml
37 lines (37 loc) · 1.06 KB
/
cbf.yml
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
---
dev:
options:
install:
command: "npm install"
build:
command: "npm run build"
clean:
command: "npm run clean"
lint:
options:
lint:
command: "npm run lint"
fix:
command: "npm run lint:fix"
test:
command: "npm run test"
npm:
options:
version:
options:
patch:
command: "npm version patch -m '%s: release-title'"
variables:
release-title: "What's the release title?"
minor:
command: "npm version minor -m '%s: release-title'"
variables:
release-title: "What's the release title?"
major:
command: "npm version major -m '%s: release-title'"
variables:
release-title: "What's the release title?"
publish:
command: "npm publish"
update-changelog:
command: "git fetch --tags && git-chglog -o CHANGELOG.md && git add . && git commit -m 'chore: updated changelog' && git push"