mirror of
https://github.com/microsoft/vscode-extension-samples.git
synced 2026-06-13 07:10:26 +08:00
Switches all samples to use eslint 9 with flat configs. I've tried to migrate existing settings as much as possible. However our eslint configs were also inconsistent so I've tried to align these too
59 lines
1.2 KiB
JSON
59 lines
1.2 KiB
JSON
{
|
|
"name": "l10n-sample",
|
|
"displayName": "l10n-sample",
|
|
"description": "Sample that shows how to localize an extension",
|
|
"version": "0.1.0",
|
|
"publisher": "vscode-samples",
|
|
"private": true,
|
|
"license": "MIT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/Microsoft/vscode-extension-samples"
|
|
},
|
|
"engines": {
|
|
"vscode": "^1.74.0"
|
|
},
|
|
"categories": [
|
|
"Other"
|
|
],
|
|
"activationEvents": [],
|
|
"main": "./out/extension.js",
|
|
"l10n": "./l10n",
|
|
"contributes": {
|
|
"commands": [
|
|
{
|
|
"command": "extension.sayHello",
|
|
"title": "%extension.sayHello.title%"
|
|
},
|
|
{
|
|
"command": "extension.sayBye",
|
|
"title": "%extension.sayBye.title%"
|
|
}
|
|
]
|
|
},
|
|
"scripts": {
|
|
"vscode:prepublish": "npm run compile",
|
|
"compile": "tsc -p ./",
|
|
"watch": "tsc -watch -p ./",
|
|
"lint": "eslint"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/js": "^9.13.0",
|
|
"@stylistic/eslint-plugin": "^2.9.0",
|
|
"@types/glob": "^7.2.0",
|
|
"@types/mocha": "^9.1.0",
|
|
"@types/node": "^20",
|
|
"@types/vscode": "^1.73.0",
|
|
"@vscode/l10n-dev": "^0.0.18",
|
|
"@vscode/test-electron": "^2.3.9",
|
|
"eslint": "^9.13.0",
|
|
"glob": "^7.2.0",
|
|
"mocha": "^9.2.2",
|
|
"typescript": "^5.6.2",
|
|
"typescript-eslint": "^8.11.0"
|
|
},
|
|
"dependencies": {
|
|
"@vscode/l10n": "^0.0.10"
|
|
}
|
|
}
|