-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
214 lines (214 loc) · 7.39 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
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
{
"name": "waldiez-vscode",
"displayName": "Waldiez",
"description": "A Waldiez vscode extension",
"version": "0.3.11",
"engines": {
"vscode": "^1.95.0"
},
"categories": [
"Other"
],
"keywords": [
"ag2",
"waldiez",
"vscode"
],
"license": "Apache-2.0",
"publisher": "Waldiez",
"pricing": "Free",
"icon": "icons/waldiez.png",
"activationEvents": [
"workspaceContains: **/*.waldiez"
],
"extensionDependencies": [
"ms-python.python"
],
"repository": {
"type": "git",
"url": "https://github.com/waldiez/vscode.git"
},
"bugs": {
"url": "https://github.com/waldiez/vscode/issues",
"email": "[email protected]"
},
"main": "./dist/extension.js",
"contributes": {
"languages": [
{
"id": "waldiez",
"aliases": [
"Waldiez",
"waldiez"
],
"extensions": [
".waldiez"
],
"icon": {
"light": "./icons/waldiez.svg",
"dark": "./icons/waldiez.svg"
}
}
],
"customEditors": [
{
"viewType": "waldiez.flow",
"displayName": "Waldiez Flow",
"selector": [
{
"filenamePattern": "*.waldiez"
}
],
"priority": "default"
}
],
"commands": [
{
"command": "waldiez.vscode.toPython",
"title": "[Waldiez] Convert to .py",
"category": "Waldiez"
},
{
"command": "waldiez.vscode.toIpynb",
"title": "[Waldiez] Convert to .ipynb",
"category": "Waldiez"
},
{
"command": "waldiez.vscode.run",
"title": "[Waldiez] Run flow",
"category": "Waldiez"
}
],
"menus": {
"explorer/context": [
{
"command": "waldiez.vscode.toPython",
"when": "resourceFilename =~ /.*\\.waldiez$/",
"group": "navigation"
},
{
"command": "waldiez.vscode.toIpynb",
"when": "resourceFilename =~ /.*\\.waldiez$/",
"group": "navigation"
},
{
"command": "waldiez.vscode.run",
"when": "resourceFilename =~ /.*\\.waldiez$/",
"group": "navigation"
}
]
}
},
"scripts": {
"vscode:prepublish": "yarn run package",
"before:build": "yarn clean:all && yarn monaco",
"build": "yarn before:build && NODE_NO_WARNINGS=1 vsce package --no-yarn && yarn after:build",
"after:build": "node --import=tsx scripts/afterBuild.ts",
"deploy": "yarn before:build && NODE_NO_WARNINGS=1 vsce publish --no-yarn",
"package": "yarn clean && yarn compile:prod",
"watch": "yarn compile:dev --watch",
"lint": "yarn eslint:check && yarn stylelint:check && yarn prettier:check",
"format": "yarn prettier:fix && yarn stylelint:fix && yarn eslint:fix",
"forlint": "yarn format && yarn lint",
"stylelint:fix": "yarn stylelint:check --fix",
"stylelint:check": "stylelint --cache \"src/**/*.css\"",
"prettier:check": "prettier --check src",
"prettier:fix": "prettier --write --list-different src",
"eslint:check": "eslint --report-unused-disable-directives --max-warnings 0 --cache src",
"eslint:fix": "yarn eslint:check --fix",
"compile:dev": "webpack --config webpack.config.ts --mode development",
"compile:prod": "webpack --config webpack.config.ts --mode production",
"compile:tests": "rimraf dist/test && yarn compile:dev && tsc -p src/test",
"clean": "rimraf out dist coverage .nyc_output .stylelintcache .eslintcache",
"clean:webpack_cache": "rimraf .webpack",
"clean:all": "yarn clean && yarn clean:webpack_cache",
"monaco": "node --import=tsx scripts/monaco.ts",
"test": "yarn compile:tests && rimraf .nyc_output && node ./dist/test/runTest.js",
"version:get": "node --import=tsx scripts/version.ts --get",
"version:set": "node --import=tsx scripts/version.ts --set",
"all": "yarn clean:all && yarn forlint && yarn test && yarn build && yarn version:get"
},
"dependencies": {
"@vscode/python-extension": "^1.0.5",
"fs-extra": "^11.3.0"
},
"overrides": {
"ajv": "^8.17.1",
"markdown-it": "^14.1.0"
},
"devDependencies": {
"@babel/core": "^7.26.7",
"@babel/preset-react": "^7.26.3",
"@stylistic/eslint-plugin": "^3.0.1",
"@trivago/prettier-plugin-sort-imports": "^5.2.2",
"@types/babel__core": "^7.20.5",
"@types/fs-extra": "^11.0.4",
"@types/glob": "^8.1.0",
"@types/mocha": "^10.0.10",
"@types/node": "22.12.0",
"@types/react": "^18.3.2 || ^19.0.8",
"@types/react-dom": "^18.3.2 || ^19.0.3",
"@types/sinon": "^17.0.3",
"@types/source-map-support": "^0.5.10",
"@types/tar-stream": "^3.1.3",
"@types/vscode": ">=1.95.0",
"@types/vscode-webview": "^1.57.5",
"@types/webpack-env": "^1.18.8",
"@typescript-eslint/eslint-plugin": "^8.22.0",
"@typescript-eslint/parser": "^8.22.0",
"@vscode/test-cli": "^0.0.10",
"@vscode/test-electron": "^2.4.1",
"@vscode/vsce": "^3.2.2",
"@waldiez/react": "^0.3.11",
"babel-loader": "^9.2.1",
"css-loader": "^7.1.2",
"eslint": "^9.19.0",
"eslint-config-prettier": "^10.0.1",
"eslint-plugin-prettier": "^5.2.3",
"mini-css-extract-plugin": "^2.9.2",
"mocha": "^11.1.0",
"nanoid": "^5.0.9",
"nyc": "^17.1.0",
"pre-commit": "^1.2.2",
"prettier": "^3.4.2",
"react": "^18.3.1 || 19.0.0",
"react-dom": "^18.3.1 || 19.0.0",
"rimraf": "^6.0.1",
"sinon": "^19.0.2",
"source-map-support": "^0.5.21",
"style-loader": "^4.0.0",
"stylelint": "^16.14.1",
"stylelint-config-recommended": "^15.0.0",
"stylelint-config-standard": "^37.0.0",
"stylelint-prettier": "^5.0.3",
"tar-stream": "^3.1.7",
"terser-webpack-plugin": "^5.3.11",
"ts-loader": "^9.5.2",
"ts-node": "^10.9.2",
"tsx": "^4.19.2",
"typescript": "^5.7.3",
"typescript-eslint": "^8.22.0",
"vsce": "^2.15.0",
"vscode-test": "^1.6.1",
"webpack": "^5.97.1",
"webpack-cli": "^6.0.1"
},
"pre-commit": [
"format",
"lint"
],
"packageManager": "[email protected]",
"stylelint": {
"extends": [
"stylelint-config-recommended",
"stylelint-config-standard",
"stylelint-prettier/recommended"
],
"rules": {
"property-no-vendor-prefix": null,
"selector-class-pattern": "^([a-z][A-z\\d]*)(-[A-z\\d]+)*$",
"selector-no-vendor-prefix": null,
"value-no-vendor-prefix": null
}
}
}