forked from dawsbot/RelativePath
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
109 lines (109 loc) · 3.36 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
{
"name": "RelativePathForked",
"description": "Get relative url paths from files in the current workspace.",
"version": "1.5.1",
"repository": {
"type": "git",
"url": "https://github.com/ColCh/RelativePath"
},
"publisher": "colch",
"galleryBanner": {
"color": "#373277",
"theme": "dark"
},
"engines": {
"vscode": "^1.1.10"
},
"categories": [
"Other"
],
"license": "MIT",
"displayName": "Relative Path Forked",
"activationEvents": [
"onCommand:extension.relativePath"
],
"main": "./out/src/extension",
"contributes": {
"commands": [
{
"command": "extension.relativePath",
"title": "Relative Path"
}
],
"keybindings": [
{
"command": "extension.relativePath",
"key": "ctrl+shift+h",
"mac": "cmd+shift+h",
"when": "editorTextFocus"
}
],
"configuration": {
"title": "RelativePath extension configuration",
"type": "object",
"properties": {
"relativePath.ignore": {
"type": "array",
"default": [
"**/node_modules/**",
"**/*.dll",
"**/obj/**",
"**/objd/**"
],
"description": "An array of glob keys to ignore when searching.",
"items": {
"type": "string"
}
},
"relativePath.removeExtension": {
"type": "boolean",
"default": false,
"description": "Excludes the extension from the relative path url (Useful for systemjs imports)."
},
"relativePath.excludedExtensions": {
"type": "array",
"default": [
".js",
".ts"
],
"description": "An array of extensions to exclude from the relative path url (Useful for used with Webpack or when importing files of mixed types)"
},
"relativePath.removeLeadingDot": {
"type": "boolean",
"default": true,
"description": "Removes the leading ./ character when the path is pointing to a parent folder."
},
"relativePath.omitParts": {
"type": "array",
"default": [
"\\/index$"
],
"description": "Omit path parts by matched Regular Expressions"
}
}
}
},
"icon": "icon.png",
"keywords": [
"relative",
"path",
"url",
"file"
],
"scripts": {
"vscode:prepublish": "tsc -p ./",
"compile": "tsc -watch -p ./"
},
"devDependencies": {
"@types/mocha": "^2.2.32",
"@types/node": "^6.0.40",
"@types/vscode": "^1.1.10",
"mocha": "^2.3.3",
"typescript": "^3.9"
},
"dependencies": {
"@types/lodash": "4.14.179",
"fast-glob": "3.2.11",
"lodash": "4.17.21"
}
}