-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
117 lines (117 loc) · 4.26 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
{
"name": "cscodepolisher",
"displayName": "C# Code Polisher",
"description": "Sort usings and remove unnecessary usings.",
"icon": "images/icon.jpg",
"author": {
"name": "Vladislav Ivashnev",
"email": "hedgensk@gmail.com"
},
"publisher": "HedgehogNSK",
"license": "LICENSE",
"homepage": "https://github.com/HedgehogNSK/cs-code-polisher/blob/master/README.md",
"repository": {
"type": "git",
"url": "https://github.com/HedgehogNSK/cs-code-polisher.git"
},
"version": "0.0.4",
"engines": {
"vscode": "^1.85.0"
},
"categories": [
"Formatters"
],
"activationEvents": [],
"pricing": "Free",
"main": "./dist/extension.js",
"contributes": {
"configuration": {
"type": "object",
"title": "C# Code Polisher",
"properties": {
"cscodepolisher.saveOnEdit": {
"type": "boolean",
"default": false,
"description": "If `true` then it will auto save changed files"
},
"cscodepolisher.excludePathFromChecking": {
"type": "string",
"default": "{**/obj/**,**/Debug/**}",
"description": "Globe pattern that defines which files has to be excluded from check"
}
}
},
"commands": [
{
"command": "cscodepolisher.organizeImports",
"title": "Clean up usings in current file",
"category": "CodePolisher"
},
{
"command": "cscodepolisher.sortImports",
"title": "Sort usings in current file",
"category": "CodePolisher"
},
{
"command": "cscodepolisher.removeUnnecessaryImports",
"title": "Remove unnecessary usings in current file",
"category": "CodePolisher"
},
{
"command": "cscodepolisher.organizeImportsInWorkspace",
"title": "Clean up usings in workspace",
"category": "CodePolisher"
},
{
"command": "cscodepolisher.sortImportsInWorkspace",
"title": "Sort usings in workspace",
"category": "CodePolisher"
},
{
"command": "cscodepolisher.removeUnnecessaryImportsInWorkspace",
"title": "Remove usings in workspace",
"category": "CodePolisher"
},
{
"command": "cscodepolisher.removeFreeSpacesInWorkspace",
"title": "Remove unnecessary empty spaces in workspace",
"category": "CodePolisher"
},
{
"command": "cscodepolisher.removeFreeSpaces",
"title": "Remove unnecessary empty spaces in current file",
"category": "CodePolisher"
}
]
},
"scripts": {
"compile": "webpack",
"watch": "webpack --watch",
"package": "webpack --mode production --devtool hidden-source-map",
"compile-tests": "tsc -p . --outDir out",
"watch-tests": "tsc -p . -w --outDir out",
"pretest": "npm run compile-tests && npm run compile && npm run lint",
"lint": "eslint src --ext ts",
"test": "vscode-test",
"vscode:prepublish": "npm run esbuild-base -- --minify",
"esbuild-base": "esbuild ./src/extension.ts --bundle --outfile=out/main.js --external:vscode --format=cjs --platform=node",
"esbuild": "npm run esbuild-base -- --sourcemap",
"esbuild-watch": "npm run esbuild-base -- --sourcemap --watch",
"test-compile": "tsc -p ./"
},
"devDependencies": {
"@types/mocha": "^10.0.6",
"@types/node": "18.x",
"@types/vscode": "^1.85.0",
"@typescript-eslint/eslint-plugin": "^6.15.0",
"@typescript-eslint/parser": "^6.15.0",
"@vscode/test-cli": "^0.0.4",
"@vscode/test-electron": "^2.3.9",
"esbuild": "^0.19.12",
"eslint": "^8.56.0",
"ts-loader": "^9.5.1",
"typescript": "^5.3.3",
"webpack": "^5.89.0",
"webpack-cli": "^5.1.4"
}
}