2022-02-04 12:03:05 +01:00
|
|
|
{
|
|
|
|
"name": "zoterolens",
|
2022-02-14 21:37:52 +01:00
|
|
|
"publisher": "rubenvandeven",
|
2022-02-04 12:03:05 +01:00
|
|
|
"displayName": "ZoteroLens",
|
2022-02-14 21:49:20 +01:00
|
|
|
"description": "When using Markdown citations, Zoterolens provides quick access to Zotero pdf-attachments.",
|
2022-09-27 14:06:44 +02:00
|
|
|
"version": "0.2.0",
|
2022-02-04 12:03:05 +01:00
|
|
|
"engines": {
|
|
|
|
"vscode": "^1.63.0"
|
|
|
|
},
|
2022-02-14 21:37:52 +01:00
|
|
|
"author": {
|
|
|
|
"name": "Ruben van de Ven"
|
2022-02-14 21:49:41 +01:00
|
|
|
},
|
2022-02-14 21:37:52 +01:00
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
|
|
|
"url": "https://git.rubenvandeven.com/r/vscode-zoterolens.git"
|
|
|
|
},
|
2022-02-04 12:03:05 +01:00
|
|
|
"categories": [
|
|
|
|
"Other"
|
|
|
|
],
|
|
|
|
"activationEvents": [
|
2022-09-27 14:06:30 +02:00
|
|
|
"onLanguage:markdown",
|
2022-11-11 12:08:12 +01:00
|
|
|
"onLanguage:mdx",
|
2022-09-27 14:06:30 +02:00
|
|
|
"onCommand:zoterolens.showInZotero",
|
|
|
|
"onCommand:zoterolens.openZoteroPDF"
|
2022-02-04 12:03:05 +01:00
|
|
|
],
|
|
|
|
"main": "./out/extension.js",
|
|
|
|
"contributes": {
|
|
|
|
"commands": [
|
|
|
|
{
|
2022-02-14 21:37:52 +01:00
|
|
|
"command": "zoterolens.showInZotero",
|
2022-09-27 14:06:30 +02:00
|
|
|
"title": "Open Zotero item by citeref"
|
2022-02-04 12:03:05 +01:00
|
|
|
},
|
|
|
|
{
|
2022-02-14 21:37:52 +01:00
|
|
|
"command": "zoterolens.openZoteroPDF",
|
2022-09-27 14:06:30 +02:00
|
|
|
"title": "Open Zotero PDF attachment by citeref."
|
2022-02-04 12:03:05 +01:00
|
|
|
}
|
2022-09-27 14:06:30 +02:00
|
|
|
],
|
|
|
|
"menus": {
|
|
|
|
"commandPalette": [
|
|
|
|
{
|
|
|
|
"command": "zoterolens.showInZotero",
|
2022-11-11 12:08:12 +01:00
|
|
|
"when": "editorLangId == markdown || editorLangId == mdx"
|
2022-09-27 14:06:30 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "zoterolens.openZoteroPDF",
|
2022-11-11 12:08:12 +01:00
|
|
|
"when": "editorLangId == markdown || editorLangId == mdx"
|
2022-09-27 14:06:30 +02:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"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
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2022-02-04 12:03:05 +01:00
|
|
|
},
|
|
|
|
"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"
|
|
|
|
}
|
2022-09-27 14:06:44 +02:00
|
|
|
}
|