-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
144 lines (144 loc) · 4.09 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
{
"publisher": "webxmsj",
"name": "open-browser",
"displayName": "Open repository in browser",
"version": "0.0.4",
"private": true,
"packageManager": "[email protected]",
"description": "Add a button to open current project in browser",
"author": "webxmsj <[email protected]>",
"license": "MIT",
"funding": "https://github.com/sponsors/webxmsj",
"homepage": "https://github.com/webxmsj/open-browser#readme",
"repository": {
"type": "git",
"url": "https://github.com/webxmsj/open-browser"
},
"bugs": {
"url": "https://github.com/webxmsj/open-browser/issues"
},
"sponsor": {
"url": "https://github.com/sponsors/webxmsj"
},
"categories": [
"Other"
],
"main": "./dist/index.js",
"icon": "res/icon.png",
"files": [
"dist"
],
"engines": {
"vscode": "^1.77.0"
},
"activationEvents": [
"onStartupFinished"
],
"contributes": {
"commands": [
{
"command": "open-browser.open",
"category": "open-browser",
"title": "open repository in browser"
}
],
"configuration": {
"type": "object",
"title": "open repository in browser extension configuration",
"properties": {
"open-browser.textTransform": {
"type": "string",
"enum": [
"none",
"uppercase",
"lowercase",
"capitalize"
],
"default": "capitalize",
"description": "Defines project name text style inside template"
},
"open-browser.projectNameVisible": {
"type": "boolean",
"default": true,
"description": "Whether to display the project name, requires restart of vscode"
},
"open-browser.colorful": {
"type": "boolean",
"default": true,
"description": "Use color"
},
"open-browser.color": {
"type": "string",
"default": "",
"description": "The color of status text. When not defined, a random color will be used based on the project name."
},
"open-browser.remoteName": {
"type": "string",
"default": "origin",
"description": "Name of the remote repository"
},
"open-browser.branch": {
"type": "string",
"description": "Name of the remote branch",
"default": "master"
},
"open-browser.useLocalBranch": {
"type": "boolean",
"description": "Use the local branch instead of the fixed remote branch",
"default": true
},
"open-browser.useLocalRange": {
"type": "boolean",
"description": "Highlight the local selection range, if there's one",
"default": true
},
"open-browser.alignPriority": {
"type": "number",
"default": 100000,
"description": "Defines priority of the label. Higher values mean the label should be shown more to the left, requires restart of vscode"
},
"open-browser.useLocalLine": {
"type": "boolean",
"description": "Highlight the local line if there's no selection range",
"default": false
}
}
}
},
"scripts": {
"build": "tsup src/index.ts --external vscode",
"dev": "nr build --watch",
"lint": "eslint .",
"vscode:prepublish": "nr build",
"publish": "vsce publish",
"pack": "vsce package",
"test": "vitest",
"typecheck": "tsc --noEmit",
"release": "bumpp && nr publish"
},
"dependencies": {
"find-up": "^6.3.0",
"findup-sync": "^5.0.0",
"lodash": "^4.17.21",
"pify": "^6.1.0",
"simple-git": "^3.18.0"
},
"devDependencies": {
"@antfu/ni": "^0.21.2",
"@types/findup-sync": "^4.0.2",
"@types/lodash": "^4.14.194",
"@types/node": "^18.15.11",
"@types/vscode": "^1.77.0",
"@vscode/vsce": "^2.19.0",
"@webxmsj/eslint-config": "^0.0.11",
"bumpp": "^9.1.0",
"eslint": "^8.37.0",
"esno": "^0.16.3",
"pnpm": "^8.1.1",
"rimraf": "^4.4.1",
"tsup": "^6.7.0",
"typescript": "^5.0.3",
"vite": "^4.2.1",
"vitest": "^0.29.8"
}
}