forked from alefragnani/vscode-read-only-indicator
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
95 lines (95 loc) · 2.26 KB
/
Copy pathpackage.json
File metadata and controls
95 lines (95 loc) · 2.26 KB
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
{
"name": "read-only-indicator",
"displayName": "Read-Only Indicator",
"description": "Read-Only/Writeable indication on Status Bar",
"version": "2.1.0",
"publisher": "alefragnani",
"galleryBanner": {
"color": "#0000FF",
"theme": "dark"
},
"categories": [
"Other"
],
"icon": "images/icon.png",
"engines": {
"vscode": "^1.12.0"
},
"license": "SEE LICENSE IN LICENSE.md",
"homepage": "https://github.com/alefragnani/vscode-read-only-indicator/blob/master/README.md",
"repository": {
"type": "git",
"url": "https://github.com/alefragnani/vscode-read-only-indicator.git"
},
"bugs": {
"url": "https://github.com/alefragnani/vscode-read-only-indicator/issues"
},
"activationEvents": [
"*"
],
"main": "./out/src/extension",
"contributes": {
"commands": [
{
"command": "readOnly.makeWriteable",
"title": "File Access: Make Writeable"
},
{
"command": "readOnly.makeReadOnly",
"title": "File Access: Make Read Only"
},
{
"command": "readOnly.changeFileAccess",
"title": "File Access: Change File Access"
}
],
"configuration": {
"type": "object",
"title": "Status Bar Read-Only Indicator Configuration",
"properties": {
"fileAccess.position": {
"type": "string",
"default": "left",
"description": "Defines the position where the Status Bar indicator is located",
"enum": [
"left",
"right"
]
},
"fileAccess.uiMode": {
"type": "string",
"default": "complete",
"description": "Define how much information is displayed in the Status Bar indicator",
"enum": [
"complete",
"simple"
]
},
"fileAccess.indicatorAction": {
"type": "string",
"default": "choose",
"description": "Sets what action to take when the indicator is clicked",
"enum": [
"toggle",
"choose"
]
}
}
}
},
"scripts": {
"vscode:prepublish": "tsc -p ./ && tslint ./src/*.ts",
"compile": "tsc -watch -p ./",
"postinstall": "node ./node_modules/vscode/bin/install",
"test": "node ./node_modules/vscode/bin/test",
"lint": "tslint ./src/*.ts"
},
"devDependencies": {
"@types/node": "^6.0.40",
"typescript": "^2.3.2",
"vscode": "^1.1.0",
"mocha": "^4.0.1",
"tslint": "5.11.0",
"@types/mocha": "^2.2.43"
}
}