{
	"name": "vscode-panfan",
	"publisher": "guanjiameng",
	"displayName": "",
	"description": "攀峰vscode插件",
	"version": "1.0.0",
	"engines": {
		"vscode": "^1.40.1"
	},
	"keywords": [
		"panfeng",
		"攀峰",
		"didi",
		"学习",
		"JavaScript",
		"TypeScript",
		"css",
		"题库",
		"工具",
		"tool",
		"设计稿"
	],
	"icon": "media/logo.png",
	"categories": [
		"Other"
	],
	"activationEvents": [
		"onView:panfeng",
		"*"
	],
	"main": "./out/extension.js",
	"contributes": {
		"commands": [
			{
				"command": "vscode-panfan.helloWorld",
				"title": "Hello World"
			},
			{
				"command": "panfeng.openQuestion",
				"title": "openQuestion"
			},
			{
				"command": "panfeng.refresh",
				"title": "Refresh",
				"icon": {
					"light": "media/light/refresh.svg",
					"dark": "media/dark/refresh.svg"
				}
			},
			{
				"command": "panfeng.login",
				"title": "登录",
				"icon": {
					"light": "media/light/login.svg",
					"dark": "media/dark/login.svg"
				}
			},
			{
				"command": "panfeng.home",
				"title": "平台首页",
				"icon": {
					"light": "media/light/home.svg",
					"dark": "media/dark/home.svg"
				}
			},
			{
				"command": "pfDesign.refresh",
				"title": "Refresh",
				"icon": {
					"light": "media/light/refresh.svg",
					"dark": "media/dark/refresh.svg"
				}
			}
		],
		"menus": {
			"view/title": [
				{
					"command": "panfeng.refresh",
					"when": "view == panfeng",
					"group": "navigation"
				},
				{
					"command": "panfeng.login",
					"when": "view == panfeng",
					"group": "navigation"
				},
				{
					"command": "panfeng.home",
					"when": "view == panfeng",
					"group": "navigation"
				},
				{
					"command": "pfDesign.refresh",
					"when": "view == pfDesign",
					"group": "navigation"
				}
			]
		},
		"viewsContainers": {
			"activitybar": [
				{
					"id": "panfeng",
					"title": "攀峰",
					"icon": "media/panfeng.svg"
				}
			]
		},
		"views": {
			"panfeng": [
				{
					"id": "panfeng",
					"name": "每日一题"
				},
				{
					"id": "pfDesign",
					"type": "webview",
					"name": "天马行空",
					"contextualTitle": "天马行空"
				}
			]
		},
		"viewsWelcome": [
			{
				"view": "panfeng",
				"contents": "学无止境，加载中..."
			}
		],
		"keybindings": [
			{
				"command": "vscode-panfan.helloWorld",
				"key": "ctrl+f10",
				"mac": "cmd+a",
				"when": "editorTextFocus"
			}
		],
		"configuration": [
			{
				"title": "panfeng",
				"properties": {
					"panfeng.workspaceFolder": {
						"type": "string",
						"scope": "application",
						"description": "The path of the workspace folder to store the problem files.",
						"default": ""
					}
				},
				"panfeng.editor.shortcuts": {
					"type": "array",
					"default": [
						"提交答案",
						"查看题解"
					],
					"scope": "application",
					"items": {
						"type": "string",
						"enum": [
							"提交答案",
							"查看题解"
						],
						"enumDescriptions": [
							"Submit your answer.",
							"Show other answers."
						]
					},
					"description": "Customize the shorcuts in editors."
				}
			}
		]
	},
	"scripts": {
		"vscode:prepublish": "npm run compile",
		"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"
	},
	"devDependencies": {
		"@types/fs-extra": "^9.0.13",
		"@types/glob": "^7.1.4",
		"@types/markdown-it": "^12.2.3",
		"@types/mocha": "^9.0.0",
		"@types/node": "14.x",
		"@types/vscode": "^1.40.0",
		"@typescript-eslint/eslint-plugin": "^5.1.0",
		"@typescript-eslint/parser": "^5.1.0",
		"@vscode/test-electron": "^1.6.2",
		"dayjs": "^1.10.7",
		"eslint": "^8.1.0",
		"glob": "^7.1.7",
		"mocha": "^9.1.3",
		"query-string": "^6.14.1",
		"typescript": "^4.4.4"
	},
	"dependencies": {
		"axios": "^0.21.4",
		"fs-extra": "^10.0.0",
		"markdown-it": "^12.3.0"
	}
}
