vscode-zoterolens/package.json

98 lines
2.3 KiB
JSON

{
"name": "zoterolens",
"publisher": "rubenvandeven",
"displayName": "ZoteroLens",
"description": "When using Markdown citations, Zoterolens provides quick access to Zotero pdf-attachments.",
"version": "0.2.1",
"engines": {
"vscode": "^1.63.0"
},
"author": {
"name": "Ruben van de Ven"
},
"repository": {
"type": "git",
"url": "https://git.rubenvandeven.com/r/vscode-zoterolens.git"
},
"categories": [
"Other"
],
"activationEvents": [
"onLanguage:markdown",
"onLanguage:mdx",
"onCommand:zoterolens.showInZotero",
"onCommand:zoterolens.openZoteroPDF"
],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "zoterolens.showInZotero",
"title": "Open Zotero item by citeref"
},
{
"command": "zoterolens.openZoteroPDF",
"title": "Open Zotero PDF attachment by citeref."
}
],
"menus": {
"commandPalette": [
{
"command": "zoterolens.showInZotero",
"when": "editorLangId == markdown || editorLangId == mdx"
},
{
"command": "zoterolens.openZoteroPDF",
"when": "editorLangId == markdown || editorLangId == mdx"
}
]
},
"configuration": {
"title": "ZoteroLens",
"properties": {
"zoterolens.lens.enabled": {
"type": "boolean",
"scope": "resource",
"default": true,
"markdownDescription": "Show references in a 'lens', an additional line above the paragraph.",
"examples": [
true,
false
]
},
"zoterolens.decoration.enabled": {
"type": "boolean",
"scope": "resource",
"default": true,
"markdownDescription": "Show links to @cite-key references in a hover over the @cite-key.",
"examples": [
true,
false
]
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && npm run lint",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js"
},
"devDependencies": {
"@types/glob": "^7.2.0",
"@types/mocha": "^9.0.0",
"@types/node": "14.x",
"@types/vscode": "^1.63.0",
"@typescript-eslint/eslint-plugin": "^5.9.1",
"@typescript-eslint/parser": "^5.9.1",
"@vscode/test-electron": "^2.0.3",
"eslint": "^8.6.0",
"glob": "^7.2.0",
"mocha": "^9.1.3",
"typescript": "^4.5.4"
}
}