-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
138 lines (138 loc) · 4.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
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
128
129
130
131
132
133
134
135
136
137
138
{
"name": "runner2",
"displayName": "Haskell Runner 2",
"description": "Shortcut for GHCi and Stack",
"publisher": "Meowcolm024",
"version": "0.3.0",
"license": "BSD3",
"icon": "images/hr2.png",
"engines": {
"vscode": "^1.72.0"
},
"repository": {
"type": "git",
"url": "https://github.com/Meowcolm024/haskell-runner-2"
},
"categories": [
"Other",
"Programming Languages"
],
"activationEvents": [
"onLanguage:haskell",
"onLanguage:literate haskell",
"onLanguage:cabal",
"workspaceContains:stack.yaml",
"workspaceContains:*.cabal"
],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "runner2.ghci",
"title": "Load GHCi",
"category": "Haskell Runner 2"
},
{
"command": "runner2.hstest",
"title": "Haskell Run Tests",
"category": "Haskell Runner 2"
},
{
"command": "runner2.hsbuild",
"title": "Haskell Build Project",
"category": "Haskell Runner 2"
},
{
"command": "runner2.hsrun",
"title": "Haskell Run Executable",
"category": "Haskell Runner 2"
},
{
"command": "runner2.sendGhci",
"title": "Send to GHCi",
"category": "Haskell Runner 2"
}
],
"configuration": {
"title": "Haskell Runner 2",
"properties": {
"runner2.ghciPath": {
"type": "string",
"default": "ghci",
"description": "Path to GHCi"
},
"runner2.stackPath": {
"type": "string",
"default": "stack",
"description": "Path to stack executable"
},
"runner2.cabalPath": {
"type": "string",
"default": "cabal",
"description": "Path to cabal executable"
},
"runner2.replTool": {
"type": "string",
"enum": [
"default",
"ghci",
"stack",
"cabal"
],
"default": "default",
"description": "Decide when to use stack/cabal repl instead of GHCi"
},
"runner2.showRunButton": {
"type": "boolean",
"default": false,
"description": "Show stack/cabal run button"
}
}
},
"menus": {
"editor/context": [
{
"when": "resourceLangId == haskell",
"command": "runner2.sendGhci",
"group": "z_commands"
}
],
"commandPalette": [
{
"command": "runner2.sendGhci",
"when": "resourceLangId == haskell"
}
]
},
"keybindings": [
{
"command": "runner2.sendGhci",
"key": "ctrl+alt+right",
"mac": "ctrl+alt+right",
"linux": "ctrl+alt+right",
"when": "resourceLangId == haskell"
}
]
},
"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": "node ./out/test/runTest.js"
},
"devDependencies": {
"@types/vscode": "^1.72.0",
"@types/glob": "^7.2.0",
"@types/mocha": "^9.1.0",
"@types/node": "14.x",
"@typescript-eslint/eslint-plugin": "^5.16.0",
"@typescript-eslint/parser": "^5.16.0",
"eslint": "^8.11.0",
"glob": "^7.2.0",
"mocha": "^9.2.2",
"typescript": "^4.5.5",
"@vscode/test-electron": "^2.1.3"
}
}