forked from freeCodeCamp/courses-vscode-extension
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
197 lines (197 loc) · 5.85 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
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
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
{
"activationEvents": [
"onStartupFinished"
],
"author": "freeCodeCamp",
"bugs": {
"url": "https://github.com/freeCodeCamp/courses-vscode-extension/issues"
},
"categories": [
"Education"
],
"contributes": {
"commands": [
{
"command": "freecodecamp-courses.openCourse",
"title": "freeCodeCamp: Open Course"
},
{
"command": "freecodecamp-courses.runCourse",
"title": "freeCodeCamp: Run Course"
},
{
"command": "freecodecamp-courses.developCourse",
"title": "freeCodeCamp: Develop Course"
},
{
"command": "freecodecamp-courses.collapse",
"title": "freeCodeCamp Dev: Collapse"
},
{
"command": "freecodecamp-courses.shutdownCourse",
"title": "freeCodeCamp: Shutdown Course"
}
],
"configuration": {
"title": "freeCodeCamp - Courses",
"properties": {
"freecodecamp-courses.autoStart": {
"type": "boolean",
"default": false,
"description": "Automatically start the course when opened in VS Code"
},
"freecodecamp-courses.path": {
"type": "string",
"default": ".",
"description": "Relative path to directory where scripts will be run"
},
"freecodecamp-courses.prepare": {
"type": "string",
"default": "npm install",
"description": "Command to run on first opening a course"
},
"freecodecamp-courses.scripts.develop-course": {
"type": "string",
"default": "npm run develop",
"description": "Command to run when developing a course"
},
"freecodecamp-courses.scripts.run-course": {
"type": "string",
"default": "npm run start",
"description": "Command to run when running a course in production"
},
"freecodecamp-courses.workspace.files": {
"type": "array",
"default": [],
"description": "Files to open in the workspace when opening a course",
"items": {
"type": "object",
"properties": {
"path": {
"type": "string",
"description": "Relative path to file"
}
}
}
},
"freecodecamp-courses.workspace.previews": {
"type": "array",
"default": [
{
"open": true,
"showLoader": true,
"url": "http://localhost:8080",
"timeout": 4000
}
],
"description": "Previews to open in the workspace when opening a course",
"items": {
"type": "object",
"properties": {
"open": {
"type": "boolean",
"default": true,
"description": "Whether to open the preview"
},
"showLoader": {
"type": "boolean",
"default": true,
"description": "Whether to show the loading screen"
},
"url": {
"type": "string",
"description": "URL to open in the preview"
},
"timeout": {
"type": "number",
"default": 4000,
"description": "Timeout for URL to respond with 200"
}
}
}
},
"freecodecamp-courses.workspace.terminals": {
"type": "array",
"default": [],
"items": {
"type": "object",
"properties": {
"directory": {
"type": "string",
"description": "Relative path to directory where scripts will be run"
},
"message": {
"type": [
"string",
"null"
],
"default": null,
"description": "Message to display in terminal"
},
"name": {
"type": "string",
"description": "Name of terminal"
},
"show": {
"type": "boolean",
"description": "Whether to show the terminal"
}
}
},
"description": "Terminals to open in the workspace when opening a course"
}
}
}
},
"description": "Provides tooling for quick and easy selection of courses offered by freeCodeCamp",
"devDependencies": {
"@types/node": "20.17.7",
"@types/vscode": "1.95.0",
"@typescript-eslint/eslint-plugin": "6.21.0",
"@typescript-eslint/parser": "6.21.0",
"@vscode/vsce": "2.32.0",
"eslint": "8.57.1",
"ts-loader": "9.5.1",
"typescript": "5.7.2",
"webpack": "5.96.1",
"webpack-cli": "5.1.4"
},
"displayName": "freeCodeCamp - Courses",
"engines": {
"node": "^20.0.0",
"vscode": "^1.85.0"
},
"galleryBanner": {
"color": "#0a0a23",
"theme": "dark"
},
"icon": "images/logo-128X128.png",
"keywords": [
"freecodecamp",
"courses",
"web3",
"rust",
"backend"
],
"license": "BSD-3-Clause",
"main": "./dist/extension.js",
"name": "freecodecamp-courses",
"publisher": "freeCodeCamp",
"repository": {
"type": "git",
"url": "https://github.com/freeCodeCamp/courses-vscode-extension"
},
"scripts": {
"compile": "webpack",
"deploy": "vsce publish",
"lint": "eslint src --ext ts",
"pack": "vsce package",
"package": "webpack --mode production --devtool hidden-source-map",
"pretest": "npm run compile-tests && npm run compile && npm run lint",
"test:pack": "npm run pack -- --no-git-tag-version --no-update-package-json 1.0.0 -o freecodecamp-courses-test.vsix",
"vsce": "vsce",
"vscode:prepublish": "npm run package",
"watch": "webpack --watch"
},
"version": "3.0.0"
}