Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
130 lines (130 loc) · 4.2 KB
/
Copy pathpackage.json
File metadata and controls
130 lines (130 loc) · 4.2 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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
{
"name": "angular-view",
"displayName": "angular-view",
"description": "Allow to see angular component/html/css",
"version": "0.0.1",
"publisher": "anthony2856",
"engines": {
"vscode": "^1.18.0"
},
"categories": [
"Other"
],
"activationEvents": [
"*"
],
"main": "./out/extension",
"contributes": {
"commands": [{
"command": "angularView.changeMode",
"title": "Angular View - Change mode"
},
{
"command": "angularView.openTsFile",
"title": "Angular View - Open corresponding typescript file"
},
{
"command": "angularView.openHtmlFile",
"title": "Angular View - Open corresponding html file"
},
{
"command": "angularView.openCssFile",
"title": "Angular View - Open corresponding css file"
},
{
"command": "angularView.openUnitTestFile",
"title": "Angular View - Open corresponding unit test file"
}
],
"keybindings": [{
"command": "angularView.changeMode",
"key": "Ctrl+Alt+M"
},
{
"command": "angularView.openTsFile",
"key": "Ctrl+Alt+T"
},
{
"command": "angularView.openHtmlFile",
"key": "Ctrl+Alt+H"
},
{
"command": "angularView.openCssFile",
"key": "Ctrl+Alt+C"
},
{
"command": "angularView.openUnitTestFile",
"key": "Ctrl+Alt+U"
}
],
"configuration": {
"type": "object",
"title": "Angular view settings",
"properties": {
"angularview.mode": {
"type": "string",
"default": "component",
"enum": [
"component",
"unitTest",
"e2eTest",
"inactive"
]
},
"angularview.displaycss": {
"type": "boolean",
"default": true,
"description": "Use to display or not the css file on component select"
},
"angularview.viewColumns": {
"type": "object",
"description": "Used to configure view columns for each file type",
"default": {
"ts": 1,
"html": 2,
"css": 3,
"spec": 2,
"e2e": 1,
"po": 2
},
"properties": {
"ts": {
"type": "number",
"default": 1
},
"html": {
"type": "number",
"default": 2
},
"css": {
"type": "number",
"default": 3
},
"spec": {
"type": "number",
"default": 2
}
}
},
"angularview.switchon": {
"type": "array",
"default": ["ts", "html", "css"],
"description": "Use to select wich file type will fire event to display others files"
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"postinstall": "node ./node_modules/vscode/bin/install",
"test": "npm run compile && node ./node_modules/vscode/bin/test"
},
"devDependencies": {
"typescript": "^2.6.1",
"vscode": "^1.1.6",
"@types/node": "^7.0.43",
"@types/mocha": "^2.2.42"
}
}