-
-
Notifications
You must be signed in to change notification settings - Fork 22
/
package.json
139 lines (139 loc) · 4.44 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
{
"name": "RelativePath",
"description": "Get relative url paths from files in the current workspace.",
"version": "1.5.0",
"scripts": {
"vscode:prepublish": "tsc -p ./",
"compile": "tsc -watch -p ./",
"postinstall": "node ./node_modules/vscode/bin/install",
"test": "tsc",
"prepare": "husky install",
"postversion": "git push --follow-tags && gh release create --generate-notes"
},
"repository": {
"type": "git",
"url": "https://github.com/jakob101/RelativePath"
},
"publisher": "jakob101",
"galleryBanner": {
"color": "#373277",
"theme": "dark"
},
"engines": {
"vscode": "^1.16.0"
},
"categories": [
"Other"
],
"license": "MIT",
"displayName": "Relative Path",
"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",
"type": "object",
"properties": {
"relativePath.includeGlob": {
"type": "string",
"default": "/**/*.*",
"description": "A glob by which to filter results"
},
"relativePath.ignore": {
"type": "array",
"default": [
"**/.git/**",
"**/node_modules/**",
"**/.husky/**",
"**/.next/**",
"**/*.dll",
"**/*.swp",
"**/*.un~",
"**/obj/**",
"**/objd/**"
],
"description": "An array of glob keys to ignore when searching.",
"items": {
"type": "string"
}
},
"relativePath.removeExtension": {
"type": "boolean",
"default": false,
"description": "Excludes the file extension from the relative path url (Useful for systemjs imports)."
},
"relativePath.excludedExtensions": {
"type": "array",
"default": [
".js",
".ts"
],
"description": "An array of file 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"
},
"relativePath.searchCountLimit": {
"type": "integer",
"default": 1000,
"description": "Max number of files searched in quick filter. Extending this may lead to performance issues."
}
}
}
},
"icon": "icon.png",
"keywords": [
"relative",
"path",
"url",
"file"
],
"devDependencies": {
"@types/mocha": "^9.1.1",
"@types/node": "^17.0.31",
"husky": "^7.0.4",
"lint-staged": "^12.4.1",
"mocha": "^10.0.0",
"prettier": "^2.6.2",
"prettier-plugin-organize-imports": "^2.3.4",
"typescript": "^4.6.4",
"vscode": "^1.1.37"
},
"dependencies": {
"@types/glob": "^7.2.0",
"glob": "^8.0.1"
},
"prettier": {
"tabWidth": 4
},
"lint-staged": {
"*": [
"prettier -u --write"
]
}
}