forked from mblode/vscode-twig-language-2
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpackage.json
More file actions
103 lines (103 loc) · 2.45 KB
/
package.json
File metadata and controls
103 lines (103 loc) · 2.45 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
{
"name": "twig-language",
"displayName": "Twig Language",
"description": "📍formatter, Syntax Highlighting, Hover, Snippets and Formatting for Twig",
"version": "0.10.15",
"publisher": "junstyle",
"license": "MIT",
"author": {
"name": "Matthew Blode",
"email": "m@blode.co",
"url": "https://matthewblode.com"
},
"homepage": "https://github.com/junstyle/vscode-twig-language",
"bugs": {
"url": "https://github.com/junstyle/vscode-twig-language/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/junstyle/vscode-twig-language.git"
},
"icon": "images/icon.png",
"engines": {
"vscode": "^1.43.0"
},
"categories": [
"Formatters",
"Programming Languages",
"Snippets",
"Other"
],
"keywords": [
"php",
"twig",
"snippets",
"craft",
"beautify"
],
"activationEvents": [
"onLanguage:twig"
],
"main": "./out/extension.js",
"contributes": {
"languages": [
{
"id": "twig",
"aliases": [
"HTML (Twig)",
"twig"
],
"extensions": [
".twig",
".html.twig"
],
"configuration": "./src/languages/twig.configuration.json"
}
],
"grammars": [
{
"language": "twig",
"scopeName": "text.html.twig",
"path": "./src/syntaxes/twig.tmLanguage",
"embeddedLanguages": {
"source.json": "json",
"source.css": "css",
"source.css.scss": "scss",
"source.js": "javascript",
"source.ts": "typescript"
}
}
],
"snippets": [
{
"language": "twig",
"path": "./src/snippets/snippets.json"
}
],
"configuration": {
"type": "object",
"title": "Twig Language",
"properties": {}
}
},
"capabilities": {
"hoverProvider": "true"
},
"scripts": {
"vscode:prepublish": "npm run build",
"esbuild-base": "rimraf out && esbuild ./src/extension.js --bundle --outfile=out/extension.js --external:vscode --external:prettier --format=cjs --platform=node",
"build": "npm run -S esbuild-base -- --minify",
"watch": "npm run -S esbuild-base -- --sourcemap --watch"
},
"dependencies": {
"prettier": "^2.8.8",
"prettier-plugin-django": "^0.5.15"
},
"devDependencies": {
"@types/node": "^16.18.52",
"@types/prettier": "^2.7.3",
"@types/vscode": "1.43.0",
"esbuild": "^0.14.54",
"rimraf": "^3.0.2"
}
}