mirror of
https://github.com/microsoft/vscode-extension-samples.git
synced 2026-04-27 16:55:44 +08:00
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
54 lines
1.4 KiB
JSON
54 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.59.0"
|
|
},
|
|
"categories": [
|
|
"Other"
|
|
],
|
|
"activationEvents": [
|
|
"onCommand:helloworld-web-sample.helloWorld"
|
|
],
|
|
"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 src --ext ts"
|
|
},
|
|
"devDependencies": {
|
|
"@types/mocha": "^9.0.0",
|
|
"@types/vscode": "^1.59.0",
|
|
"@types/webpack-env": "^1.16.2",
|
|
"@typescript-eslint/eslint-plugin": "^5.42.0",
|
|
"@typescript-eslint/parser": "^5.42.0",
|
|
"@vscode/test-web": "^0.0.22",
|
|
"assert": "^2.0.0",
|
|
"eslint": "^8.26.0",
|
|
"mocha": "^9.2.0",
|
|
"process": "^0.11.10",
|
|
"ts-loader": "^9.2.5",
|
|
"typescript": "^4.8.4",
|
|
"webpack": "^5.52.1",
|
|
"webpack-cli": "^4.8.0"
|
|
}
|
|
}
|