-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
79 lines (79 loc) · 2.34 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
{
"name": "setting-switch",
"displayName": "Setting Switch",
"description": "Pin the button to the statusbar for one-click configuration switching",
"license": "SEE LICENSE IN LICENSE",
"version": "1.2.2",
"repository": {
"type": "git",
"url": "https://github.com/like0413/setting-switch"
},
"publisher": "Like",
"engines": {
"vscode": "^1.82.0"
},
"icon": "icon.png",
"keywords": [
"like",
"setting",
"toggle"
],
"categories": [
"Other",
"Formatters"
],
"main": "./dist/extension.js",
"scripts": {
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && npm run lint",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js",
"vscode:prepublish": "npm run package",
"webpack": "webpack --mode development",
"webpack-dev": "webpack --mode development --watch",
"package": "webpack --mode production --devtool hidden-source-map",
"test-compile": "tsc -p ./"
},
"devDependencies": {
"@types/mocha": "^10.0.1",
"@types/node": "16.x",
"@types/vscode": "^1.82.0",
"@typescript-eslint/eslint-plugin": "^6.4.1",
"@typescript-eslint/parser": "^6.4.1",
"@vscode/test-electron": "^2.3.4",
"eslint": "^8.47.0",
"glob": "^10.3.3",
"mocha": "^10.2.0",
"ts-loader": "^9.4.4",
"typescript": "^5.1.6",
"webpack": "^5.88.2",
"webpack-cli": "^5.1.4"
},
"activationEvents": [
"onStartupFinished"
],
"contributes": {
"configuration": {
"title": "Setting Switch",
"properties": {
"settingSwitch.boolean": {
"type": "object",
"markdownDescription": "值为boolean的配置项\n\n\n**Example:**\n\n```json\n\"settingSwitch.boolean\": {\n \"Eslint\": \"eslint.enable\", \n \"Format\": \"editor.formatOnSave,editor.formatOnPaste\" \n}\n```",
"patternProperties": {
".*": {
"type": "string"
}
}
},
"settingSwitch.string": {
"type": "array",
"markdownDescription": "值为string的配置项\n\n\n**Example:**\n\n```json\n\"settingSwitch.string\": [\n {\n \"text\": \"AutoSave\",\n \"key\": \"files.autoSave\",\n \"value\": [\"onWindowChange\", \"onFocusChange\", \"off\"]\n }\n]\n```"
}
}
}
},
"dependencies": {
"ajv": "^8.12.0"
}
}