mirror of
https://github.com/microsoft/vscode-extension-samples.git
synced 2026-04-27 16:55:44 +08:00
Pick up latest eslint to avoid a nasty warning about using an unsupported version of TS Also updates the eslint script to be more scoped on which files it checks
47 lines
1.3 KiB
JSON
47 lines
1.3 KiB
JSON
{
|
|
"name": "notebook-renderer-sample",
|
|
"displayName": "notebook-renderer-sample",
|
|
"description": "Example of a Notebook renderer (visualizer) for GitHub Issues Notebook that doesn't use any frontend frameworks.",
|
|
"version": "0.0.1",
|
|
"private": true,
|
|
"license": "MIT",
|
|
"engines": {
|
|
"vscode": "^1.58.0"
|
|
},
|
|
"categories": [
|
|
"Other"
|
|
],
|
|
"contributes": {
|
|
"notebookRenderer": [
|
|
{
|
|
"id": "notebook-renderer-github-issues",
|
|
"entrypoint": "./out/index.js",
|
|
"displayName": "GitHub Issues Plain Renderer",
|
|
"mimeTypes": [
|
|
"x-application/github-issues"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"scripts": {
|
|
"vscode:prepublish": "webpack --mode production",
|
|
"webpack": "webpack --mode development",
|
|
"webpack-dev": "webpack --mode development --watch",
|
|
"test-compile": "tsc -p ./",
|
|
"lint": "eslint src --ext .ts,.tsx"
|
|
},
|
|
"devDependencies": {
|
|
"@types/vscode-notebook-renderer": "^1.57.8",
|
|
"@types/webpack-env": "^1.17.0",
|
|
"@typescript-eslint/eslint-plugin": "^5.42.0",
|
|
"@typescript-eslint/parser": "^5.42.0",
|
|
"css-loader": "^4.2.0",
|
|
"eslint": "^8.26.0",
|
|
"style-loader": "^1.2.1",
|
|
"ts-loader": "^9.2.2",
|
|
"typescript": "^4.8.4",
|
|
"vscode-notebook-error-overlay": "^1.0.1",
|
|
"webpack": "^5.38.1",
|
|
"webpack-cli": "^4.7.0"
|
|
}
|
|
} |