This repository has been archived by the owner on Sep 16, 2020. It is now read-only.
forked from ziglang/vscode-zig
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
97 lines (97 loc) · 3.03 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
{
"name": "zig",
"displayName": "Zig",
"description": "Language support for the Zig programming language",
"version": "0.1.0",
"publisher": "andersfr",
"icon": "images/zig-icon.png",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/andersfr/vscode-zig"
},
"engines": {
"vscode": "^1.37.0"
},
"categories": [
"Programming Languages"
],
"activationEvents": [
"onLanguage:zig"
],
"main": "./out/extension",
"contributes": {
"languages": [
{
"id": "zig",
"extensions": [
".zig"
],
"configuration": "./language-configuration.json"
}
],
"grammars": [
{
"language": "zig",
"scopeName": "source.zig",
"path": "./syntaxes/zig.tmLanguage.json"
}
],
"configuration": {
"type": "object",
"title": "zig",
"properties": {
"zig.buildOption": {
"type": "string",
"default": "build",
"enum": [
"build",
"build-exe",
"build-lib",
"build-obj"
],
"description": "Which build command Zig should use to build the code."
},
"zig.buildArgs": {
"type": "array",
"items": {
"type": "string"
},
"default": [],
"description": "Extra arguments to passed to Zig."
},
"zig.buildFilePath": {
"type": "string",
"default": "${workspaceFolder}/build.zig",
"description": "The path to build.zig. This is only required if zig.buildOptions = build."
},
"zig.zigPath": {
"type": "string",
"default": null,
"description": "Set a custom path to the Zig binary. Defaults to 'zig' in your PATH."
},
"zig.revealOutputChannelOnFormattingError": {
"type": "boolean",
"default": true,
"description": "Should output channel be reaised on formatting error."
}
}
}
},
"dependencies": {
"vscode-languageclient": "^5.2.1"
},
"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": {
"@types/mocha": "^2.2.48",
"@types/node": "^7.0.67",
"typescript": "^2.9.2",
"vscode": "^1.1.33"
}
}