|
| 1 | +{ |
| 2 | + "name": "arc-vs-code", |
| 3 | + "displayName": "arc-vs-code", |
| 4 | + "description": "A Visual Studio Code Extension that enables editing of ARCs (Annotated Research Contexts), including adding, removing, and editing of investigations, studies, and assays via SWATE and ARCtrl.", |
| 5 | + "icon": "resources/icon.png", |
| 6 | + |
| 7 | + "version": "1.0.0", |
| 8 | + "engines": { |
| 9 | + "vscode": "^1.94.0" |
| 10 | + }, |
| 11 | + "publisher": "nfdi4plants", |
| 12 | + "license": "MIT", |
| 13 | + "repository": { |
| 14 | + "type": "git", |
| 15 | + "url": "https://github.com/nfdi4plants/arc-vs-code.git" |
| 16 | + }, |
| 17 | + "categories": [ |
| 18 | + "Other" |
| 19 | + ], |
| 20 | + "activationEvents": [ |
| 21 | + ], |
| 22 | + "main": "./out/extension.js", |
| 23 | + "contributes": { |
| 24 | + "commands": [ |
| 25 | + { |
| 26 | + "command": "arc-vs-code.start", |
| 27 | + "title": "Open ARC-VS-CODE Extension" |
| 28 | + }, |
| 29 | + { |
| 30 | + "command": "arc-vs-code.edit_investigation", |
| 31 | + "title": "Edit Investigation" |
| 32 | + }, |
| 33 | + { |
| 34 | + "command": "arc-vs-code.add_study", |
| 35 | + "title": "Add Study" |
| 36 | + }, |
| 37 | + { |
| 38 | + "command": "arc-vs-code.edit_study", |
| 39 | + "title": "Edit Study" |
| 40 | + }, |
| 41 | + { |
| 42 | + "command": "arc-vs-code.delete_study", |
| 43 | + "title": "Delete Study" |
| 44 | + }, |
| 45 | + { |
| 46 | + "command": "arc-vs-code.add_assay", |
| 47 | + "title": "Add Assay" |
| 48 | + }, |
| 49 | + { |
| 50 | + "command": "arc-vs-code.edit_assay", |
| 51 | + "title": "Edit Assay" |
| 52 | + }, |
| 53 | + { |
| 54 | + "command": "arc-vs-code.delete_assay", |
| 55 | + "title": "Delete Assay" |
| 56 | + } |
| 57 | + ], |
| 58 | + "menus": { |
| 59 | + "explorer/context": [ |
| 60 | + { |
| 61 | + "command": "arc-vs-code.edit_investigation", |
| 62 | + "when": "resourceFilename == isa.investigation.xlsx", |
| 63 | + "group": "navigation" |
| 64 | + }, |
| 65 | + { |
| 66 | + "command": "arc-vs-code.edit_study", |
| 67 | + "when": "explorerResourceIsFolder && resourceDirname =~ /.*?[\\\\\\\/]studies$/", |
| 68 | + "group": "navigation@1" |
| 69 | + }, |
| 70 | + { |
| 71 | + "command": "arc-vs-code.delete_study", |
| 72 | + "when": "explorerResourceIsFolder && resourceDirname =~ /.*?[\\\\\\\/]studies$/", |
| 73 | + "group": "navigation@2" |
| 74 | + }, |
| 75 | + { |
| 76 | + "command": "arc-vs-code.add_study", |
| 77 | + "when": "explorerResourceIsFolder && resourceFilename == studies", |
| 78 | + "group": "navigation" |
| 79 | + }, |
| 80 | + { |
| 81 | + "command": "arc-vs-code.edit_assay", |
| 82 | + "when": "explorerResourceIsFolder && resourceDirname =~ /.*?[\\\\\\\/]assays$/", |
| 83 | + "group": "navigation@1" |
| 84 | + }, |
| 85 | + { |
| 86 | + "command": "arc-vs-code.delete_assay", |
| 87 | + "when": "explorerResourceIsFolder && resourceDirname =~ /.*?[\\\\\\\/]assays$/", |
| 88 | + "group": "navigation@2" |
| 89 | + }, |
| 90 | + { |
| 91 | + "command": "arc-vs-code.add_assay", |
| 92 | + "when": "explorerResourceIsFolder && resourceFilename == assays", |
| 93 | + "group": "navigation" |
| 94 | + } |
| 95 | + ] |
| 96 | + } |
| 97 | + }, |
| 98 | + "scripts": { |
| 99 | + "vscode:prepublish": "npm run compile", |
| 100 | + "build_vue": "npm run build --prefix=./src-vue/", |
| 101 | + "build_plugin": "./node_modules/vsce/vsce package", |
| 102 | + "install": "code --uninstall-extension nfdi4plants.arc-vs-code; code --install-extension ./arc-vs-code-1.0.0.vsix", |
| 103 | + "full": "npm run build_vue;npm run build_plugin;npm run install; code", |
| 104 | + "full2": "npm run build_plugin;npm run install; code", |
| 105 | + "compile": "tsc -p ./", |
| 106 | + "watch": "tsc -watch -p ./", |
| 107 | + "pretest": "npm run compile && npm run lint", |
| 108 | + "lint": "eslint src-plugin", |
| 109 | + "test": "vscode-test" |
| 110 | + }, |
| 111 | + "devDependencies": { |
| 112 | + "@types/mocha": "^10.0.8", |
| 113 | + "@types/node": "20.x", |
| 114 | + "@types/vscode": "^1.94.0", |
| 115 | + "@typescript-eslint/eslint-plugin": "^8.7.0", |
| 116 | + "@typescript-eslint/parser": "^8.7.0", |
| 117 | + "@vscode/test-cli": "^0.0.10", |
| 118 | + "@vscode/test-electron": "^2.4.1", |
| 119 | + "eslint": "^9.11.1", |
| 120 | + "typescript": "^5.6.2", |
| 121 | + "vsce": "^2.15.0" |
| 122 | + } |
| 123 | +} |
0 commit comments