-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
76 lines (76 loc) · 2.5 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
{
"name": "vscode-hexagonal",
"displayName": "vscode-hexagonal",
"description": "Template for hexagonal architecture in VS Code Plugins.",
"packageManager": "[email protected]",
"version": "0.0.1",
"engines": {
"vscode": "^1.81.0"
},
"categories": [
"Other"
],
"activationEvents": [],
"main": "./dist/main.js",
"contributes": {
"customEditors": [
{
"viewType": "vscode-hexagonal.editor",
"displayName": "Hexagonal Editor",
"selector": [
{
"filenamePattern": "*.hexagon"
}
]
}
],
"commands": [
{
"command": "vscode-hexagonal.toggleTextEditor",
"title": "Toggle Text Editor",
"icon": "$(notebook-mimetype)"
}
],
"menus": {
"editor/title": [
{
"command": "vscode-hexagonal.toggleTextEditor",
"group": "navigation",
"when": "activeWebviewPanelId == 'vscode-hexagonal.editor'"
}
]
}
},
"scripts": {
"vscode:prepublish": "yarn compile",
"compile": "yarn tsc -p ./",
"pretest": "yarn compile && yarn lint",
"lint": "yarn eslint src --ext ts",
"test": "yarn node ./out/test/runTest.js",
"base:esbuild": "yarn esbuild ./src/extension.ts --bundle --outfile=dist/main.js --external:vscode --format=cjs --platform=node",
"base:vite": "yarn vite build --config src/webview/vite.config.js",
"build": "yarn base:esbuild --minify && yarn base:vite --minify esbuild",
"dev": "yarn conc -c \"cyan,yellow\" \"yarn base:esbuild --sourcemap --watch\" \"yarn base:vite --sourcemap true --watch\""
},
"devDependencies": {
"@types/mocha": "^10.0.1",
"@types/node": "16.x",
"@types/vscode": "^1.81.0",
"@types/vscode-webview": "^1.57.2",
"@typescript-eslint/eslint-plugin": "^6.4.1",
"@typescript-eslint/parser": "^6.4.1",
"@vscode/test-electron": "^2.3.4",
"concurrently": "8.2.1",
"esbuild": "0.19.2",
"eslint": "^8.47.0",
"glob": "^10.3.3",
"mocha": "^10.2.0",
"prettier": "3.0.3",
"typescript": "^5.1.6",
"vite": "4.4.9"
},
"dependencies": {
"reflect-metadata": "^0.1.13",
"tsyringe": "^4.8.0"
}
}