-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
176 lines (176 loc) · 4.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
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
{
"name": "toggler",
"displayName": "Toggler",
"description": "Toggle words and symbols",
"version": "0.7.0",
"publisher": "hideoo",
"author": "HiDeoo",
"license": "SEE LICENSE IN LICENSE.md",
"engines": {
"vscode": "^1.74.0"
},
"categories": [
"Other"
],
"keywords": [
"toggle",
"words",
"symbols",
"cursor",
"selection"
],
"icon": "images/icon.png",
"repository": {
"type": "git",
"url": "https://github.com/HiDeoo/toggler-vscode"
},
"bugs": {
"url": "https://github.com/HiDeoo/toggler-vscode/issues"
},
"contributors": [],
"homepage": "https://github.com/HiDeoo/toggler-vscode",
"galleryBanner": {
"color": "#7a8194",
"theme": "dark"
},
"badges": [
{
"url": "https://github.com/HiDeoo/toggler-vscode/workflows/integration/badge.svg",
"href": "https://github.com/HiDeoo/toggler-vscode/actions?query=workflow%3Aintegration",
"description": "Build Status"
},
{
"url": "https://badgen.net/github/license/hideoo/toggler-vscode",
"href": "https://github.com/HiDeoo/toggler-vscode/blob/main/LICENSE.md",
"description": "License"
}
],
"main": "./dist/extension.js",
"browser": "./dist/extension.js",
"contributes": {
"commands": [
{
"command": "extension.toggle",
"title": "Toggle",
"category": "Toggler"
},
{
"command": "extension.toggle-reverse",
"title": "Toggle Reverse",
"category": "Toggler"
},
{
"command": "extension.toggle.settings",
"title": "Customize toggles",
"category": "Toggler"
}
],
"keybindings": [
{
"command": "extension.toggle",
"key": "alt+r",
"mac": "ctrl+r",
"when": "editorTextFocus"
}
],
"menus": {
"commandPalette": [
{
"command": "extension.toggle",
"when": "editorIsOpen"
}
],
"editor/context": [
{
"command": "extension.toggle",
"group": "1_modification",
"when": "editorTextFocus"
}
]
},
"configuration": {
"type": "object",
"title": "Toggler",
"properties": {
"toggler.toggles": {
"type": "array",
"default": [
[
"absolute",
"relative"
],
[
"high",
"low"
]
],
"description": "Custom toggles.",
"order": 1,
"scope": "language-overridable"
},
"toggler.useDefaultToggles": {
"type": "boolean",
"default": true,
"markdownDescription": "Toggler is bundled with some [default toggles](https://raw.githubusercontent.com/HiDeoo/toggler-vscode/master/src/defaults.json) merged with your custom ones that you can disable if they don't fit your preferences.",
"order": 0
},
"toggler.showToggleFailureNotification": {
"type": "boolean",
"default": true,
"description": "Controls whether to show a notification when a toggle fails.",
"order": 2
}
}
}
},
"capabilities": {
"untrustedWorkspaces": {
"supported": true
}
},
"scripts": {
"build": "webpack",
"build:test": "tsc -p .",
"watch": "webpack --watch",
"watch:test": "tsc --watch -p .",
"preweb": "yarn build",
"web": "vscode-test-web --extensionDevelopmentPath=. --browserType=chromium",
"lint": "prettier -c --cache . && eslint . --cache --max-warnings=0 && tsc --noEmit",
"pretest": "yarn build && yarn build:test",
"test": "yarn test:desktop && yarn test:web",
"test:desktop": "node out/test/runTest.js",
"test:web": "yarn web --extensionTestsPath=dist/test/suite/index.js --headless=true",
"package": "webpack --mode production --devtool hidden-source-map",
"vscode:package": "npx @vscode/vsce package",
"vscode:prepublish": "yarn package",
"prepare": "husky install"
},
"devDependencies": {
"@hideoo/eslint-config": "2.0.2",
"@hideoo/prettier-config": "2.0.0",
"@hideoo/tsconfig": "2.0.1",
"@types/mocha": "10.0.4",
"@types/node": "18.18.9",
"@types/vscode": "1.42.0",
"@types/webpack-env": "1.18.4",
"@vscode/test-electron": "2.3.9",
"@vscode/test-web": "0.0.48",
"assert": "2.1.0",
"eslint": "8.53.0",
"glob": "10.3.10",
"husky": "8.0.3",
"lint-staged": "15.1.0",
"mocha": "10.2.0",
"prettier": "3.1.0",
"process": "0.11.10",
"ts-loader": "9.5.0",
"typescript": "5.2.2",
"webpack": "5.89.0",
"webpack-cli": "5.1.4"
},
"prettier": "@hideoo/prettier-config",
"lint-staged": {
"**/*": "prettier -w -u --cache",
"**/*.{js,jsx,ts,tsx,cjs,mjs}": "eslint --cache --max-warnings=0"
}
}