vscode-appwrite/package.json

520 lines
18 KiB
JSON
Raw Permalink Normal View History

2021-04-19 21:11:56 +01:00
{
"name": "vscode-appwrite",
2021-04-30 00:12:38 +01:00
"displayName": "Appwrite",
2021-04-19 21:11:56 +01:00
"description": "Manage your Appwrite resources right from VS Code!",
2021-04-30 09:39:56 +01:00
"version": "0.0.2",
2021-04-19 21:11:56 +01:00
"engines": {
"vscode": "^1.55.0"
},
2021-04-29 23:57:28 +01:00
"publisher": "Streamlux",
2021-04-22 08:23:32 +01:00
"repository": {
"url": "https://github.com/streamlux/vscode-appwrite"
},
2021-04-19 21:11:56 +01:00
"categories": [
"Other"
],
2021-04-29 23:57:28 +01:00
"icon": "resources/AppwriteIcon.png",
2021-04-30 00:12:38 +01:00
"galleryBanner": {
2021-04-30 00:23:47 +01:00
"color": "#061F2F",
2021-04-30 00:12:38 +01:00
"theme": "dark"
},
"homepage": "https://github.com/streamlux/vscode-appwrite",
"bugs": {
2021-04-30 06:29:59 +01:00
"url": "https://github.com/streamlux/vscode-appwrite/issues",
"email": "engineering@streamlux.com"
2021-04-30 00:12:38 +01:00
},
"license": "SEE LICENSE IN LICENSE.md",
2021-04-19 21:11:56 +01:00
"activationEvents": [
"onCommand:vscode-appwrite.Connect",
"onView:Appwrite",
"onView:Users",
"onView:Database",
"onView:Health",
"onCommand:vscode-appwrite.AddProject"
],
"main": "./dist/extension.js",
"contributes": {
"commands": [
{
"command": "vscode-appwrite.Connect",
2021-04-22 09:19:22 +01:00
"title": "Connect to Appwrite",
"category": ""
2021-04-19 21:11:56 +01:00
},
{
"command": "vscode-appwrite.CreateUser",
"title": "Create user",
"icon": "$(add)"
},
{
"command": "vscode-appwrite.DeleteUser",
"title": "Delete user",
"icon": "$(trash)"
},
{
"command": "vscode-appwrite.GetUserLogs",
"title": "Get user logs",
"icon": "$(output)"
},
{
"command": "vscode-appwrite.openUserInConsole",
"title": "View user in Appwrite console",
"icon": "$(link-external)"
},
{
"command": "vscode-appwrite.viewUserPrefs",
"title": "View user preferences",
"icon": "$(json)"
},
{
"command": "vscode-appwrite.refreshEntry",
"title": "Refresh",
"icon": "$(refresh)"
},
{
"command": "vscode-appwrite.copyUserId",
"title": "Copy user ID",
"icon": "$(clippy)"
},
{
"command": "vscode-appwrite.copyUserEmail",
"title": "Copy user email",
"icon": "$(clippy)"
},
{
"command": "vscode-appwrite.refreshUsersList",
"title": "Refresh users list",
"icon": "$(refresh)"
},
{
2021-04-22 08:23:32 +01:00
"command": "vscode-appwrite.OpenUsersDocumentation",
"title": "Open documentation",
"icon": "$(book)"
},
{
"command": "vscode-appwrite.OpenDatabaseDocumentation",
2021-04-19 21:11:56 +01:00
"title": "Open documentation",
"icon": "$(book)"
},
{
"command": "vscode-appwrite.viewDocumentAsJson",
"title": "View as JSON"
},
{
"command": "vscode-appwrite.viewCollectionAsJson",
"title": "View collection as JSON"
},
{
"command": "vscode-appwrite.refreshCollection",
"title": "Refresh",
"icon": "$(refresh)"
},
{
"command": "vscode-appwrite.createRule",
"title": "Create collection rule",
"icon": "$(add)"
},
{
"command": "vscode-appwrite.removeRule",
"title": "Remove collection rule"
},
{
"command": "vscode-appwrite.deleteDocument",
"title": "Delete document"
},
{
"command": "vscode-appwrite.deleteCollection",
"title": "Delete collection"
},
{
"command": "vscode-appwrite.refreshCollectionsList",
"title": "Refresh",
"icon": "$(refresh)"
},
{
"command": "vscode-appwrite.createCollection",
"title": "Create collection",
"icon": "$(add)"
},
{
"command": "vscode-appwrite.createPermission",
"title": "Create permission",
"icon": "$(add)"
},
{
"command": "vscode-appwrite.deletePermission",
"title": "Delete permission",
"icon": "$(trash)"
},
{
"command": "vscode-appwrite.editPermission",
"title": "Edit permission",
"icon": "$(edit)"
2021-04-22 08:23:32 +01:00
},
{
"command": "vscode-appwrite.refreshHealth",
"title": "Refresh health",
"icon": "$(refresh)"
},
{
"command": "vscode-appwrite.openHealthDocumentation",
"title": "Open health documentation",
"icon": "$(book)"
2021-04-30 06:29:59 +01:00
},
{
"command": "vscode-appwrite.refreshStorage",
"title": "Refresh storage",
"icon": "$(refresh)"
},
{
"command": "vscode-appwrite.openStorageDocumentation",
"title": "Open storage documentation",
"icon": "$(book)"
},
{
"command": "vscode-appwrite.addProject",
"title": "Add Appwrite project",
"icon": "$(plus)"
},
{
"command": "vscode-appwrite.setActiveProject",
"title": "Set as active"
},
{
"command": "vscode-appwrite.refreshProjects",
"title": "Refresh projects",
"icon": "$(refresh)"
},
{
"command": "vscode-appwrite.removeProject",
"title": "Remove project",
"icon": "$(trash)"
2021-04-19 21:11:56 +01:00
}
],
"views": {
"Appwrite": [
{
"id": "Users",
"name": "Users"
},
{
"id": "Database",
"name": "Database"
},
{
"id": "Storage",
"name": "Storage"
},
{
"id": "Health",
"name": "Health"
},
{
"id": "Projects",
"name": "Projects"
2021-04-19 21:11:56 +01:00
}
]
},
"viewsWelcome": [
{
"view": "Users",
"contents": "Connect to Appwrite to get started.\n[Connect to Appwrite](command:vscode-appwrite.Connect)"
},
{
"view": "Projects",
"contents": "Add an Appwrite project to get started.\n[Connect to Appwrite](command:vscode-appwrite.Connect)"
2021-04-19 21:11:56 +01:00
}
],
"menus": {
"view/title": [
{
2021-04-22 08:23:32 +01:00
"command": "vscode-appwrite.OpenUsersDocumentation",
2021-04-19 21:11:56 +01:00
"when": "view == Users",
"group": "navigation"
},
2021-04-22 08:23:32 +01:00
{
"command": "vscode-appwrite.OpenDatabaseDocumentation",
"when": "view == Database",
"group": "navigation"
},
2021-04-19 21:11:56 +01:00
{
"command": "vscode-appwrite.refreshUsersList",
"when": "view == Users",
"group": "navigation"
},
{
"command": "vscode-appwrite.CreateUser",
"when": "view == Users",
"group": "navigation"
},
{
"command": "vscode-appwrite.refreshCollectionsList",
"when": "view == Database",
"group": "navigation"
},
{
"command": "vscode-appwrite.createCollection",
"when": "view == Database",
"group": "navigation"
2021-04-22 08:23:32 +01:00
},
{
"command": "vscode-appwrite.refreshHealth",
"when": "view == Health",
"group": "navigation"
},
{
"command": "vscode-appwrite.openHealthDocumentation",
"when": "view == Health",
"group": "navigation"
2021-04-30 06:29:59 +01:00
},
{
"command": "vscode-appwrite.refreshStorage",
"when": "view == Storage",
"group": "navigation"
},
{
"command": "vscode-appwrite.openStorageDocumentation",
"when": "view == Storage",
"group": "navigation"
},
{
"command": "vscode-appwrite.refreshProjects",
"when": "view == Projects",
"group": "navigation"
},
{
"command": "vscode-appwrite.addProject",
"when": "view == Projects",
"group": "navigation"
2021-04-19 21:11:56 +01:00
}
],
"view/item/context": [
{
"command": "vscode-appwrite.viewUserPrefs",
2021-04-22 09:19:22 +01:00
"when": "viewItem == user"
2021-04-19 21:11:56 +01:00
},
{
"command": "vscode-appwrite.DeleteUser",
"when": "viewItem == user"
},
{
"command": "vscode-appwrite.GetUserLogs",
"when": "viewItem == user"
},
{
"command": "vscode-appwrite.openUserInConsole",
"when": "view == Users && viewItem == user",
"group": "inline"
},
{
"command": "vscode-appwrite.copyUserId",
"when": "viewItem == user.id",
"group": "inline"
},
{
"command": "vscode-appwrite.copyUserEmail",
"when": "viewItem == user.email",
"group": "inline"
},
{
"command": "vscode-appwrite.viewDocumentAsJson",
"when": "viewItem == document"
},
{
"command": "vscode-appwrite.viewCollectionAsJson",
"when": "viewItem == collection"
},
{
"command": "vscode-appwrite.deleteCollection",
"when": "viewItem == collection"
},
{
"command": "vscode-appwrite.createRule",
"when": "viewItem == collection.rules",
"group": "inline"
},
{
"command": "vscode-appwrite.createRule",
"when": "viewItem == collection.rules"
},
{
"command": "vscode-appwrite.removeRule",
"when": "viewItem == collection.rule"
},
{
"command": "vscode-appwrite.refreshCollection",
"when": "viewItem == collection"
},
{
"command": "vscode-appwrite.deleteDocument",
"when": "viewItem == document"
},
{
"command": "vscode-appwrite.createPermission",
"when": "viewItem =~ /^(permissions)$/"
},
{
"command": "vscode-appwrite.createPermission",
"when": "viewItem =~ /^(permissions)$/",
"group": "inline"
},
{
"command": "vscode-appwrite.editPermission",
"when": "viewItem =~ /^(permission)$/",
"group": "inline"
},
{
"command": "vscode-appwrite.editPermission",
"when": "viewItem =~ /^(permission)$/"
},
{
"command": "vscode-appwrite.deletePermission",
"when": "viewItem =~ /^(permission)$/"
},
{
"command": "vscode-appwrite.deletePermission",
"when": "viewItem =~ /^(permission)$/",
"group": "inline"
},
{
"command": "vscode-appwrite.setActiveProject",
"when": "viewItem =~ /^(appwriteProject)$/",
"group": "inline"
},
{
"command": "vscode-appwrite.removeProject",
"when": "viewItem =~ /(appwriteProject)/"
2021-04-19 21:11:56 +01:00
}
2021-04-22 09:19:22 +01:00
],
"commandPalette": [
{
"command": "vscode-appwrite.Connect"
},
{
"command": "vscode-appwrite.CreateUser"
},
{
"command": "vscode-appwrite.DeleteUser",
"when": "viewItem == user"
},
{
"command": "vscode-appwrite.GetUserLogs",
"when": "viewItem == user"
},
{
"command": "vscode-appwrite.openUserInConsole",
"when": "viewItem == user"
},
{
"command": "vscode-appwrite.viewUserPrefs",
"when": "viewItem == user"
},
{
"command": "vscode-appwrite.copyUserId",
"when": "viewItem == user.id"
},
{
"command": "vscode-appwrite.copyUserEmail",
"when": "viewItem == user.email"
},
{
"command": "vscode-appwrite.viewDocumentAsJson",
"when": "viewItem == document"
},
{
"command": "vscode-appwrite.viewCollectionAsJson",
"when": "viewItem == collection"
},
{
"command": "vscode-appwrite.refreshCollection",
"when": "viewItem == collection"
},
{
"command": "vscode-appwrite.createRule",
"when": "viewItem == collection.rules"
},
{
"command": "vscode-appwrite.removeRule",
"when": "viewItem == rule"
},
{
"command": "vscode-appwrite.deleteDocument",
"when": "viewItem == document"
},
{
"command": "vscode-appwrite.deleteCollection",
"when": "viewItem == collection"
},
{
"command": "vscode-appwrite.createPermission",
"when": "viewItem == collection.permissions"
},
{
"command": "vscode-appwrite.deletePermission",
"when": "viewItem =~ /^(permission)$/"
},
{
"command": "vscode-appwrite.editPermission",
"when": "viewItem =~ /^(permission)$/"
}
2021-04-19 21:11:56 +01:00
]
},
"viewsContainers": {
"activitybar": [
{
"id": "Appwrite",
"title": "Appwrite",
2021-04-22 08:23:32 +01:00
"icon": "./resources/vscode-appwrite.svg"
2021-04-19 21:11:56 +01:00
}
]
},
"configuration": {
"title": "Appwrite",
"properties": {
"appwrite.projects": {
"type": "array",
"default": [],
2021-04-22 08:23:32 +01:00
"markdownDescription": "List of Appwrite project configurations. You can use the Connect command to set this up, or see [docs](https://github.com/streamlux/vscode-appwrite/) for more information."
},
"appwrite.activeProjectId": {
"type": "string",
"default": "",
"markdownDescription": "Project id of the active project, see [docs](https://github.com/streamlux/vscode-appwrite/) for more information."
2021-04-19 21:11:56 +01:00
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run package",
"compile": "webpack",
"watch": "webpack --watch",
"package": "webpack --mode production --devtool hidden-source-map",
"test-compile": "tsc -p ./",
"test-watch": "tsc -watch -p ./",
"pretest": "npm run test-compile && npm run lint",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js"
},
"devDependencies": {
"@types/fs-extra": "^9.0.11",
"@types/glob": "^7.1.3",
"@types/mocha": "^8.0.4",
"@types/node": "^12.11.7",
"@types/vscode": "^1.55.0",
"@typescript-eslint/eslint-plugin": "^4.14.1",
"@typescript-eslint/parser": "^4.14.1",
"eslint": "^7.19.0",
"glob": "^7.1.6",
"mocha": "^8.2.1",
"ts-loader": "^8.0.14",
"typescript": "^4.1.3",
"vscode-test": "^1.5.0",
"webpack": "^5.19.0",
"webpack-cli": "^4.4.0"
},
"dependencies": {
2021-04-22 08:23:32 +01:00
"dayjs": "^1.10.4",
2021-04-19 21:11:56 +01:00
"fs-extra": "^9.1.0",
"node-appwrite": "^2.1.0"
}
}