Files
vscode-extension-samples/notebook-serializer/package.json
Rob Lourens 739e41ab50 Add notebook serializer sample
Ported from the microsoft/notebook-extension-samples repo
2022-12-30 11:51:28 -08:00

72 lines
2.0 KiB
JSON

{
"name": "notebook-serializer-example",
"displayName": "notebook-serializer-example",
"description": "Notebook using Serializer API example",
"version": "0.0.1",
"engines": {
"vscode": "^1.74.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onNotebook:test-notebook-renderer"
],
"main": "./out/extension/extension.js",
"contributes": {
"notebookRenderer": [
{
"id": "notebook-serializer-example",
"entrypoint": "./out/client/index.js",
"displayName": "notebook-serializer-example",
"mimeTypes": [
"x-application/sample-json-renderer"
]
}
],
"notebooks": [
{
"type": "test-notebook-renderer",
"displayName": "Sample Notebook",
"selector": [
{
"filenamePattern": "*.sample-json-notebook"
}
]
}
]
},
"scripts": {
"vscode:prepublish": "npm run compile && node out/test/checkNoTestProvider.js",
"compile": "npm run compile:extension && npm run compile:client",
"compile:extension": "tsc -b",
"compile:client": "webpack --mode production",
"lint": "eslint src --ext ts",
"watch": "concurrently -r \"npm:watch:*\"",
"watch:extension": "tsc -b --watch",
"watch:client": "webpack --mode development --watch"
},
"devDependencies": {
"@types/glob": "^7.1.3",
"@types/mocha": "^8.2.2",
"@types/node": "14.x",
"@types/vscode": "^1.74.0",
"@types/vscode-notebook-renderer": "^1.72.0",
"@types/webpack-env": "^1.16.0",
"@typescript-eslint/eslint-plugin": "^4.26.0",
"@typescript-eslint/parser": "^4.26.0",
"concurrently": "^5.3.0",
"css-loader": "^4.2.0",
"eslint": "^7.27.0",
"fork-ts-checker-webpack-plugin": "^5.0.14",
"glob": "^7.1.7",
"mocha": "^10.2.0",
"style-loader": "^1.2.1",
"ts-loader": "^9.2.2",
"typescript": "^4.3.2",
"vscode-notebook-error-overlay": "^1.0.1",
"webpack": "^5.38.1",
"webpack-cli": "^4.7.0"
}
}