mirror of
https://github.com/microsoft/vscode-extension-samples.git
synced 2026-04-27 16:55:44 +08:00
43 lines
1.5 KiB
JSON
43 lines
1.5 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": "npm run lint:client && npm run lint:server",
|
|
"lint:client": "eslint --config ./client/.eslintrc.json ./client/src/*.ts",
|
|
"lint:server": "eslint --config ./server/.eslintrc.json ./server/src/*.ts",
|
|
"clean": "rimraf client/out && rimraf server/out",
|
|
"postinstall": "cd client && npm install && cd ../server && npm install && cd .."
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^18.11.9",
|
|
"typescript": "^5.3.3",
|
|
"eslint": "^8.56.0",
|
|
"@typescript-eslint/parser": "^6.14.0",
|
|
"webpack": "^5.89.0",
|
|
"webpack-cli": "^5.1.4",
|
|
"ts-loader": "^9.5.1",
|
|
"merge-options": "^3.0.4",
|
|
"rimraf": "^5.0.5"
|
|
}
|
|
} |