-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
38 lines (38 loc) · 1.15 KB
/
package.json
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
{
"name": "backup-policy",
"version": "0.2.1",
"dependencies": {
"mkdirp": "^0.5.1"
},
"policy": {
"language": "coffeescript",
"params": {
"copyTo": {
"type": "text",
"required": true,
"label": "Backups folder",
"tip": "Please enter the absolute path of the folder where you want to store the backup."
},
"version": {
"type": "select",
"label": "File version",
"options": {
"prev": "Backup previous version (before modification)",
"cur": "Backup current version (after modification)"
},
"default": "cur"
},
"naming": {
"type": "select",
"label": "Backup naming",
"options": {
"simple": "Simple: filename.bak",
"timed": "Timestamped: [email protected]"
},
"default": "simple",
"tip": "Choosing \"simple\" will keep only one backup file and overwrite it every time. On the other hand, \"timestamped\" will create a new file upon every modification and will include the date and time in the backup file name."
}
},
"defaultName": "Backup"
}
}