Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
112 lines (112 loc) · 3.19 KB
/
Copy pathpackage.json
File metadata and controls
112 lines (112 loc) · 3.19 KB
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
{
"name": "run-all-apps",
"displayName": "Run All Apps",
"description": "One-click buttons in the status bar to launch dev commands",
"version": "0.0.2",
"publisher": "godly",
"engines": {
"vscode": "^1.103.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onStartupFinished"
],
"icon": "logo.png",
"main": "./dist/extension.js",
"contributes": {
"configuration": {
"title": "Run All Apps",
"properties": {
"runAllApps.buttons": {
"type": "array",
"default": [
{
"id": "run-dev",
"text": "Run Dev",
"tooltip": "Run npm run dev",
"command": "npm run dev",
"alignment": "right",
"priority": 0
}
],
"description": "List of buttons to display in the status bar",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Unique id for the button"
},
"text": {
"type": "string",
"description": "Text to display, can include icons"
},
"tooltip": {
"type": "string"
},
"command": {
"type": "string",
"description": "Shell command to run"
},
"alignment": {
"enum": ["left", "right"],
"default": "right"
},
"priority": {
"type": "number",
"default": 0
},
"color": {
"type": "string"
},
"backgroundColor": {
"type": "string"
},
"reuseTerminal": {
"type": "boolean",
"default": true
},
"workingDirectory": {
"type": "string",
"description": "Working directory for the command, relative to workspace"
}
},
"required": ["id", "text", "command"]
}
},
"runAllApps.loadNpmScripts": {
"type": "boolean",
"default": false,
"description": "Automatically load npm scripts from package.json as buttons"
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run package",
"compile": "webpack",
"watch": "webpack --watch",
"package": "webpack --mode production --devtool hidden-source-map",
"compile-tests": "tsc -p . --outDir out",
"watch-tests": "tsc -p . -w --outDir out",
"pretest": "npm run compile-tests && npm run compile && npm run lint",
"lint": "eslint src",
"test": "vscode-test"
},
"devDependencies": {
"@types/vscode": "^1.103.0",
"@types/mocha": "^10.0.10",
"@types/node": "22.x",
"@typescript-eslint/eslint-plugin": "^8.39.0",
"@typescript-eslint/parser": "^8.39.0",
"eslint": "^9.32.0",
"typescript": "^5.9.2",
"ts-loader": "^9.5.2",
"webpack": "^5.101.0",
"webpack-cli": "^6.0.1",
"@vscode/test-cli": "^0.0.11",
"@vscode/test-electron": "^2.5.2"
}
}