mirror of
https://github.com/microsoft/vscode-extension-samples.git
synced 2026-04-27 16:55:44 +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
53 lines
1.4 KiB
JSON
53 lines
1.4 KiB
JSON
{
|
|
"name": "helloworld-web-sample",
|
|
"displayName": "helloworld-web-sample",
|
|
"description": "HelloWorld example for VS Code in the browser",
|
|
"version": "0.0.1",
|
|
"publisher": "vscode-samples",
|
|
"private": true,
|
|
"license": "MIT",
|
|
"repository": "https://github.com/microsoft/vscode-extension-samples/helloworld-web-sample",
|
|
"engines": {
|
|
"vscode": "^1.74.0"
|
|
},
|
|
"categories": [
|
|
"Other"
|
|
],
|
|
"activationEvents": [],
|
|
"browser": "./dist/web/extension.js",
|
|
"contributes": {
|
|
"commands": [
|
|
{
|
|
"command": "helloworld-web-sample.helloWorld",
|
|
"title": "Hello World"
|
|
}
|
|
]
|
|
},
|
|
"scripts": {
|
|
"test": "vscode-test-web --browserType=chromium --extensionDevelopmentPath=. --extensionTestsPath=dist/web/test/suite/index.js",
|
|
"pretest": "npm run compile-web",
|
|
"vscode:prepublish": "npm run package-web",
|
|
"compile-web": "webpack",
|
|
"watch-web": "webpack --watch",
|
|
"package-web": "webpack --mode production --devtool hidden-source-map",
|
|
"lint": "eslint"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/js": "^9.13.0",
|
|
"@stylistic/eslint-plugin": "^2.9.0",
|
|
"@types/mocha": "^9.0.0",
|
|
"@types/vscode": "^1.73.0",
|
|
"@types/webpack-env": "^1.16.2",
|
|
"@vscode/test-web": "^0.0.22",
|
|
"assert": "^2.0.0",
|
|
"eslint": "^9.13.0",
|
|
"mocha": "^9.2.0",
|
|
"process": "^0.11.10",
|
|
"ts-loader": "^9.2.5",
|
|
"typescript": "^5.6.2",
|
|
"typescript-eslint": "^8.11.0",
|
|
"webpack": "^5.52.1",
|
|
"webpack-cli": "^4.8.0"
|
|
}
|
|
}
|