-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
141 lines (141 loc) · 4.4 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
{
"name": "plt-snippet",
"displayName": "Matplotlib Pilot (Chinese)",
"description": "提供Matplotlib代码片段、模板等工具",
"icon": "media/matplotlibpilot.t.logo.png",
"version": "0.0.32",
"publisher": "litchi",
"engines": {
"vscode": "^1.72.0"
},
"categories": [
"Data Science",
"Visualization",
"Education"
],
"keywords": [
"matplotlib",
"snippet",
"template",
"jupyter notebook",
"matplotlib style"
],
"activationEvents": [],
"main": "./dist/extension.js",
"contributes": {
"viewsContainers": {
"activitybar": [
{
"id": "sidebar_plt",
"title": "Matplotlib Pilot Chinese",
"icon": "media/matplotlibpilot.logo.svg"
}
]
},
"views": {
"sidebar_plt": [
{
"type": "webview",
"id": "pltSidebarView",
"name": "main",
"dataProvider": "pltSidebarProvider"
}
]
},
"dataProviders": [
{
"id": "pltSidebarProvider",
"provides": "pltSidebarView"
}
],
"commands": [
{
"command": "plt-snippet.loadtxt",
"category": "MPC",
"title": "loadtxt"
},
{
"command": "plt-snippet.load",
"category": "MPC",
"title": "load"
},
{
"command": "plt-snippet.defineCustomTemplate",
"category": "MPC",
"title": "define custom template"
},
{
"command": "plt-snippet.modifySidebar",
"category": "MPC",
"title": "modify sidebar"
},
{
"command": "plt-snippet.refreshSidebar",
"category": "MPC",
"title": "refresh sidebar"
}
],
"configuration": {
"title": "Matplotlib Pilot Chinese",
"properties": {
"plt-snippet.customTemplateHtml": {
"type": "string",
"default": "",
"description": "自定义模板网页路径"
},
"plt-snippet.commentWhenClick": {
"type": "boolean",
"default": false,
"description": "单击按钮粘贴使用带有注释的代码片段"
},
"plt-snippet.commentWhenDoubleClick": {
"type": "boolean",
"default": true,
"description": "双击按钮粘贴使用带有注释的代码片段"
},
"plt-snippet.tutorialBotton": {
"type": "boolean",
"default": false,
"description": "是否显示教程按钮(重启生效)"
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run package",
"compile": "webpack",
"watch": "webpack --watch",
"package": "webpack --mode production --devtool hidden-source-map",
"compile-tests": "tsc -p . --outDir out",
"watch-tests": "tsc -p . -w --outDir out",
"pretest": "npm run compile-tests && npm run compile && npm run lint",
"lint": "eslint src --ext ts",
"test": "vscode-test"
},
"devDependencies": {
"@babel/core": "^7.24.5",
"@babel/preset-env": "^7.24.5",
"@types/mocha": "^10.0.6",
"@types/node": "^18.19.50",
"@types/vscode": "^1.72.0",
"@typescript-eslint/eslint-plugin": "^7.4.0",
"@typescript-eslint/parser": "^7.4.0",
"@vscode/test-cli": "^0.0.8",
"@vscode/test-electron": "^2.3.9",
"babel-loader": "^9.1.3",
"copy-webpack-plugin": "^12.0.2",
"eslint": "^8.57.0",
"ts-loader": "^9.5.1",
"typescript": "^5.3.3",
"webpack": "^5.91.0",
"webpack-cli": "^5.1.4"
},
"repository": {
"type": "git",
"url": "https://github.com/openlitchi/Matplotlib-Pilot-Chinese"
},
"dependencies": {
"cheerio": "^1.0.0-rc.12",
"json5": "^2.2.3"
}
}