nf-VSCodeExtension/package.json

130 строки
3.6 KiB
JSON

{
"name": "vscode-nanoframework",
"displayName": ".NET nanoFramework",
"description": "Build, deploy and flash your .NET nanoFramework solutions",
"icon": "assets/nF-logo-128.png",
"galleryBanner": {
"color": "#4CB48C",
"theme": "dark"
},
"license": "MIT",
"preview": true,
"version": "0.0.0-placeholder",
"overview": "vscode-marketplace-overview.md",
"priceCategory": "free",
"publisher": "nanoframework",
"private": false,
"qna": true,
"identity": {
"internalName": "vscode-nanoframework"
},
"assetFiles": [
{
"pathOnDisk": "nano-vs-code.gif",
"targetPath": "nano-vs-code.gif"
}
],
"engines": {
"vscode": "^1.62.0"
},
"repository": {
"type": "git",
"url": "https://github.com/nanoframework/nf-VSCodeExtension.git"
},
"homepage": "https://nanoframework.net",
"bugs": {
"url": "https://github.com/nanoframework/Home/issues"
},
"categories": [
"Programming Languages",
"Other"
],
"activationEvents": [
"onCommand:vscode-nanoframework.nfbuild",
"onCommand:vscode-nanoframework.nfdeploy",
"onCommand:vscode-nanoframework.nfflash",
"onCommand:vscode-nanoframework.nfdeployalt"
],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "vscode-nanoframework.nfbuild",
"title": "nanoFramework: Build Project"
},
{
"command": "vscode-nanoframework.nfdeploy",
"title": "nanoFramework: Deploy Project"
},
{
"command": "vscode-nanoframework.nfflash",
"title": "nanoFramework: Flash device"
},
{
"command": "vscode-nanoframework.nfdeployalt",
"title": "nanoFramework: Deploy Project (alternative method)"
}
],
"menus": {
"explorer/context": [
{
"when": "resourceExtname == .sln",
"command": "vscode-nanoframework.nfbuild",
"group": "navigation@1"
},
{
"when": "resourceExtname == .sln",
"command": "vscode-nanoframework.nfdeploy",
"group": "navigation@1"
},
{
"when": "resourceExtname == .sln",
"command": "vscode-nanoframework.nfdeployalt",
"group": "navigation@1"
}
]
}
},
"scripts": {
"vscode:prepublish": "npm run build:prod",
"build": "webpack --mode development",
"build:prod": "webpack --mode production && npm run compile",
"webpack": "webpack --mode development",
"webpack-dev": "webpack --mode development --watch",
"postinstall": "gulp build",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && npm run lint",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js",
"clean": "rimraf ./out ./coverage",
"package": "npm run clean && nbgv-setversion && vsce package --githubBranch develop --out ./vscode-nanoframework.vsix && nbgv cloud -a -c"
},
"devDependencies": {
"@types/glob": "^7.2.0",
"@types/mocha": "^9.0.0",
"@types/vscode": "^1.62.0",
"@typescript-eslint/eslint-plugin": "^4.31.1",
"@typescript-eslint/parser": "^4.31.1",
"@vscode/test-electron": "^1.6.2",
"download": "^8.0.0",
"eslint": "^7.32.0",
"glob": "^7.2.0",
"gulp": "^4.0.2",
"mocha": "^9.1.3",
"nerdbank-gitversioning": "^3.4.244",
"ts-loader": "^9.2.6",
"typescript": "^4.5.2",
"vsce": "^2.3.0",
"webpack": "^5.64.1",
"webpack-cli": "^4.9.1"
},
"dependencies": {
"@types/node": "14.x",
"axios": "^0.24.0",
"extract-zip": "^2.0.1",
"globby": "^11.0.4",
"node-usb-native": "^0.0.20"
}
}