-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathpackage.json
82 lines (82 loc) · 1.91 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
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
{
"name": "handlebars-preview",
"displayName": "Handlebars Preview",
"description": "Preview Handlebars files in VS Code with custom data",
"publisher": "Greenbyte",
"version": "1.4.1",
"engines": {
"vscode": "^1.35.1"
},
"categories": [
"Other"
],
"repository": {
"type": "git",
"url": "https://github.com/johnknoop/vscode-handlebars-preview"
},
"icon": "media/preview-hbs.png",
"activationEvents": [
"onCommand:extension.previewHandlebars",
"onCommand:extension.generateContextFile"
],
"main": "./out/extension.js",
"preview": false,
"contributes": {
"commands": [
{
"command": "extension.previewHandlebars",
"title": "Handlebars: Preview"
},
{
"command": "extension.generateContextFile",
"title": "Handlebars: Generate context file"
}
],
"menus": {
"explorer/context": [
{
"command": "extension.generateContextFile",
"when": "resourceFilename =~ /\\.(hbs|handlebars)$/",
"group": "Handlebars"
}
],
"editor/title/context": [
{
"command": "extension.previewHandlebars",
"when": "resourceLangId == handlebars",
"group": "Handlebars"
},
{
"command": "extension.generateContextFile",
"when": "resourceLangId == handlebars",
"group": "Handlebars"
}
]
}
},
"scripts": {
"vscode:prepublish": "yarn run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"postinstall": "node ./node_modules/vscode/bin/install --yarn",
"package": "yarn run vsce package --yarn",
"publish-marketplace": "yarn run vsce publish --yarn"
},
"devDependencies": {
"@types/cheerio": "^0.22.11",
"@types/jest": "^24.0.15",
"@types/node": "^10.12.21",
"jest": "^24.8.0",
"ts-jest": "^24.0.2",
"ts-node": "^8.3.0",
"tslint": "^5.12.1",
"typescript": "^3.5.2",
"vsce": "1.78.0",
"vscode": "^1.1.37"
},
"dependencies": {
"cheerio": "^1.0.0-rc.3",
"handlebars": "^4.3.0",
"rxjs": "^6.5.2"
}
}