-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
165 lines (165 loc) · 5.47 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
{
"name": "GitHubFileFetcher",
"displayName": "GitHub File Fetcher",
"description": "This extension searches and fetches files from GitHub.",
"version": "2.0.2",
"publisher": "dennykorsukewitz",
"icon": "doc/images/icon.png",
"license": "SEE LICENSE IN LICENSE",
"homepage": "https://github.com/dennykorsukewitz/VSCode-GitHubFileFetcher/blob/dev/README.md",
"pricing": "Free",
"bugs": {
"url": "https://github.com/dennykorsukewitz/VSCode-GitHubFileFetcher/issues",
"email": "[email protected]"
},
"repository": {
"type": "git",
"url": "https://github.com/dennykorsukewitz/VSCode-GitHubFileFetcher"
},
"sponsor": {
"url": "https://github.com/sponsors/dennykorsukewitz"
},
"keywords": [
"github",
"file",
"files",
"fetch",
"fetcher",
"grab",
"download",
"get"
],
"categories": [
"Other"
],
"engines": {
"vscode": "^1.85.0"
},
"activationEvents": [
"onStartupFinished"
],
"main": "./dist/extension.js",
"browser": "./dist/extension.js",
"scripts": {
"vscode:prepublish": "npm run esbuild-base -- --minify",
"esbuild-base": "esbuild ./src/extension.ts --bundle --outfile=dist/extension.js --external:vscode --format=cjs --platform=node",
"esbuild": "npm run esbuild-base -- --sourcemap",
"esbuild-watch": "npm run esbuild-base -- --sourcemap --watch",
"watch": "tsc -watch -p ./",
"build": "tsc -p ./",
"build-web": "npm run esbuild-base -- --sourcemap",
"lint": "eslint src --ext ts",
"lint-fix": "eslint src --ext ts --fix",
"pretest": "rm -Rf .vscode-test && npm run build && npm run lint",
"test": "node ./dist/test/runTest.js",
"open-in-browser": "npm run build-web && npx @vscode/test-web --extensionDevelopmentPath=."
},
"dependencies": {
"base64-to-uint8array": "^1.0.0"
},
"devDependencies": {
"@types/glob": "^8.1.0",
"@types/mocha": "^10.0.1",
"@types/node": "^18.19.14",
"@types/vscode": "^1.85.0",
"@typescript-eslint/eslint-plugin": "^6.15.0",
"@typescript-eslint/parser": "^6.20.0",
"esbuild": "^0.20.0",
"eslint": "^8.56.0",
"mocha": "^10.2.0",
"typescript": "^5.3.3"
},
"overrides": {
"minimatch": "5.1.2",
"glob": "8.1.0"
},
"contributes": {
"commands": [
{
"command": "gitHubFileFetcher.start",
"title": "Searches and fetches files from GitHub.",
"category": "GitHubFileFetcher"
},
{
"command": "gitHubFileFetcher.checkForUpdates",
"title": "Check for Updates",
"category": "GitHubFileFetcher"
}
],
"keybindings": [
{
"command": "gitHubFileFetcher.start",
"key": "ctrl+alt+g s"
}
],
"configuration": {
"type": "object",
"title": "GitHub File Fetcher",
"properties": {
"gitHubFileFetcher.informationMessages": {
"order": 1,
"type": "string",
"description": "Information messages will be displayed.",
"default": "true",
"enum": [
"false",
"true",
"verbose"
],
"enumDescriptions": [
"No, nothing will be displayed.",
"Yes, the normal information will be displayed.",
"Yes, all the information will be displayed."
]
},
"gitHubFileFetcher.history": {
"order": 2,
"type": "boolean",
"description": "Controls whether 'GitHub File Fetcher' history is enabled. When enabled, the 'workspace folder', 'destination file', 'owner/repository', 'branch', 'file', 'commit id' and 'UTC timestamp' of the fetched file will be stored to global state 'gitHubFileFetcher.workspaceFolders'.",
"default": true
},
"gitHubFileFetcher.checkForUpdates": {
"order": 3,
"type": "boolean",
"description": "Checks for updates and displays a information (or warning) message if the current active file is (or is not) up to date. Only works if the 'gitHubFileFetcher.history' setting was previously active.",
"default": true
},
"gitHubFileFetcher.checkForUpdatesMessages": {
"order": 4,
"type": "string",
"description": "Defines which messages are displayed.",
"default": "verbose",
"enum": [
"warning",
"verbose"
],
"enumDescriptions": [
"Only warnings are displayed.",
"Warnings and information are displayed."
]
},
"gitHubFileFetcher.repositories": {
"order": 5,
"type": "array",
"items": {
"type": "string"
},
"description": "List of possible GitHub repositories. GitHub {owner}/{repo}.",
"default": [
"dennykorsukewitz/VSCode-GitHubFileFetcher"
]
},
"gitHubFileFetcher.githubUsername": {
"order": 6,
"type": "string",
"description": "The GitHub API is limited to 60 requests per hour for non authorized requests. You can provide your GitHub username and an access token to push this limit to 5000 requests per hour."
},
"gitHubFileFetcher.githubToken": {
"order": 7,
"type": "string",
"description": "The GitHub API is limited to 60 requests per hour for non authorized requests. You can provide your GitHub username and an access token to push this limit to 5000 requests per hour."
}
}
}
}
}