mirror of
https://github.com/microsoft/vscode-extension-samples.git
synced 2026-04-27 16:55:44 +08:00
This makes sure that if folks get a relatively recent `vscode.d.ts`. It also lets us safely bump up the target to es2024 so you can use all the latest lib additions
91 lines
1.9 KiB
JSON
91 lines
1.9 KiB
JSON
{
|
|
"name": "vscode-memfs",
|
|
"displayName": "MemFS - a file system provider sample",
|
|
"description": "Showcase for the file system provider API, also useful for testing again document that are not on disk.",
|
|
"version": "0.0.3",
|
|
"publisher": "vscode-samples",
|
|
"private": true,
|
|
"license": "MIT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/Microsoft/vscode-extension-samples"
|
|
},
|
|
"engines": {
|
|
"vscode": "^1.100.0"
|
|
},
|
|
"categories": [
|
|
"Other"
|
|
],
|
|
"activationEvents": [
|
|
"onFileSystem:memfs"
|
|
],
|
|
"main": "./out/src/extension",
|
|
"contributes": {
|
|
"commands": [
|
|
{
|
|
"command": "memfs.workspaceInit",
|
|
"title": "Setup Workspace",
|
|
"category": "MemFS"
|
|
},
|
|
{
|
|
"command": "memfs.init",
|
|
"title": "Create Files",
|
|
"category": "MemFS"
|
|
},
|
|
{
|
|
"command": "memfs.reset",
|
|
"title": "Delete Files",
|
|
"category": "MemFS"
|
|
},
|
|
{
|
|
"command": "memfs.deleteFile",
|
|
"title": "Delete \"file.txt\"",
|
|
"category": "MemFS"
|
|
},
|
|
{
|
|
"command": "memfs.addFile",
|
|
"title": "Add \"file.txt\"",
|
|
"category": "MemFS"
|
|
}
|
|
],
|
|
"menus": {
|
|
"commandPalette": [
|
|
{
|
|
"command": "memfs.init",
|
|
"when": "workbenchState == workspace"
|
|
},
|
|
{
|
|
"command": "memfs.reset",
|
|
"when": "workbenchState == workspace"
|
|
},
|
|
{
|
|
"command": "memfs.deleteFile",
|
|
"when": "workbenchState == workspace"
|
|
},
|
|
{
|
|
"command": "memfs.addFile",
|
|
"when": "workbenchState == workspace"
|
|
},
|
|
{
|
|
"command": "memfs.workspaceInit",
|
|
"when": "workbenchState != workspace"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"scripts": {
|
|
"vscode:prepublish": "npm run compile",
|
|
"compile": "tsc -p ./",
|
|
"lint": "eslint",
|
|
"watch": "tsc -watch -p ./"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/js": "^9.13.0",
|
|
"@stylistic/eslint-plugin": "^2.9.0",
|
|
"@types/node": "^22",
|
|
"@types/vscode": "^1.100.0",
|
|
"eslint": "^9.13.0",
|
|
"typescript": "^5.9.2",
|
|
"typescript-eslint": "^8.39.0"
|
|
}
|
|
} |