You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

140 lines
3.3 KiB
JSON

{
"name": "snekdown",
"displayName": "Snekdown",
"author": {
"email": "trivernis@protonmail.com",
"name": "Trivernis",
"url": "https://github.com/trivernis"
},
"publisher": "trivernis",
"license": "SEE LICENSE IN LICENSE",
"repository": {
"type": "git",
"url": "https://github.com/Trivernis/snekdown-vscode-extension.git"
},
"description": "Preview and commands for the snekdown markdown flavour",
"version": "0.9.3",
"engines": {
"vscode": "^1.52.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onCommand:snekdown.init",
"onCommand:snekdown.preview",
"onCommand:snekdown.preview-side",
"onCommand:snekdown.clear-cache",
"onCommand:snekdown.update-binary",
"onCommand:snekdown.export-html",
"onCommand:snekdown.export-pdf",
"onLanguage:snekdown",
"onLanguage:markdown"
],
"main": "./dist/extension.js",
"contributes": {
"commands": [
{
"command": "snekdown.init",
"title": "Snekdown: Init Project"
},
{
"command": "snekdown.clear-cache",
"title": "Snekdown: Clear Cache"
},
{
"command": "snekdown.update-binary",
"title": "Snekdown: Update Binary"
},
{
"command": "snekdown.preview",
"title": "Snekdown: Open Preview"
},
{
"command": "snekdown.preview-side",
"title": "Snekdown: Open Preview to the Side"
},
{
"command": "snekdown.export-html",
"title": "Snekdown: Export as HTML"
},
{
"command": "snekdown.export-pdf",
"title": "Snekdown: Export as PDF"
}
],
"menus": {
"commandPalette": [
{
"command": "snekdown.preview",
"when": "editorLangId == markdown || editorLangId == snekdown"
},
{
"command": "snekdown.preview-side",
"when": "editorLangId == markdown || editorLangId == snekdown"
},
{
"command": "snekdown.export-html",
"when": "editorLangId == markdown || editorLangId == snekdown"
},
{
"command": "snekdown.export-pdf",
"when": "editorLangId == markdown || editorLangId == snekdown"
}
]
},
"languages": [
{
"id": "snekdown",
"aliases": [
"Snekdown"
],
"extensions": [
".sd.md",
".snekdown",
".sd",
".sdown"
]
}
],
"grammars": [
{
"language": "snekdown",
"scopeName": "text.html.snekdown",
"path": "./syntaxes/snekdown.tmLanguage"
}
]
},
"scripts": {
"vscode:prepublish": "npm run package",
"compile": "webpack --config ./build/node-extension.webpack.config.js",
"watch": "webpack --watch --config ./build/node-extension.webpack.config.js",
"package": "webpack --mode production --devtool hidden-source-map --config ./build/node-extension.webpack.config.js",
"test-compile": "tsc -p ./",
"test-watch": "tsc -watch -p ./",
"pretest": "npm run test-compile && npm run lint",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js"
},
"devDependencies": {
"@types/vscode": "^1.52.0",
"@types/glob": "^7.1.3",
"@types/mocha": "^8.0.4",
"@types/node": "^12.11.7",
"eslint": "^7.15.0",
"@typescript-eslint/eslint-plugin": "^4.9.0",
"@typescript-eslint/parser": "^4.9.0",
"@types/node-fetch": "^2.5.8",
"glob": "^7.1.6",
"mocha": "^8.1.3",
"typescript": "^4.1.2",
"vscode-test": "^1.4.1",
"ts-loader": "^8.0.11",
"webpack": "^5.10.0",
"webpack-cli": "^4.2.0"
},
"dependencies": {
"node-fetch": "^2.6.1"
}
}