-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
151 lines (151 loc) · 4.01 KB
/
package.json
File metadata and controls
151 lines (151 loc) · 4.01 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
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
{
"name": "quick-scripts-runner",
"displayName": "Quick Scripts Runner",
"description": "Execute package.json scripts with automatic package manager detection",
"version": "1.0.1",
"publisher": "alckordev",
"icon": "images/icon.png",
"author": {
"name": "Francisco Luis Rios Vega",
"email": "alckordev@gmail.com",
"url": "https://alckor.dev"
},
"packageManager": "pnpm@10.25.0",
"engines": {
"vscode": "^1.70.0",
"pnpm": ">=10.0.0"
},
"keywords": [
"npm",
"pnpm",
"yarn",
"bun",
"scripts",
"package.json",
"package-manager",
"task-runner",
"automation"
],
"categories": [
"Other"
],
"repository": {
"type": "git",
"url": "https://github.com/alckordev/quick-scripts-runner.git"
},
"bugs": {
"url": "https://github.com/alckordev/quick-scripts-runner/issues"
},
"homepage": "https://github.com/alckordev/quick-scripts-runner#readme",
"activationEvents": [
"onStartupFinished"
],
"main": "./out/extension.js",
"contributes": {
"configuration": {
"title": "Quick Scripts Runner",
"properties": {
"quickScriptsRunner.defaultPackageManager": {
"type": "string",
"default": "npm",
"enum": [
"npm",
"pnpm",
"yarn",
"bun"
],
"description": "Default package manager"
},
"quickScriptsRunner.autoDetectPackageManager": {
"type": "boolean",
"default": true,
"description": "Automatically detect package manager"
}
}
},
"views": {
"explorer": [
{
"id": "quickScriptsRunnerExplorer",
"name": "Quick Scripts Runner"
}
]
},
"commands": [
{
"command": "quickScriptsRunner.runScript",
"title": "Run Script",
"icon": "$(run)"
},
{
"command": "quickScriptsRunner.refresh",
"title": "Refresh Scripts",
"icon": "$(refresh)"
},
{
"command": "quickScriptsRunner.openPackageJson",
"title": "Open package.json",
"icon": "$(file-code)"
},
{
"command": "quickScriptsRunner.changePackageManager",
"title": "Change Package Manager",
"icon": "$(package)"
}
],
"menus": {
"view/title": [
{
"command": "quickScriptsRunner.refresh",
"when": "view == quickScriptsRunnerExplorer",
"group": "navigation@1"
},
{
"command": "quickScriptsRunner.changePackageManager",
"when": "view == quickScriptsRunnerExplorer",
"group": "navigation@2"
},
{
"command": "quickScriptsRunner.openPackageJson",
"when": "view == quickScriptsRunnerExplorer",
"group": "navigation@3"
}
],
"view/item/context": [
{
"command": "quickScriptsRunner.runScript",
"when": "view == quickScriptsRunnerExplorer && viewItem == script",
"group": "inline"
}
]
}
},
"scripts": {
"preinstall": "npx only-allow pnpm",
"vscode:prepublish": "pnpm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "pnpm run compile && pnpm run lint",
"test": "node ./out/test/run-test.js",
"test:vscode": "node ./node_modules/@vscode/test-electron/out/main.js --extensionDevelopmentPath=. --extensionTestsPath=./out/test/suite/index",
"lint": "eslint .",
"format": "prettier --write 'src/**/*.ts'"
},
"devDependencies": {
"@eslint/js": "^9.0.0",
"@types/glob": "^8.0.0",
"@types/mocha": "^10.0.0",
"@types/node": "^18.0.0",
"@types/vscode": "^1.70.0",
"@typescript-eslint/eslint-plugin": "^8.0.0",
"@typescript-eslint/parser": "^8.0.0",
"@vscode/test-electron": "^2.3.0",
"eslint": "^9.0.0",
"glob": "^10.0.0",
"mocha": "^10.0.0",
"only-allow": "^1.2.2",
"prettier": "^3.0.0",
"typescript": "^5.0.0",
"typescript-eslint": "^8.0.0"
}
}