mirror of
https://github.com/microsoft/vscode-extension-samples.git
synced 2026-06-13 07:10:26 +08:00
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
57 lines
1.4 KiB
JSON
57 lines
1.4 KiB
JSON
{
|
|
"name": "wasm-component-model-resource",
|
|
"description": "An example implementing a calculator using a resource.",
|
|
"author": "Microsoft Corporation",
|
|
"license": "MIT",
|
|
"version": "1.0.0",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/Microsoft/vscode-extension-samples"
|
|
},
|
|
"publisher": "vscode-samples",
|
|
"categories": [],
|
|
"keywords": [
|
|
"WASM",
|
|
"Component Model"
|
|
],
|
|
"engines": {
|
|
"vscode": "^1.88.0"
|
|
},
|
|
"main": "./out/extension",
|
|
"browser": "./dist/web/extension",
|
|
"contributes": {
|
|
"commands": [
|
|
{
|
|
"command": "vscode-samples.wasm-component-model.run",
|
|
"category": "Samples",
|
|
"title": "Run Calc Service"
|
|
}
|
|
]
|
|
},
|
|
"dependencies": {
|
|
"@vscode/wasm-component-model": "1.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/js": "^9.13.0",
|
|
"@stylistic/eslint-plugin": "^2.9.0",
|
|
"@types/node": "^20",
|
|
"@types/vscode": "1.88.0",
|
|
"esbuild": "^0.20.2",
|
|
"eslint": "^9.13.0",
|
|
"serve": "^14.2.1",
|
|
"typescript": "^5.6.2",
|
|
"typescript-eslint": "^8.11.0"
|
|
},
|
|
"scripts": {
|
|
"vscode:prepublish": "npm run compile",
|
|
"build": "npm run compile && cargo build --target wasm32-unknown-unknown",
|
|
"wit-bindgen": "wit-bindgen rust --out-dir ./src ./wit",
|
|
"compile": "tsc -b",
|
|
"watch": "tsc -b -w",
|
|
"lint": "eslint",
|
|
"esbuild": "node ./bin/esbuild.js",
|
|
"generate:model": "wit2ts --outDir ./src ./wit",
|
|
"serve": "serve --cors -l 5000 --ssl-cert $HOME/certs/localhost.pem --ssl-key $HOME/certs/localhost-key.pem"
|
|
}
|
|
}
|