Files
vscode-extension-samples/custom-editor-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

69 lines
1.4 KiB
JSON

{
"name": "cat-customs",
"displayName": "Cat Customs",
"description": "Custom Editor API Samples",
"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.65.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onCustomEditor:catCustoms.catScratch",
"onCustomEditor:catCustoms.pawDraw",
"onCommand:catCustoms.pawDraw.new"
],
"main": "./out/extension.js",
"contributes": {
"customEditors": [
{
"viewType": "catCustoms.catScratch",
"displayName": "Cat Scratch",
"selector": [
{
"filenamePattern": "*.cscratch"
}
]
},
{
"viewType": "catCustoms.pawDraw",
"displayName": "Paw Draw",
"selector": [
{
"filenamePattern": "*.pawdraw"
}
]
}
],
"commands": [
{
"command": "catCustoms.pawDraw.new",
"title": "Create new Paw Draw Document",
"category": "Paw Draw"
}
]
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"lint": "eslint \"src/**/*.ts\"",
"watch": "tsc -w -p ./"
},
"devDependencies": {
"@types/node": "^16.11.7",
"@types/vscode": "^1.65.0",
"@typescript-eslint/eslint-plugin": "^5.42.0",
"@typescript-eslint/parser": "^5.42.0",
"eslint": "^8.26.0",
"typescript": "^4.8.4"
}
}