mirror of
https://github.com/microsoft/vscode-extension-samples.git
synced 2026-04-27 16:55:44 +08:00
54 lines
1.5 KiB
JSON
54 lines
1.5 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": {
|
|
"start": "vscode-test-web --browserType=chromium --extensionDevelopmentPath=.",
|
|
"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": "^10.0.10",
|
|
"@types/vscode": "^1.73.0",
|
|
"@types/webpack-env": "^1.18.8",
|
|
"@vscode/test-web": "^0.0.66",
|
|
"assert": "^2.1.0",
|
|
"eslint": "^9.20.1",
|
|
"mocha": "^11.1.0",
|
|
"process": "^0.11.10",
|
|
"ts-loader": "^9.5.2",
|
|
"typescript": "^5.8.2",
|
|
"typescript-eslint": "^8.16.0",
|
|
"webpack": "^5.98.0",
|
|
"webpack-cli": "^6.0.1"
|
|
}
|
|
}
|