-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
79 lines (79 loc) · 2.13 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": "dprint2",
"displayName": "dprint",
"description": "Nice-featured VS Code extension for dprint formatter.",
"author": "Pig Fang <[email protected]>",
"publisher": "gplane",
"repository": "g-plane/vscode-dprint",
"license": "MIT",
"version": "1.1.0",
"engines": {
"vscode": "^1.90.0"
},
"categories": [
"Formatters"
],
"main": "./dist/extension.js",
"icon": "icon.png",
"extensionKind": [
"workspace"
],
"activationEvents": [
"workspaceContains:**/{dprint,.dprint}.{json,jsonc}"
],
"contributes": {
"configuration": {
"title": "dprint",
"properties": {
"dprint.executablePath.unix": {
"description": "The path to the dprint executable on Unix-like OS.",
"type": "string",
"default": "",
"ignoreSync": true
},
"dprint.executablePath.win": {
"description": "The path to the dprint executable on Windows.",
"type": "string",
"default": "",
"ignoreSync": true
},
"dprint.additionalFilePatterns": {
"description": "Additional file Glob patterns to format.",
"type": "array",
"items": {
"type": "string"
},
"default": [],
"scope": "resource"
},
"dprint.newConfigFileName": {
"description": "File name of new dprint configuration file when creating.",
"type": "string",
"default": "dprint.json"
}
}
},
"commands": [
{
"command": "dprint.configInit",
"title": "dprint: Create dprint Configuration File"
}
]
},
"scripts": {
"vscode:prepublish": "pnpm lint && pnpm build",
"build": "esbuild ./src/extension.ts --bundle --platform=node --outdir=dist --external:vscode",
"watch": "pnpm build --watch",
"lint": "tsc --noEmit"
},
"devDependencies": {
"@gplane/tsconfig": "^6.2.0",
"@types/node": "^22.5.0",
"@types/vscode": "^1.90.0",
"@types/which": "^3.0.4",
"esbuild": "^0.21.5",
"typescript": "^5.4.5",
"vscode-languageclient": "^9.0.1",
"which": "^4.0.0"
}
}