-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
142 lines (142 loc) · 3.79 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
{
"name": "switch-vscode",
"displayName": "switch-vscode",
"publisher": "switch-model",
"description": "",
"version": "0.0.1",
"engines": {
"vscode": "^1.70.0"
},
"categories": [
"Other"
],
"activationEvents": [
"workspaceContains:options.txt"
],
"main": "./out/extension.js",
"extensionDependencies": [
"ms-python.python"
],
"contributes": {
"customEditors": [
{
"viewType": "switch.csv-viewer",
"displayName": "CSV Viewer",
"selector": [
{
"filenamePattern": "*.csv"
}
]
}
],
"views": {
"switchView": [
{
"type": "webview",
"id": "switch.scenario",
"name": "Scenario"
},
{
"type": "webview",
"id": "switch.inputs",
"name": "Inputs"
},
{
"type": "webview",
"id": "switch.outputs",
"name": "Outputs"
},
{
"type": "webview",
"id": "switch.modules",
"name": "Modules"
},
{
"type": "webview",
"id": "switch.solver",
"name": "Solver"
}
],
"switchRunningSolvers": [
{
"type": "webview",
"id": "switch.solver-tab",
"name": "Running Solvers"
}
]
},
"viewsContainers": {
"activitybar": [
{
"icon": "resources/switch.svg",
"id": "switchView",
"title": "Switch Model"
}
],
"panel": [
{
"icon": "resources/switch.svg",
"id": "switchRunningSolvers",
"title": "Running Solvers"
}
]
},
"configuration": {
"title": "Switch",
"properties": {
"switch.preferredExecutableLocation": {
"type": "string",
"description": "location of the switch application to use by the extension. Should end with a / or \\. Leave the field empty if usage from conda or PATH is desired.",
"format": "^.*(\\\\|/)$"
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run package",
"compile": "tsc",
"package": "npm run copy:codicons && npm run compile && npm run tailwind && npm run bundle",
"bundle": "node esbuild.mjs",
"watch": "npm run copy:codicons && concurrently -c yellow,red -n tailwind,bundle \"npm run tailwind -- --watch\" \"npm run bundle -- --watch\"",
"lint": "eslint src --ext ts",
"test": "vitest",
"tailwind": "tailwindcss -i ./src/webview/main.css -o ./out/webview/main.css",
"copy:codicons": "shx cp ./node_modules/@vscode/codicons/dist/codicon.css ./node_modules/@vscode/codicons/dist/codicon.ttf ./out/webview/"
},
"dependencies": {
"@vscode/codicons": "^0.0.33",
"@vscode/webview-ui-toolkit": "^1.2.2",
"async-mutex": "^0.4.0",
"chevrotain": "10.4.2",
"inversify": "^6.0.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"reflect-metadata": "^0.1.13",
"terminate": "^2.6.1",
"vscode-messenger": "^0.4.5",
"vscode-messenger-common": "^0.4.5",
"vscode-messenger-webview": "^0.4.5",
"xlsx": "https://cdn.sheetjs.com/xlsx-0.20.0/xlsx-0.20.0.tgz"
},
"devDependencies": {
"@types/glob": "^8.1.0",
"@types/lodash": "^4.14.198",
"@types/node": "20.2.5",
"@types/react": "^18.2.21",
"@types/react-dom": "^18.2.7",
"@types/vscode": "^1.70.0",
"@types/vscode-webview": "^1.57.2",
"@typescript-eslint/eslint-plugin": "^5.59.8",
"@typescript-eslint/parser": "^5.59.8",
"@vscode/test-electron": "^2.3.2",
"concurrently": "^8.2.1",
"esbuild": "^0.19.2",
"eslint": "^8.41.0",
"glob": "^8.1.0",
"lodash": "4.17.21",
"shx": "^0.3.4",
"tailwindcss": "^3.3.3",
"typescript": "^5.1.3",
"vitest": "~0.34.2"
}
}