mirror of
https://github.com/microsoft/vscode-extension-samples.git
synced 2026-04-27 16:55:44 +08:00
modernize prevewhtml-sample
This commit is contained in:
@ -4,22 +4,22 @@
|
||||
"description": "A sample illustrating the use of TextContentProviders and the `vscode.previewHtml` command, introduce in 0.10.7",
|
||||
"version": "0.0.10",
|
||||
"publisher": "eg2",
|
||||
"galleryBanner": {
|
||||
"color": "#5c2d91",
|
||||
"theme": "dark"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/Microsoft/vscode-extension-samples/issues",
|
||||
"email": "egamma@microsoft.com"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/Microsoft/vscode-extension-samples.git"
|
||||
},
|
||||
"galleryBanner": {
|
||||
"color": "#5c2d91",
|
||||
"theme": "dark"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/Microsoft/vscode-extension-samples/issues",
|
||||
"email": "egamma@microsoft.com"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/Microsoft/vscode-extension-samples.git"
|
||||
},
|
||||
"homepage": "https://github.com/Microsoft/vscode-extension-samples/tree/master/textdocumentprovider-sample/README.md",
|
||||
"categories": [
|
||||
"Other"
|
||||
],
|
||||
"categories": [
|
||||
"Other"
|
||||
],
|
||||
"engines": {
|
||||
"vscode": "^0.10.7"
|
||||
},
|
||||
@ -51,6 +51,7 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"typescript": "^1.7.5",
|
||||
"vscode": "^0.11.0"
|
||||
"vscode": "^1.0.0",
|
||||
"@types/node": "*"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -3,11 +3,13 @@
|
||||
"module": "commonjs",
|
||||
"target": "es5",
|
||||
"outDir": "out",
|
||||
"noLib": true,
|
||||
"lib": [
|
||||
"es6"
|
||||
],
|
||||
"sourceMap": true,
|
||||
"rootDir": "."
|
||||
"rootDir": "src"
|
||||
},
|
||||
"exclude": [
|
||||
"node_modules"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
1
previewhtml-sample/typings/node.d.ts
vendored
1
previewhtml-sample/typings/node.d.ts
vendored
@ -1 +0,0 @@
|
||||
/// <reference path="../node_modules/vscode/typings/node.d.ts" />
|
||||
@ -1 +0,0 @@
|
||||
/// <reference path="../node_modules/vscode/typings/index.d.ts" />
|
||||
Reference in New Issue
Block a user