-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
112 lines (112 loc) · 2.8 KB
/
Copy pathpackage.json
File metadata and controls
112 lines (112 loc) · 2.8 KB
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
{
"name": "pydata-viewer",
"displayName": "PyData Viewer",
"description": "View Python data files in a custom read-only viewer.",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/wcong/PyDataViewer"
},
"version": "0.0.1",
"engines": {
"vscode": "^1.110.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onCommand:pklviewer.openPkl",
"onCustomEditor:pklviewer.viewer"
],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "pklviewer.openPkl",
"title": "PyData Viewer: Open File"
}
],
"menus": {
"explorer/context": [
{
"command": "pklviewer.openPkl",
"when": "resourceScheme == file",
"group": "navigation"
}
],
"editor/context": [
{
"command": "pklviewer.openPkl",
"when": "resourceScheme == file",
"group": "navigation"
}
]
},
"customEditors": [
{
"viewType": "pklviewer.viewer",
"displayName": "PyData Viewer",
"selector": [
{
"filenamePattern": "*.pkl"
},
{
"filenamePattern": "*.h5"
},
{
"filenamePattern": "*.hdf5"
},
{
"filenamePattern": "*.hdf"
}
]
}
],
"configuration": {
"title": "PyData Viewer",
"properties": {
"pklviewer.pythonPath": {
"type": "string",
"default": "python",
"description": "Python executable used to decode data files."
},
"pklviewer.condaPythonPath": {
"type": "string",
"default": "",
"description": "Absolute path to the conda environment python executable. When set, this overrides pklviewer.pythonPath."
},
"pklviewer.maxOutputBytes": {
"type": "number",
"default": 5242880,
"minimum": 102400,
"description": "Maximum bytes of decoded JSON allowed from Python."
},
"pklviewer.maxDepth": {
"type": "number",
"default": 8,
"minimum": 1,
"maximum": 20,
"description": "Maximum depth when expanding objects in the viewer."
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && npm run lint",
"lint": "eslint src",
"test": "vscode-test"
},
"devDependencies": {
"@types/vscode": "^1.110.0",
"@types/mocha": "^10.0.10",
"@types/node": "22.x",
"typescript-eslint": "^8.56.1",
"eslint": "^9.39.3",
"typescript": "^5.9.3",
"@vscode/test-cli": "^0.0.12",
"@vscode/test-electron": "^2.5.2"
}
}