Files
vscode-extension-samples/fsconsumer-sample/package.json
Matt Bierner 42e83bf2f3 Bump eslint versions and update lint scripts
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
2022-11-04 13:52:32 -07:00

59 lines
1.3 KiB
JSON

{
"name": "vscode-memfs",
"displayName": "FileSystem Consumer Sample",
"description": "Showcase for using the workspace.fs.-API which allows reading and writing files and folder",
"version": "0.0.1",
"publisher": "vscode-samples",
"private": true,
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/Microsoft/vscode-extension-samples"
},
"engines": {
"vscode": "^1.37.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onCommand:fs/openJS",
"onCommand:fs/sumSizes",
"onCommand:fs/readWriteFile"
],
"main": "./out/src/extension",
"contributes": {
"commands": [
{
"command": "fs/openJS",
"title": "Open JavaScript-file for TypeScript-file...",
"category": "FS"
},
{
"command": "fs/sumSizes",
"title": "Show folder information for current file",
"category": "FS"
},
{
"command": "fs/readWriteFile",
"title": "Read and Write file",
"category": "FS"
}
]
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"lint": "eslint \"src/**/*.ts\"",
"watch": "tsc -watch -p ./"
},
"devDependencies": {
"@types/node": "^16.11.7",
"@types/vscode": "^1.37.0",
"@typescript-eslint/eslint-plugin": "^5.42.0",
"@typescript-eslint/parser": "^5.42.0",
"eslint": "^8.26.0",
"typescript": "^4.8.4"
}
}