mirror of
https://github.com/microsoft/vscode-extension-samples.git
synced 2026-04-27 16:55:44 +08:00
This fixes a warning about running on an unsupported TypeScript version. Also makes sure we do not lint any `.vscode-test` contents if they are present
44 lines
1.4 KiB
JSON
44 lines
1.4 KiB
JSON
{
|
|
"name": "vscode-codeaction-ui-sample",
|
|
"displayName": "Code Action UI Sample",
|
|
"description": "Sample to demonstrate code actions with UI",
|
|
"version": "1.0.0",
|
|
"author": "Microsoft Corporation",
|
|
"license": "MIT",
|
|
"keywords": [
|
|
"multi-root ready"
|
|
],
|
|
"engines": {
|
|
"vscode": "^1.84.0"
|
|
},
|
|
"activationEvents": [
|
|
"onLanguage:plaintext"
|
|
],
|
|
"main": "./client/out/extension",
|
|
"scripts": {
|
|
"vscode:prepublish": "npm run webpack",
|
|
"webpack": "npm run clean && webpack --mode production --config ./client/webpack.config.js && webpack --mode production --config ./server/webpack.config.js",
|
|
"webpack:dev": "npm run clean && webpack --mode none --config ./client/webpack.config.js && webpack --mode none --config ./server/webpack.config.js",
|
|
"compile": "tsc -b",
|
|
"compile:client": "tsc -b ./client/tsconfig.json",
|
|
"compile:server": "tsc -b ./server/tsconfig.json",
|
|
"watch": "tsc -b -w",
|
|
"lint": "eslint",
|
|
"clean": "rimraf client/out && rimraf server/out",
|
|
"postinstall": "cd client && npm install && cd ../server && npm install && cd .."
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/js": "^9.13.0",
|
|
"@stylistic/eslint-plugin": "^2.9.0",
|
|
"@types/node": "^20",
|
|
"eslint": "^9.13.0",
|
|
"merge-options": "^3.0.4",
|
|
"rimraf": "^5.0.5",
|
|
"ts-loader": "^9.5.1",
|
|
"typescript": "^5.7.2",
|
|
"typescript-eslint": "^8.16.0",
|
|
"webpack": "^5.89.0",
|
|
"webpack-cli": "^5.1.4"
|
|
}
|
|
}
|