-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
138 lines (138 loc) · 3.76 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
{
"name": "ssr4html",
"displayName": "SSR4html",
"description": "Structural Search and Replace for HTML files",
"icon": "resources/icons/extension-icon.png",
"version": "1.1.0",
"publisher": "provenbt",
"license": "SEE LICENSE IN LICENSE.md",
"repository": {
"type": "git",
"url": "https://github.com/provenbt/SSR4html"
},
"author": {
"name": "PROVEN Information Technologies"
},
"engines": {
"vscode": "^1.69.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onCommand:ssr4html.launchUI&closeUI",
"onCommand:ssr4html.formatFiles",
"onCommand:ssr4html.searchInFiles",
"onCommand:ssr4html.searchInFile",
"onCommand:ssr4html.replaceInFiles",
"onCommand:ssr4html.replaceInFile",
"onCommand:ssr4html.revertChanges"
],
"main": "./dist/extension",
"contributes": {
"commands": [
{
"command": "ssr4html.launchUI&closeUI",
"title": "Structural Search and Replace Panel"
},
{
"command": "ssr4html.formatFiles",
"title": "Format HTML Files"
},
{
"command": "ssr4html.searchInFiles",
"title": "Structural Search in All Files"
},
{
"command": "ssr4html.searchInFile",
"title": "Structural Search in Current File"
},
{
"command": "ssr4html.replaceInFiles",
"title": "Structural Replace in All Files"
},
{
"command": "ssr4html.replaceInFile",
"title": "Structural Replace in Current File"
},
{
"command": "ssr4html.revertChanges",
"title": "Revert Changes"
}
],
"keybindings": [
{
"command": "ssr4html.launchUI&closeUI",
"key": "ctrl+1"
}
],
"menus": {
"commandPalette": [
{
"command": "ssr4html.searchInFiles",
"when": "false"
},
{
"command": "ssr4html.searchInFile",
"when": "false"
},
{
"command": "ssr4html.replaceInFiles",
"when": "false"
},
{
"command": "ssr4html.replaceInFile",
"when": "false"
},
{
"command": "ssr4html.revertChanges",
"when": "false"
}
]
},
"configuration": {
"type": "object",
"title": "SSR4html",
"properties": {
"ssr4html.autoFormat": {
"type": "boolean",
"default": false,
"description": "Auto-format HTML files on the activation of the extension"
}
}
}
},
"scripts": {
"postinstall": "npx patch-package",
"vscode:prepublish": "npm run esbuild-base -- --minify",
"esbuild-base": "esbuild src/extension.ts --bundle --outdir=dist --external:vscode --external:canvas --format=cjs --platform=node",
"esbuild": "npm run esbuild-base -- --sourcemap",
"esbuild-watch": "npm run esbuild-base -- --sourcemap --watch",
"lint": "eslint src --ext ts",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"test": "playwright test",
"test:chromium": "playwright test --project=chromium --workers=1",
"test:debug": "set PWDEBUG=1 && npm run test:chromium",
"test:report": "playwright show-report",
"vscode-debug": "playwright test --config ./playwright.config.ts",
"deploy": "vsce publish"
},
"devDependencies": {
"@playwright/test": "^1.28.1",
"@types/node": "16.x",
"@types/vscode": "^1.69.0",
"@typescript-eslint/eslint-plugin": "^5.31.0",
"@typescript-eslint/parser": "^5.31.0",
"@vscode/vsce": "^2.16.0",
"esbuild": "^0.15.15",
"eslint": "^8.20.0",
"typescript": "^4.7.4"
},
"dependencies": {
"@vscode/webview-ui-toolkit": "^1.2.0",
"jsdom": "^20.0.0",
"pretty": "^2.0.0",
"selector-2-regexp": "^1.0.0"
}
}