2023-05-04 22:09:35 -04:00
|
|
|
{
|
2023-05-04 22:32:46 -04:00
|
|
|
"name": "bwcontest",
|
|
|
|
"displayName": "BWContest",
|
|
|
|
"description": "The student extension for BW's HSPC",
|
|
|
|
"version": "0.0.1",
|
|
|
|
"engines": {
|
2024-03-12 12:55:41 -04:00
|
|
|
"vscode": "^1.87.0"
|
2023-05-04 22:32:46 -04:00
|
|
|
},
|
|
|
|
"categories": [
|
|
|
|
"Other"
|
|
|
|
],
|
2024-03-05 19:31:11 -05:00
|
|
|
"activationEvents": [
|
|
|
|
"onStartupFinished"
|
|
|
|
],
|
2023-08-26 15:48:29 -04:00
|
|
|
"main": "./out/main.js",
|
2023-05-04 22:32:46 -04:00
|
|
|
"contributes": {
|
2023-05-06 11:33:10 -04:00
|
|
|
"configuration": {
|
|
|
|
"title": "BWContest",
|
|
|
|
"properties": {
|
|
|
|
"BWContest.repoBaseUrl": {
|
|
|
|
"type": "string",
|
|
|
|
"default": "",
|
|
|
|
"description": "Base URL for where to clone repos from"
|
|
|
|
},
|
2023-08-26 10:33:31 -04:00
|
|
|
"BWContest.webUrl": {
|
|
|
|
"type": "string",
|
|
|
|
"default": "",
|
|
|
|
"description": "URL for the contest website"
|
|
|
|
},
|
2023-05-06 11:33:10 -04:00
|
|
|
"BWContest.repoClonePath": {
|
|
|
|
"type": "string",
|
|
|
|
"default": "",
|
|
|
|
"description": "The path where the repos are cloned to"
|
2023-05-07 16:30:42 -04:00
|
|
|
},
|
|
|
|
"BWContest.javaPath": {
|
|
|
|
"type": "string",
|
|
|
|
"default": "",
|
|
|
|
"description": "Path of java bin folder"
|
2024-03-05 17:50:16 -05:00
|
|
|
},
|
|
|
|
"BWContest.debugFastPolling": {
|
|
|
|
"type": "boolean",
|
|
|
|
"default": false,
|
|
|
|
"description": "Enables fast polling, with a command to toggle frequency"
|
2023-05-06 11:33:10 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2023-05-06 00:01:27 -04:00
|
|
|
"viewsContainers": {
|
|
|
|
"activitybar": [
|
|
|
|
{
|
|
|
|
"id": "bwcontest-sidebar-view",
|
|
|
|
"title": "BWContest",
|
|
|
|
"icon": "media/icon.png"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"views": {
|
|
|
|
"bwcontest-sidebar-view": [
|
|
|
|
{
|
|
|
|
"type": "webview",
|
|
|
|
"id": "bwcontest-sidebar",
|
|
|
|
"name": "BWContest",
|
|
|
|
"icon": "media/icon.png",
|
|
|
|
"contextualTitle": "BWContest"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2024-03-05 17:50:16 -05:00
|
|
|
"commands": [
|
|
|
|
{
|
|
|
|
"command": "bwcontest.toggleFastPolling",
|
|
|
|
"title": "BWContest Developer: Toggle Fast Polling"
|
2024-03-13 13:13:09 -04:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "bwcontest.refreshState",
|
|
|
|
"title": "Refresh"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "bwcontest.showTestSubmitPage",
|
|
|
|
"title": "BWContest: Show Test/Submit Page"
|
2024-03-05 17:50:16 -05:00
|
|
|
}
|
2024-03-13 13:13:09 -04:00
|
|
|
],
|
|
|
|
"menus": {
|
|
|
|
"view/title": [
|
|
|
|
{
|
|
|
|
"command": "bwcontest.refreshState",
|
|
|
|
"group": "navigation",
|
|
|
|
"when": "view == bwcontest-sidebar"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
2023-05-04 22:32:46 -04:00
|
|
|
},
|
|
|
|
"scripts": {
|
2024-03-13 13:20:09 -04:00
|
|
|
"vscode:prepublish": "npm run build",
|
2024-03-11 20:23:57 -04:00
|
|
|
"check": "tsc -noEmit",
|
2023-08-26 15:48:29 -04:00
|
|
|
"esbuild-base": "esbuild ./src/extension.ts --bundle --outfile=out/main.js --external:vscode --format=cjs --platform=node",
|
|
|
|
"esbuild": "npm run esbuild-base -- --sourcemap",
|
2024-03-13 13:20:09 -04:00
|
|
|
"build": "rollup -c && npm run esbuild-base -- --minify",
|
2023-10-15 18:35:49 -04:00
|
|
|
"format": "prettier --plugin prettier-plugin-svelte --write .",
|
2023-10-16 13:51:50 -04:00
|
|
|
"watch": "concurrently \"rollup -c -w\" \"npm run esbuild-base -- --sourcemap --watch\"",
|
|
|
|
"lint": "prettier --plugin prettier-plugin-svelte --check . && eslint ."
|
2023-05-04 22:32:46 -04:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2023-10-15 18:35:49 -04:00
|
|
|
"@rollup/plugin-commonjs": "^25.0.7",
|
|
|
|
"@rollup/plugin-node-resolve": "^15.2.3",
|
|
|
|
"@rollup/plugin-terser": "^0.4.4",
|
2024-01-15 15:39:36 -05:00
|
|
|
"@rollup/plugin-typescript": "^11.1.6",
|
2023-08-26 15:09:14 -04:00
|
|
|
"@tsconfig/svelte": "^5.0.2",
|
2024-01-15 15:39:36 -05:00
|
|
|
"@types/fs-extra": "^11.0.4",
|
2023-05-04 22:32:46 -04:00
|
|
|
"@types/glob": "^8.1.0",
|
2024-01-15 15:39:36 -05:00
|
|
|
"@types/mocha": "^10.0.6",
|
2023-08-26 15:48:29 -04:00
|
|
|
"@types/node": "20.x",
|
2024-03-12 12:55:41 -04:00
|
|
|
"@types/vscode": "^1.87.0",
|
2024-03-20 09:36:15 -04:00
|
|
|
"@typescript-eslint/eslint-plugin": "^7.3.1",
|
|
|
|
"@typescript-eslint/parser": "^7.3.1",
|
2024-03-12 12:55:41 -04:00
|
|
|
"@vscode/test-electron": "^2.3.9",
|
2023-11-05 21:09:47 -05:00
|
|
|
"concurrently": "^8.2.2",
|
2024-03-20 09:36:15 -04:00
|
|
|
"esbuild": "^0.20.2",
|
2024-03-12 12:55:41 -04:00
|
|
|
"eslint": "^8.57.0",
|
2024-01-15 15:39:36 -05:00
|
|
|
"eslint-config-prettier": "^9.1.0",
|
|
|
|
"eslint-plugin-svelte": "^2.35.1",
|
2023-10-02 13:38:53 -04:00
|
|
|
"glob": "^10.3.10",
|
2024-03-12 12:55:41 -04:00
|
|
|
"mocha": "^10.3.0",
|
2024-03-20 09:36:15 -04:00
|
|
|
"postcss": "^8.4.37",
|
2024-03-12 12:55:41 -04:00
|
|
|
"prettier": "^3.2.5",
|
|
|
|
"prettier-plugin-svelte": "^3.2.2",
|
2024-01-15 15:39:36 -05:00
|
|
|
"rollup-plugin-css-only": "^4.5.2",
|
2023-05-06 00:01:27 -04:00
|
|
|
"rollup-plugin-postcss": "^4.0.2",
|
2024-03-12 12:55:41 -04:00
|
|
|
"rollup-plugin-svelte": "^7.2.0",
|
|
|
|
"svelte": "^4.2.12",
|
2024-03-20 09:36:15 -04:00
|
|
|
"svelte-check": "^3.6.8",
|
2024-01-15 15:39:36 -05:00
|
|
|
"svelte-preprocess": "^5.1.3",
|
2024-03-12 12:55:41 -04:00
|
|
|
"typescript": "^5.4.2"
|
2023-05-06 00:01:27 -04:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2024-03-12 12:55:41 -04:00
|
|
|
"@vscode/vsce": "^2.24.0",
|
2024-03-20 09:36:15 -04:00
|
|
|
"axios": "^1.6.8",
|
2024-03-12 12:11:59 -04:00
|
|
|
"bwcontest-shared": "file:../../shared",
|
2024-01-15 15:39:36 -05:00
|
|
|
"fs-extra": "^11.2.0",
|
2024-03-12 12:55:41 -04:00
|
|
|
"isomorphic-git": "^1.25.6",
|
2023-10-15 18:35:49 -04:00
|
|
|
"tree-kill": "^1.2.2",
|
2023-10-16 13:51:50 -04:00
|
|
|
"url-join": "^5.0.0",
|
|
|
|
"zod": "^3.22.4"
|
2023-05-04 22:32:46 -04:00
|
|
|
}
|
2023-05-04 22:09:35 -04:00
|
|
|
}
|