forked from dprint/dprint-vscode
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
103 lines (103 loc) · 2.67 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
{
"name": "dprint",
"displayName": "Dprint Code Formatter",
"description": "Formats code in VSCode using dprint.",
"author": "David Sherret",
"publisher": "dprint",
"version": "0.16.0",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/dprint/dprint-vscode.git"
},
"engines": {
"vscode": "^1.45.0"
},
"categories": [
"Formatters"
],
"activationEvents": [
"onStartupFinished",
"onFileSystem:dprint"
],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "dprint.restart",
"title": "Dprint: Restart"
}
],
"configuration": {
"type": "object",
"title": "dprint",
"properties": {
"dprint.experimentalLsp": {
"type": [
"boolean",
"null"
],
"default": false,
"markdownDescription": "Use dprint's experimental LSP (requires dprint 0.45+)",
"scope": "resource"
},
"dprint.path": {
"type": [
"string",
"null"
],
"default": null,
"markdownDescription": "Specify a custom path for the dprint executable other than what's found on the path.",
"scope": "resource",
"examples": [
"/usr/bin/dprint",
"C:\\some-dir\\dprint.exe"
]
},
"dprint.verbose": {
"type": [
"boolean",
"null"
],
"default": false,
"markdownDescription": "Whether to enable verbose logging.",
"scope": "resource"
}
}
},
"jsonValidation": [
{
"fileMatch": "**/{dprint,.dprint}.{json,jsonc}",
"url": "dprint://schemas/config.json"
}
]
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "esbuild ./src/extension.ts --bundle --outfile=out/extension.js --external:vscode --format=cjs --platform=node",
"run:extension": "code --extensionDevelopmentPath=.",
"watch": "npm run compile -- --watch",
"pretest": "tsc -p ./",
"test": "node ./out/test/runTest.js"
},
"dependencies": {
"vscode-languageclient": "^9.0.1"
},
"devDependencies": {
"@types/glob": "^7.1.4",
"@types/mocha": "^9.0.0",
"@types/node": "^16.11.1",
"@types/vscode": "^1.45.0",
"@vscode/test-electron": "^2.1.5",
"esbuild": "^0.14.29",
"glob": "^7.2.0",
"mocha": "^9.2.2",
"typescript": "^4.6.3"
},
"__metadata": {
"id": "a71f21fc-951b-4829-92f5-ba423b77109f",
"publisherDisplayName": "dprint",
"publisherId": "fbc6f234-24bc-436b-a1f7-81d06d444496",
"isPreReleaseVersion": false
}
}