mirror of
https://github.com/microsoft/vscode-extension-samples.git
synced 2026-04-27 16:55:44 +08:00
Switches all samples to use eslint 9 with flat configs. I've tried to migrate existing settings as much as possible. However our eslint configs were also inconsistent so I've tried to align these too
48 lines
1.3 KiB
JSON
48 lines
1.3 KiB
JSON
{
|
|
"name": "notebook-extend-markdown-renderer-sample",
|
|
"displayName": "notebook-extend-markdown-renderer-sample",
|
|
"description": "Example of a Notebook renderer that extends VS Code's built-in notebook markdown rendering with :emoji: support.",
|
|
"version": "0.0.1",
|
|
"private": true,
|
|
"license": "MIT",
|
|
"engines": {
|
|
"vscode": "^1.69.0"
|
|
},
|
|
"categories": [
|
|
"Other"
|
|
],
|
|
"contributes": {
|
|
"notebookRenderer": [
|
|
{
|
|
"id": "vscode-samples.markdown-it.emoji-extension",
|
|
"displayName": "Markdown it Emoji renderer",
|
|
"entrypoint": {
|
|
"extends": "vscode.markdown-it-renderer",
|
|
"path": "./out/emoji.js"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"scripts": {
|
|
"vscode:prepublish": "webpack --mode production",
|
|
"webpack": "webpack --mode development",
|
|
"webpack-dev": "webpack --mode development --watch",
|
|
"test-compile": "tsc -p ./",
|
|
"lint": "eslint"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/js": "^9.13.0",
|
|
"@stylistic/eslint-plugin": "^2.9.0",
|
|
"@types/markdown-it": "^12.2.3",
|
|
"@types/vscode-notebook-renderer": "^1.57.8",
|
|
"@types/webpack-env": "^1.17.0",
|
|
"eslint": "^9.13.0",
|
|
"markdown-it-emoji": "^2.0.2",
|
|
"ts-loader": "^9.2.2",
|
|
"typescript": "^5.6.2",
|
|
"typescript-eslint": "^8.11.0",
|
|
"webpack": "^5.38.1",
|
|
"webpack-cli": "^4.7.0"
|
|
}
|
|
}
|