-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
76 lines (76 loc) · 2.32 KB
/
package.json
File metadata and controls
76 lines (76 loc) · 2.32 KB
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
{
"name": "remotetolocalimagevscode",
"displayName": "Remote image to local",
"publisher": "TarekAufderStrasse",
"description": "Extension that lets you automatically download and replace images with a local path. ",
"version": "1.0.3",
"icon": "images/icon.png",
"repository": "https://github.com/codetakki/remoteToLocalimagevsCode",
"engines": {
"vscode": "^1.82.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onStartupFinished"
],
"main": "./extension.js",
"contributes": {
"codeLensProvider": {
"resolveProvider": "true"
},
"commands": [
{
"command": "remotetolocalimagevscode.replaceinworkspaces",
"title": "Replace images in workspace"
},
{
"command": "remotetolocalimagevscode.replaceinfile",
"title": "Replace images in file"
}
],
"configuration": {
"title": "Remote image converter",
"properties": {
"remotetolocalimagevscode.imagespath": {
"name": "Image path",
"type": "string",
"default": "/images",
"description": "Default path for images, relative to workspace root. leave empty to place in root folder"
},
"remotetolocalimagevscode.imagename": {
"type": "string",
"default": "${rawdate}",
"description": "The generated name of images. Add formats with ${}. if image already exists a index will be added. Available options: workspacename, formatteddate, rawdate"
}
}
}
},
"scripts": {
"lint": "eslint .",
"pretest": "npm run lint",
"test": "node ./test/runTest.js",
"vscode:prepublish": "npm run esbuild-base -- --minify",
"esbuild-base": "esbuild ./extension.js --bundle --outfile=out/main.js --external:vscode --format=cjs --platform=node",
"esbuild": "npm run esbuild-base -- --sourcemap",
"esbuild-watch": "npm run esbuild-base -- --sourcemap --watch",
"test-compile": "tsc -p ./"
},
"devDependencies": {
"@types/glob": "^7.1.3",
"@types/mocha": "^8.2.2",
"@types/node": "14.x",
"@types/vscode": "^1.82.0",
"eslint": "^7.27.0",
"glob": "^7.1.7",
"mocha": "^10.2.0",
"vscode-test": "^1.5.2"
},
"dependencies": {
"axios": "^1.5.1",
"axios-extensions": "^3.1.6",
"chalk": "^5.3.0",
"commander": "^11.0.0"
}
}