Skip to content

Instantly share code, notes, and snippets.

@pratheeshrussell
Last active March 16, 2020 18:12
Show Gist options
  • Save pratheeshrussell/d82579f179fdd58d18819faec8c82adb to your computer and use it in GitHub Desktop.
Save pratheeshrussell/d82579f179fdd58d18819faec8c82adb to your computer and use it in GitHub Desktop.
VS Code Extension- package.json (final)
{
"name": "flutter-commands",
"displayName": "Flutter Commands",
"description": "An extension to simplify flutter commands",
"publisher": "PratheeshRussell",
"icon": "resources/icon.png",
"license": "MIT",
"version": "0.0.1",
"repository": {
"type": "git",
"url": "https://github.com/pratheeshrussell/flutter-commands-vscode-ext.git"
},
"engines": {
"vscode": "^1.43.0"
},
"categories": [
"Other"
],
"keywords": [
"flutter",
"commands"
],
"activationEvents": [
"*"
],
"main": "./extension.js",
"contributes": {
"commands": [
{
"command": "extension.runBuildInParts",
"title": "Build Split APK",
"category": "Flutter Commands"
},
{
"command": "extension.runBuildFat",
"title": "Build Fat APK",
"category": "Flutter Commands"
},
{
"command": "extension.runPackageRepair",
"title": "Repair Imports",
"category": "Flutter Commands"
},
{
"command": "extension.runProjectRepair",
"title": "Repair Project",
"category": "Flutter Commands"
}
],
"viewsContainers": {
"activitybar": [
{
"id": "flutter-commands-container",
"title": "Flutter Commands",
"icon": "resources/flutter-commands-icon.svg"
}
]
},
"views": {
"flutter-commands-container": [
{
"id": "flutter-Commands",
"name": "Commands",
"when": "flutter-commands-is-active"
}
]
},
"menus": {
"commandPalette": [
{
"command": "extension.runBuildInParts",
"when": "flutter-commands-is-active"
},
{
"command": "extension.runBuildFat",
"when": "flutter-commands-is-active"
},
{
"command": "extension.runPackageRepair",
"when": "flutter-commands-is-active"
},
{
"command": "extension.runProjectRepair",
"when": "flutter-commands-is-active"
}
]
}
},
"scripts": {
"lint": "eslint .",
"pretest": "npm run lint",
"test": "node ./test/runTest.js"
},
"extensionDependencies": [
"Dart-Code.dart-code","dart-code.flutter"
],
"devDependencies": {
"@types/glob": "^7.1.1",
"@types/mocha": "^7.0.1",
"@types/node": "^12.11.7",
"@types/vscode": "^1.43.0",
"eslint": "^6.8.0",
"glob": "^7.1.6",
"mocha": "^7.0.1",
"typescript": "^3.7.5",
"vscode-test": "^1.3.0"
},
"__metadata": {
"publisherDisplayName": "Pratheesh Russell.S"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment