bw-hspc-contest-env/extension/bwcontest/package.json

144 lines
3.6 KiB
JSON

{
"name": "bwcontest",
"displayName": "BWContest",
"description": "The student extension for BW's HSPC",
"version": "0.0.1",
"engines": {
"vscode": "^1.87.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onStartupFinished"
],
"main": "./out/main.js",
"contributes": {
"configuration": {
"title": "BWContest",
"properties": {
"BWContest.repoBaseUrl": {
"type": "string",
"default": "",
"description": "Base URL for where to clone repos from"
},
"BWContest.webUrl": {
"type": "string",
"default": "",
"description": "URL for the contest website"
},
"BWContest.repoClonePath": {
"type": "string",
"default": "",
"description": "The path where the repos are cloned to"
},
"BWContest.javaPath": {
"type": "string",
"default": "",
"description": "Path of java bin folder"
},
"BWContest.debugFastPolling": {
"type": "boolean",
"default": false,
"description": "Enables fast polling, with a command to toggle frequency"
}
}
},
"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"
}
]
},
"commands": [
{
"command": "bwcontest.toggleFastPolling",
"title": "BWContest Developer: Toggle Fast Polling"
},
{
"command": "bwcontest.refreshState",
"title": "Refresh"
},
{
"command": "bwcontest.showTestSubmitPage",
"title": "BWContest: Show Test/Submit Page"
}
],
"menus": {
"view/title": [
{
"command": "bwcontest.refreshState",
"group": "navigation",
"when": "view == bwcontest-sidebar"
}
]
}
},
"scripts": {
"vscode:prepublish": "npm run build",
"check": "tsc -noEmit",
"esbuild-base": "esbuild ./src/extension.ts --bundle --outfile=out/main.js --external:vscode --format=cjs --platform=node",
"esbuild": "npm run esbuild-base -- --sourcemap",
"build": "rollup -c && npm run esbuild-base -- --minify",
"format": "prettier --plugin prettier-plugin-svelte --write .",
"watch": "concurrently \"rollup -c -w\" \"npm run esbuild-base -- --sourcemap --watch\"",
"lint": "prettier --plugin prettier-plugin-svelte --check . && eslint ."
},
"devDependencies": {
"@rollup/plugin-commonjs": "^25.0.7",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-terser": "^0.4.4",
"@rollup/plugin-typescript": "^11.1.6",
"@tsconfig/svelte": "^5.0.2",
"@types/fs-extra": "^11.0.4",
"@types/glob": "^8.1.0",
"@types/mocha": "^10.0.6",
"@types/node": "20.x",
"@types/vscode": "^1.87.0",
"@typescript-eslint/eslint-plugin": "^7.3.1",
"@typescript-eslint/parser": "^7.3.1",
"@vscode/test-electron": "^2.3.9",
"concurrently": "^8.2.2",
"esbuild": "^0.20.2",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-svelte": "^2.35.1",
"glob": "^10.3.10",
"mocha": "^10.3.0",
"postcss": "^8.4.37",
"prettier": "^3.2.5",
"prettier-plugin-svelte": "^3.2.2",
"rollup-plugin-css-only": "^4.5.2",
"rollup-plugin-postcss": "^4.0.2",
"rollup-plugin-svelte": "^7.2.0",
"svelte": "^4.2.12",
"svelte-check": "^3.6.8",
"svelte-preprocess": "^5.1.3",
"typescript": "^5.4.2"
},
"dependencies": {
"@vscode/vsce": "^2.24.0",
"axios": "^1.6.8",
"bwcontest-shared": "file:../../shared",
"fs-extra": "^11.2.0",
"isomorphic-git": "^1.25.6",
"tree-kill": "^1.2.2",
"url-join": "^5.0.0",
"zod": "^3.22.4"
}
}