-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
127 lines (127 loc) · 3.01 KB
/
package.json
File metadata and controls
127 lines (127 loc) · 3.01 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
{
"name": "vscode-django-support",
"displayName": "Django Template Support",
"description": "📍formatter, django template support, highlight, format, prettier, auto-complete",
"author": "junstyle",
"license": "MIT",
"version": "1.0.35",
"repository": {
"type": "git",
"url": "https://github.com/junstyle/vscode-django-support"
},
"icon": "logo.png",
"publisher": "junstyle",
"categories": [
"Programming Languages",
"Snippets",
"Formatters"
],
"keywords": [],
"engines": {
"vscode": "^1.43.0"
},
"activationEvents": [
"onLanguage:django-html",
"onLanguage:django-txt"
],
"main": "./out/extension",
"contributes": {
"commands": [
{
"command": "extension.Message",
"title": "Message"
}
],
"languages": [
{
"id": "django-html",
"aliases": [
"Django HTML",
"django"
],
"extensions": [
".django",
".dj"
],
"filenamePatterns": [
"**/templates/**/*.html"
],
"firstLine": "{%",
"configuration": "./language-configuration.json"
},
{
"id": "django-txt",
"aliases": [
"Django txt"
],
"filenamePatterns": [
"**/templates/**/*"
],
"firstLine": "{%",
"configuration": "./language-configuration.json"
}
],
"grammars": [
{
"language": "django-html",
"scopeName": "text.html.django",
"path": "./syntaxes/django-html.tmLanguage.json"
},
{
"language": "django-txt",
"scopeName": "text.django",
"path": "./syntaxes/django-txt.tmLanguage.json"
}
],
"snippets": [
{
"language": "django-html",
"path": "./snippets/tags.json"
},
{
"language": "django-html",
"path": "./snippets/filters.json"
},
{
"language": "django-txt",
"path": "./snippets/tags.json"
},
{
"language": "django-txt",
"path": "./snippets/filters.json"
}
],
"configurationDefaults": {
"[django-html]": {
"editor.quickSuggestions": {
"other": true,
"comments": true,
"strings": true
}
}
},
"configuration": {
"type": "object",
"title": "Django Support",
"properties": {}
}
},
"scripts": {
"vscode:prepublish": "npm run build",
"esbuild-base": "rimraf out && esbuild ./src/extension.ts --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.18"
},
"devDependencies": {
"@types/node": "^16.18.52",
"@types/prettier": "^2.7.3",
"@types/vscode": "1.43.0",
"esbuild": "^0.14.54",
"rimraf": "^5.0.7",
"typescript": "^4.9.5"
}
}