-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
108 lines (108 loc) · 3.01 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
{
"name": "peptide",
"displayName": "Peptide: Python Interactive Programming",
"description": "(early development) CIDER/SLIME-like REPL-driven programming for Python",
"version": "0.1.4",
"publisher": "tysg",
"repository": {
"type": "git",
"url": "https://github.com/tysg/peptide.git"
},
"engines": {
"vscode": "^1.63.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onLanguage:python",
"onCommand:peptide.connectJupyterServerURI"
],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"category": "Peptide",
"command": "peptide.evalTopLevelStmt",
"title": "Evaluate Top Level Statement",
"enablement": "editorLangId == python && peptide.isJupyterConnected"
},
{
"category": "Peptide",
"command": "peptide.evalCurrentFile",
"title": "Evaluate the Current File",
"enablement": "editorLangId == python && peptide.isJupyterConnected"
},
{
"category": "Peptide",
"command": "peptide.evalPrecedingForm",
"title": "Evaluate Preceding Form",
"enablement": "editorLangId == python && peptide.isJupyterConnected"
},
{
"category": "Peptide",
"command": "peptide.connectJupyterServerURI",
"title": "Connect to a Running Jupyter Server",
"enablement": "editorLangId == python"
},
{
"category": "Peptide",
"command": "peptide.clearInlineEvalResult",
"title": "Clear Inline Evaluation Result",
"enablement": "editorLangId == python && peptide.isJupyterConnected"
}
],
"keybindings": [
{
"command": "peptide.evalTopLevelStmt",
"key": "alt+enter",
"when": "editorLangId == python && editorTextFocus && peptide.isJupyterConnected"
},
{
"command": "peptide.evalCurrentFile",
"key": "ctrl+alt+enter",
"when": "editorLangId == python && editorTextFocus && peptide.isJupyterConnected"
},
{
"command": "peptide.evalPrecedingForm",
"key": "ctrl+enter",
"when": "editorLangId == python && editorTextFocus && peptide.isJupyterConnected"
},
{
"command": "peptide.clearInlineEvalResult",
"key": "shift+escape",
"when": "editorLangId == python && editorTextFocus && peptide.isJupyterConnected"
}
]
},
"scripts": {
"vscode:prepublish": "yarn run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "yarn run compile && yarn run lint",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js",
"unit-test": "yarn pretest && node ./out/test/unit_tests/index.js"
},
"devDependencies": {
"@types/glob": "^7.1.4",
"@types/mocha": "^9.0.0",
"@types/node": "14.x",
"@types/vscode": "^1.63.0",
"@typescript-eslint/eslint-plugin": "^5.1.0",
"@typescript-eslint/parser": "^5.1.0",
"@vscode/test-electron": "^1.6.2",
"eslint": "^8.1.0",
"glob": "^7.1.7",
"mocha": "^9.1.3",
"prettier-eslint": "^13.0.0",
"tree-sitter-cli": "^0.20.1",
"tree-sitter-python": "^0.19.0",
"typescript": "^4.4.4",
"vsce": "^2.6.3"
},
"dependencies": {
"@jupyterlab/services": "^6.2.5",
"web-tree-sitter": "^0.19.4"
}
}