-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathpackage.json
143 lines (143 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
{
"name": "pascal-formatter",
"displayName": "Pascal Formatter",
"description": "Source code formatter for Pascal",
"version": "2.9.0",
"publisher": "alefragnani",
"galleryBanner": {
"color": "#4682B4",
"theme": "dark"
},
"engines": {
"vscode": "^1.74.0"
},
"categories": [
"Formatters",
"Other"
],
"keywords": [
"pascal",
"delphi",
"freepascal",
"lazarus",
"objectpascal",
"formatter",
"multi-root ready"
],
"activationEvents": [
"onLanguage:pascal",
"onLanguage:objectpascal",
"onStartupFinished"
],
"capabilities": {
"virtualWorkspaces": true,
"untrustedWorkspaces": {
"supported": "limited",
"description": "Trust is required to be able to use choose the formatter tool located inside in this workspace.",
"restrictedConfigurations": [
"pascal.formatter.enginePath"
]
}
},
"main": "./dist/extension",
"l10n": "./l10n",
"icon": "images/icon.png",
"license": "SEE LICENSE IN LICENSE.md",
"homepage": "https://github.com/alefragnani/vscode-pascal-formatter/blob/master/README.md",
"repository": {
"type": "git",
"url": "https://github.com/alefragnani/vscode-pascal-formatter.git"
},
"bugs": {
"url": "https://github.com/alefragnani/vscode-pascal-formatter/issues"
},
"sponsor": {
"url": "https://github.com/sponsors/alefragnani"
},
"contributes": {
"commands": [
{
"command": "pascalFormatter.editFormatterParameters",
"title": "%pascal.formatter.commands.editFormatterParameters.title%",
"category": "Pascal Formatter"
},
{
"command": "pascalFormatter.whatsNew",
"title": "%pascal.formatter.commands.whatsNew.title%",
"category": "Pascal Formatter"
}
],
"configuration": {
"type": "object",
"title": "%pascal.formatter.configuration.title%",
"properties": {
"pascal.formatter.engine": {
"type": "string",
"default": "",
"description": "%pascal.formatter.configuration.engine.description%",
"enum": [
"embarcadero",
"jcf",
"jcf-quadroid",
"ptop"
]
},
"pascal.formatter.enginePath": {
"type": "string",
"default": "",
"description": "%pascal.formatter.configuration.enginePath.description%"
},
"pascal.formatter.engineParameters": {
"type": "string",
"default": "",
"description": "%pascal.formatter.configuration.engineParameters.description%"
},
"pascal.format.indent": {
"type": "number",
"default": 2,
"description": "%pascal.formatter.configuration.indent.description%"
},
"pascal.format.wrapLineLength": {
"type": "number",
"default": 80,
"description": "%pascal.formatter.configuration.wrapLineLength.description%"
}
}
}
},
"eslintConfig": {
"extends": [
"vscode-ext"
]
},
"scripts": {
"build": "webpack --mode development",
"watch": "webpack --watch --mode development",
"vscode:prepublish": "webpack --mode production",
"webpack": "webpack --mode development",
"webpack-dev": "webpack --mode development --watch",
"compile": "tsc -p ./",
"lint": "eslint -c package.json --ext .ts src vscode-whats-new",
"pretest": "npm run compile && npm run lint",
"test-compile": "tsc -p ./ && npm run webpack",
"just-test": "node ./out/src/test/runTest.js",
"test": "npm run test-compile && npm run just-test"
},
"devDependencies": {
"@types/node": "^14.17.27",
"@types/vscode": "^1.74.0",
"@types/mocha": "^9.0.0",
"@types/glob": "^7.1.4",
"@vscode/test-electron": "^1.6.2",
"@typescript-eslint/eslint-plugin": "^5.1.0",
"@typescript-eslint/parser": "^5.1.0",
"eslint": "^8.1.0",
"eslint-config-vscode-ext": "^1.1.0",
"terser-webpack-plugin": "^5.2.4",
"ts-loader": "^9.2.5",
"typescript": "^4.4.4",
"webpack": "^5.94.0",
"webpack-cli": "^4.8.0",
"mocha": "^9.1.3"
}
}