2019-03-12 23:24:46 +00:00
|
|
|
{
|
|
|
|
|
"name": "source-control-sample",
|
|
|
|
|
"displayName": "source-control-sample",
|
|
|
|
|
"description": "Source control VS Code extension sample",
|
|
|
|
|
"version": "0.0.1",
|
|
|
|
|
"publisher": "vscode-samples",
|
|
|
|
|
"engines": {
|
2019-05-09 14:50:48 -07:00
|
|
|
"vscode": "^1.32.0"
|
2019-03-12 23:24:46 +00:00
|
|
|
},
|
|
|
|
|
"categories": [
|
2019-03-19 03:06:13 +01:00
|
|
|
"SCM Providers"
|
2019-03-12 23:24:46 +00:00
|
|
|
],
|
|
|
|
|
"activationEvents": [
|
2019-03-19 03:06:13 +01:00
|
|
|
"onCommand:extension.source-control.open",
|
2019-08-05 11:00:06 +02:00
|
|
|
"onCommand:extension.source-control.commit",
|
|
|
|
|
"onCommand:extension.source-control.refresh",
|
|
|
|
|
"onCommand:extension.source-control.discard",
|
|
|
|
|
"onCommand:extension.source-control.checkout",
|
|
|
|
|
"onCommand:extension.source-control.browse",
|
2019-03-19 03:06:13 +01:00
|
|
|
"workspaceContains:.jsfiddle"
|
2019-03-12 23:24:46 +00:00
|
|
|
],
|
|
|
|
|
"main": "./out/extension.js",
|
|
|
|
|
"contributes": {
|
|
|
|
|
"commands": [
|
|
|
|
|
{
|
|
|
|
|
"command": "extension.source-control.open",
|
2019-08-05 10:13:52 +02:00
|
|
|
"title": "Open JS Fiddle"
|
2019-03-12 23:24:46 +00:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"command": "extension.source-control.commit",
|
|
|
|
|
"title": "Commit local changes to JS Fiddle",
|
|
|
|
|
"icon": {
|
|
|
|
|
"light": "resources/icons/light/check.svg",
|
|
|
|
|
"dark": "resources/icons/dark/check.svg"
|
2019-03-19 22:17:35 +01:00
|
|
|
}
|
2019-03-12 23:24:46 +00:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"command": "extension.source-control.refresh",
|
|
|
|
|
"title": "Refresh JS Fiddle status",
|
|
|
|
|
"icon": {
|
|
|
|
|
"light": "resources/icons/light/refresh.svg",
|
|
|
|
|
"dark": "resources/icons/dark/refresh.svg"
|
2019-03-19 22:17:35 +01:00
|
|
|
}
|
2019-03-12 23:24:46 +00:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"command": "extension.source-control.discard",
|
|
|
|
|
"title": "Discards local changes to JS Fiddle",
|
|
|
|
|
"icon": {
|
|
|
|
|
"light": "resources/icons/light/discard.svg",
|
|
|
|
|
"dark": "resources/icons/dark/discard.svg"
|
2019-03-19 22:17:35 +01:00
|
|
|
}
|
2019-03-12 23:24:46 +00:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"command": "extension.source-control.checkout",
|
|
|
|
|
"title": "Checkout another version of this Fiddle",
|
|
|
|
|
"icon": {
|
|
|
|
|
"light": "resources/icons/light/refresh.svg",
|
|
|
|
|
"dark": "resources/icons/dark/refresh.svg"
|
2019-03-19 22:17:35 +01:00
|
|
|
}
|
2019-05-17 00:52:52 +02:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"command": "extension.source-control.browse",
|
|
|
|
|
"title": "Open current Fiddle in the default browser"
|
2019-03-12 23:24:46 +00:00
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"menus": {
|
|
|
|
|
"scm/title": [
|
|
|
|
|
{
|
|
|
|
|
"command": "extension.source-control.commit",
|
|
|
|
|
"group": "navigation",
|
|
|
|
|
"when": "scmProvider == jsfiddle"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"command": "extension.source-control.discard",
|
|
|
|
|
"group": "navigation",
|
|
|
|
|
"when": "scmProvider == jsfiddle"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"command": "extension.source-control.refresh",
|
|
|
|
|
"group": "navigation",
|
|
|
|
|
"when": "scmProvider == jsfiddle"
|
2019-05-17 00:52:52 +02:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"command": "extension.source-control.browse",
|
|
|
|
|
"when": "scmProvider == jsfiddle"
|
2019-03-12 23:24:46 +00:00
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"scripts": {
|
|
|
|
|
"vscode:prepublish": "npm run compile",
|
2019-05-30 18:28:15 -07:00
|
|
|
"compile": "tsc -p ./",
|
2020-05-29 13:12:13 -07:00
|
|
|
"lint": "eslint . --ext .ts,.tsx",
|
2019-05-09 14:50:48 -07:00
|
|
|
"watch": "tsc -watch -p ./"
|
2019-03-12 23:24:46 +00:00
|
|
|
},
|
|
|
|
|
"dependencies": {
|
|
|
|
|
"jsfiddle": "^1.1.7"
|
|
|
|
|
},
|
|
|
|
|
"devDependencies": {
|
2020-04-14 18:01:21 -07:00
|
|
|
"@types/node": "^12.12.0",
|
2021-03-02 15:59:42 -08:00
|
|
|
"@typescript-eslint/eslint-plugin": "^4.16.0",
|
|
|
|
|
"@typescript-eslint/parser": "^4.16.0",
|
|
|
|
|
"eslint": "^7.21.0",
|
2021-03-02 15:48:43 -08:00
|
|
|
"typescript": "^4.2.2",
|
2019-05-09 14:50:48 -07:00
|
|
|
"@types/vscode": "^1.32.0"
|
2019-03-12 23:24:46 +00:00
|
|
|
}
|
|
|
|
|
}
|