-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
executable file
·93 lines (93 loc) · 2.31 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
{
"name": "databricks-notebook-runner",
"displayName": "Databricks Notebook Runner",
"description": "Run Databricks notebooks in Visual Studio Code",
"version": "0.0.2",
"publisher": "r3stl355",
"repository": "https://github.com/r3stl355/databricks-notebook-runner.git",
"icon": "images/legs.png",
"engines": {
"vscode": "^1.78.0"
},
"categories": [
"Notebooks"
],
"activationEvents": [
"onNotebook:db-notebook"
],
"main": "./out/extension.js",
"contributes": {
"languages": [
{
"id": "run",
"aliases": [
"Run (magic)"
]
},
{
"id": "remote-sh",
"aliases": [
"Remote Shell (magic)"
]
},
{
"id": "fs",
"aliases": [
"dbutils (fs)"
]
}
],
"notebooks": [
{
"id": "db-notebook",
"type": "db-notebook",
"displayName": "Databricks Notebook",
"selector": [
{
"filenamePattern": "*.py"
}
]
}
],
"configuration": [
{
"type": "object",
"title": "DatabricksNotebookRunner",
"properties": {
"dbNotebook.pythonEnvActivationCommand": {
"type": "string",
"description": "Custom Python environment activation command (must have Databricks Connect installed)",
"default": "export DATABRICKS_CONFIG_PROFILE=db-notebook-runner && workon db_connect_env"
},
"dbNotebook.showPythonRepl": {
"type": "boolean",
"description": "Show/hide the Python REPL",
"default": false
}
}
}
]
},
"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.78.0",
"@types/glob": "^8.1.0",
"@types/mocha": "^10.0.1",
"@types/node": "16.x",
"@typescript-eslint/eslint-plugin": "^5.59.1",
"@typescript-eslint/parser": "^5.59.1",
"eslint": "^8.39.0",
"glob": "^8.1.0",
"mocha": "^10.2.0",
"ts-mockito": "^2.6.1",
"typescript": "^5.0.4",
"@vscode/test-electron": "^2.3.0"
}
}