-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
88 lines (88 loc) · 2.45 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
{
"name": "leptos-fmt",
"displayName": "leptos-fmt",
"publisher": "masterustacean",
"description": "format your leptos code with leptosfmt inside vscode",
"icon": "images/icon.webp",
"repository": {
"type": "git",
"url": "https://github.com/codeitlikemiley/leptos-fmt.git"
},
"version": "0.1.2",
"engines": {
"vscode": "^1.94.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onLanguage:rust"
],
"main": "./dist/extension.js",
"contributes": {
"configuration": {
"type": "object",
"title": "Leptosfmt Configuration",
"properties": {
"leptos-fmt.cargoHome": {
"type": "string",
"default": "",
"description": "(Optional) - Only modify this if $CARGO_HOME is not set on your env or if you want to use a different cargo home location"
},
"leptos-fmt.path": {
"type": "string",
"default": "",
"description": "(Optional) - Only modify this if leptosfmt is not in your $CARGO_HOME/bin folder or if you want to use a different path"
}
}
},
"commands": [
{
"command": "leptos-fmt.format",
"title": "Format with Leptosfmt"
},
{
"command": "leptos-fmt.init",
"title": "Leptos Init"
}
],
"languages": [
{
"id": "rust",
"extensions": [
".rs"
],
"aliases": [
"Rust"
]
}
]
},
"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",
"test": "vscode-test"
},
"devDependencies": {
"@types/vscode": "^1.94.0",
"@types/mocha": "^10.0.8",
"@types/node": "20.x",
"@typescript-eslint/eslint-plugin": "^8.7.0",
"@typescript-eslint/parser": "^8.7.0",
"eslint": "^9.11.1",
"esbuild": "^0.24.0",
"npm-run-all": "^4.1.5",
"typescript": "^5.6.2",
"@vscode/test-cli": "^0.0.10",
"@vscode/test-electron": "^2.4.1"
}
}