-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
100 lines (100 loc) · 3.25 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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
{
"name": "kivy-vscode",
"displayName": "Kivy",
"description": "Kivy language support for Visual Studio Code.",
"version": "0.5.5",
"publisher": "BattleBas",
"license": "MIT",
"icon": "icon.png",
"engines": {
"vscode": "^1.25.0"
},
"categories": [
"Programming Languages"
],
"repository": {
"type": "git",
"url": "https://github.com/BattleBas/kivy-vscode"
},
"activationEvents": [
"onLanguage:kivy"
],
"main": "./src/client/out/src/client/src/extension",
"contributes": {
"configuration": {
"type": "object",
"title": "TypeScript configuration",
"properties": {
"kivy.requireKivyHeader": {
"type": "boolean",
"default": true,
"description": "Toggle if Kivy header (#:kivy) is required, if false then no issue will be reported if missing."
}
}
},
"languages": [
{
"id": "kivy",
"aliases": [
"kivy",
"kv"
],
"extensions": [
".kv"
],
"configuration": "./language-configuration.json"
}
],
"grammars": [
{
"language": "kivy",
"scopeName": "source.kv",
"path": "./syntaxes/kv.tmLanguage.json"
},
{
"injectTo": [
"source.python"
],
"scopeName": "styled",
"path": "./syntaxes/kv.json",
"embeddedLanguages": {
"source.kv": "kv"
}
}
],
"snippets": [
{
"language": "kivy",
"path": "./snippets/ux_widgets.json"
},
{
"language": "kivy",
"path": "./snippets/layouts.json"
},
{
"language": "kivy",
"path": "./snippets/complex_ux_widgets.json"
},
{
"language": "kivy",
"path": "./snippets/behaviour_widgets.json"
}
]
},
"scripts": {
"postinstall": "cd src/server && npm install && cd ../client && npm install",
"compile": "tsc -p src/client/tsconfig.json && cd src/server && npm run installServer && cd ../.. && tsc -p src/server/tsconfig.json",
"vscode:prepublish": "tsc -p src/client/tsconfig.json && cd src/server && npm run installServer && cd ../.. && tsc -p src/server/tsconfig.json",
"compile:client": "tsc -p src/client/tsconfig.json",
"watch:client": "tsc -w -p src/client/tsconfig.json",
"compile:server": "cd src/server && npm run installServer && cd ../.. && tsc -p src/server/tsconfig.json",
"watch:server": "cd src/server && npm run installServer && cd ../.. && tsc -w -p src/server/tsconfig.json",
"test": "cd src/client && npm test"
},
"devDependencies": {
"@types/chai": "^4.3.16",
"@types/mocha": "^10.0.6",
"@types/node": "^20.14.2",
"typescript": "^5.4.5"
}
}