forked from ericabouaf/gh-issues-gantt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.example.js
49 lines (43 loc) · 1.31 KB
/
config.example.js
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
module.exports = {
server: {
port: 3001
},
github: {
repo: 'user/repo',
username: 'gh-username',
password: 'gh-password'
},
gantt: {
// Don't plan anything on saturdays (6) and sundays (0)
weekDaysOff: [0,6],
// Associate each github user to a specifc color on the Gantt chart (default
// colors available: ganttBlue, ganttRed, ganttGreen, ganttOrange)
//
// You can add your additional color definitions into public/stylesheets/style.css
//
// Beware that the github usernames are case sensitive.
colorByDev: {
"gh-username": "ganttBlue",
"pushkar": "ganttBlue",
"shauvik": "ganttRed",
"rcackerley":"ganttOrange",
"DeedleFake":"ganttGreen",
"Abhinav41": "ganttPurple",
"garkanum3": "ganttPink",
"unassigned": "ganttCyan",
"unassigned": "ganttCream"
},
// Configure off periods
holidays: {
"gh-username": [
{ start: "2017-08-08", end: "2017-08-13", title: "Summer holidays"}
]
},
// Exclude milestones listed below from the Gantt Chart
excludedMilestones: [
"Milestone Name"
],
// Default duration (in days) for an issue which is not labelled
defaultDuration: 1
}
};