Files
vscode-extension-samples/lsp-user-input-sample/package.json
Matt Bierner 73e249b3c1 Migrate all samples to eslint 9
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
2024-10-26 17:44:03 -07:00

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.6.2",
"typescript-eslint": "^8.11.0",
"webpack": "^5.89.0",
"webpack-cli": "^5.1.4"
}
}