-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
75 lines (75 loc) · 2.27 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
{
"name": "treefmt-vscode",
"displayName": "treefmt-vscode",
"description": "treefmt streamlines the process of applying formatters to your project, making it a breeze with just one command line.",
"version": "2.1.1",
"publisher": "ibecker",
"icon": "icon.png",
"engines": {
"vscode": "^1.90.0"
},
"repository": {
"type": "git",
"url": "https://github.com/isbecker/treefmt-vscode"
},
"categories": ["Other", "Formatters"],
"activationEvents": ["workspaceContains:treefmt.toml"],
"main": "./dist/extension.js",
"contributes": {
"commands": [
{
"command": "extension.runTreefmt",
"title": "Run Treefmt"
},
{
"command": "extension.initTreefmt",
"title": "Initialize treefmt.toml configuration"
}
],
"configuration": [
{
"title": "treefmt",
"properties": {
"treefmt.command": {
"type": "string",
"default": null,
"description": "Path to the treefmt executable, e.g. /usr/local/bin/treefmt. If not set, the extension will use the bundled treefmt binary."
},
"treefmt.config": {
"type": "string",
"default": null,
"description": "Path to the treefmt configuration file, e.g. treefmt.toml. If not set, the extension will look for a treefmt.toml file in the workspace root."
}
}
}
]
},
"scripts": {
"vscode:prepublish": "npm run package",
"compile": "npm run check-types && npm run lint && node esbuild.js",
"watch": "npm-run-all -p watch:*",
"watch:esbuild": "node esbuild.js --watch",
"watch:tsc": "tsc --noEmit --watch --project tsconfig.json",
"package": "npm run check-types && npm run lint && node esbuild.js --production",
"compile-tests": "tsc -p . --outDir out",
"watch-tests": "tsc -p . -w --outDir out",
"pretest": "npm run compile-tests && npm run compile && npm run lint",
"check-types": "tsc --noEmit",
"lint": "eslint src --ext ts",
"test": "vscode-test"
},
"devDependencies": {
"@types/mocha": "^10.0.6",
"@types/node": "20.x",
"@types/vscode": "^1.90.0",
"@typescript-eslint/eslint-plugin": "^7.11.0",
"@typescript-eslint/parser": "^7.11.0",
"@vscode/test-cli": "^0.0.9",
"@vscode/test-electron": "^2.4.0",
"@vscode/vsce": "^2.29.0",
"esbuild": "^0.21.5",
"eslint": "^8.57.0",
"npm-run-all": "^4.1.5",
"typescript": "^5.4.5"
}
}