-
Notifications
You must be signed in to change notification settings - Fork 27
/
package.json
executable file
·145 lines (145 loc) · 3.81 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
139
140
141
142
143
144
145
{
"name": "neuron-IPE",
"displayName": "neuron",
"description": "Interactive Programming Experience for Data Scientists",
"version": "1.0.4",
"license": "MIT",
"repository": "https://github.com/neuron-team/vscode-ipe",
"publisher": "neuron",
"engines": {
"vscode": "^1.23.0"
},
"categories": [
"Other"
],
"keywords": [
"python",
"jupyter",
"ipython",
"data science",
"r"
],
"icon": "logo.png",
"activationEvents": [
"onCommand:ipe.showWebview",
"onLanguage:python",
"onLanguage:r"
],
"main": "./out/extension",
"contributes": {
"commands": [
{
"command": "ipe.showWebview",
"title": "Open Output Pane",
"category": "IPE",
"icon": {
"light": "/src-backend/media/light_browser.svg",
"dark": "/src-backend/media/dark_browser.svg"
}
},
{
"command": "ipe.fullSetup",
"title": "Open Output Pane with Existing Jupyter Notebook",
"category": "IPE"
},
{
"command": "ipe.newCard",
"title": "Send Code to Output Pane",
"category": "IPE"
},
{
"command": "ipe.exportToJupyter",
"title": "Export to Jupyter",
"category": "IPE"
},
{
"command": "ipe.restartKernels",
"title": "Restart Active Kernels",
"category": "IPE"
},
{
"command": "ipe.importNotebook",
"title": "Import Jupyter Notebook",
"category": "IPE"
}
],
"keybindings": [
{
"command": "ipe.showWebview",
"key": "ctrl+k ctrl+v",
"mac": "cmd+k cmd+v",
"when": "editorLangId == python"
},
{
"command": "ipe.showWebview",
"key": "ctrl+k ctrl+v",
"mac": "cmd+k cmd+v",
"when": "editorLangId == r"
},
{
"command": "ipe.newCard",
"key": "alt+enter",
"when": "editorFocus && editorLangId == python"
},
{
"command": "ipe.newCard",
"key": "alt+enter",
"when": "editorFocus && editorLangId == r"
}
],
"menus": {
"editor/title": [
{
"when": "editorLangId == python",
"command": "ipe.showWebview",
"group": "navigation"
},
{
"when": "editorLangId == r",
"command": "ipe.showWebview",
"group": "navigation"
}
],
"editor/context": [
{
"when": "editorHasSelection && editorLangId == python",
"command": "ipe.newCard",
"group": "Python"
},
{
"when": "editorHasSelection && editorLangId == r",
"command": "ipe.newCard",
"group": "Python"
}
]
}
},
"scripts": {
"clean": "shx rm -rf html/ out/",
"vscode:prepublish": "npm run publish",
"publish": "npm run compile-frontend && npm run compile-backend",
"build-types": "npm install ./src-common",
"compile-frontend": "cd src-frontend && npm run build",
"watch-frontend": "npm run build-types && cd src-frontend && npm run watch",
"compile-backend": "tsc -p ./",
"watch-backend": "tsc -watch -p ./",
"compile": "npm run build-types && npm run compile-frontend && npm run compile-backend",
"watch": "npm run build-types && npm run watch-backend",
"postinstall": "node ./node_modules/vscode/bin/install",
"test": "npm run compile && node ./node_modules/vscode/bin/test",
"test-frontend": "cd src-frontend && npm run test"
},
"devDependencies": {
"@types/mocha": "^2.2.42",
"@types/node": "^7.0.43",
"shx": "^0.2.2",
"typescript": "^2.6.1",
"vscode": "^1.1.6"
},
"dependencies": {
"@jupyterlab/services": "^2.0.3",
"ansi_up": "^3.0.0",
"child-process": "^1.0.2",
"neuron-ipe-types": "file:src-common"
}
}