-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
109 lines (109 loc) · 2.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
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
{
"name": "vscode-forester",
"displayName": "vscode-forester",
"description": "Basic support for forester",
"repository": "github:Trebor-Huang/vscode-forester",
"publisher": "treborhuang",
"version": "0.0.6",
"engines": {
"vscode": "^1.86.0"
},
"markdown": "github",
"icon": "resources/Forester.png",
"categories": [
"Programming Languages"
],
"activationEvents": [],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "forester.new",
"title": "New Tree...",
"category": "Forester",
"icon": "$(diff-added)"
}
],
"configuration": {
"title": "Forester",
"properties": {
"forester.config": {
"type": "string",
"default": "",
"markdownDescription": "Specifies the forester config file (defaults to `forest.toml`). This should usually be edited per workspace, instead of globally."
},
"forester.path": {
"type": "string",
"default": "forester",
"description": "Specifies the path to forester. Note that VSCode usually does not inherit the shell PATH variable."
},
"forester.completion.showID": {
"type": "boolean",
"default": false,
"description": "Controls whether the tree ID is shown in completions."
},
"forester.create.random": {
"type": "boolean",
"default": false,
"description": "Controls whether the tree ID is generated randomly or sequentially."
}
}
},
"configurationDefaults": {
"[forester]": {
"editor.wordWrap": "on",
"editor.tabSize": 2
}
},
"languages": [
{
"id": "forester",
"extensions": [
".tree"
],
"configuration": "./resources/language/language-configuration.json"
}
],
"grammars": [
{
"language": "forester",
"scopeName": "source.forester",
"path": "./resources/language/forester.tmGrammar.json",
"embeddedLanguages": {
"embedded.latex": "latex"
}
}
],
"menus": {
"explorer/context": [
{
"command": "forester.new",
"when": "explorerResourceIsFolder",
"group": "navigation"
}
]
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && npm run lint",
"lint": "eslint src --ext ts",
"test": "vscode-test"
},
"devDependencies": {
"@types/mocha": "^10.0.6",
"@types/node": "18.x",
"@types/vscode": "^1.86.0",
"@typescript-eslint/eslint-plugin": "^6.19.1",
"@typescript-eslint/parser": "^6.19.1",
"@vscode/test-cli": "^0.0.4",
"@vscode/test-electron": "^2.3.9",
"eslint": "^8.56.0",
"typescript": "^5.3.3"
},
"dependencies": {
"js-toml": "^1.0.0"
}
}