-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
166 lines (166 loc) · 4.79 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
166
{
"publisher": "cpreston321",
"name": "nuxt-vscode",
"icon": "preview/logo.png",
"commandName": "nuxt-vscode",
"displayName": "Nuxt (unofficial)",
"description": "Making Nuxt development way easier with VSCode by extending nuxi cli commands.",
"version": "0.0.6",
"main": "./dist/index.js",
"engines": {
"vscode": "^1.71.0"
},
"sponsor": {
"url": "https://www.buymeacoffee.com/cpreston321"
},
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/cpreston321/nuxt-vscode"
},
"categories": [
"Other"
],
"activationEvents": [
"workspaceContains:**/nuxt.config.*",
"workspaceContains:**/package.json"
],
"contributes": {
"configuration": {
"type": "object",
"title": "Nuxt Unofficial",
"properties": {
"nuxt-vscode.disable": {
"type": "boolean",
"default": false,
"description": "Disable the Nuxt VS Code extension"
},
"nuxt-vscode.root": {
"type": "string",
"default": ".",
"description": "Project root that contains the nuxt config file. (Relative to workspace root)"
},
"nuxt-vscode.commands.upgrade.runPrepare": {
"type": "boolean",
"default": true,
"markdownDescription": "After running the `Nuxt Upgrade` command -- it will automatically run `nuxi prepare` command if successful."
}
}
},
"commands": [
{
"title": "Add Component",
"category": "✨ Nuxt",
"command": "nuxt-vscode.addComponent"
},
{
"title": "Add Composable",
"category": "✨ Nuxt",
"command": "nuxt-vscode.addComposable"
},
{
"title": "Add Layout",
"category": "✨ Nuxt",
"command": "nuxt-vscode.addLayout"
},
{
"title": "Add Plugin",
"category": "✨ Nuxt",
"command": "nuxt-vscode.addPlugin"
},
{
"title": "Add Middleware",
"category": "✨ Nuxt",
"command": "nuxt-vscode.addMiddleware"
},
{
"title": "Add API Endpoint",
"category": "✨ Nuxt",
"command": "nuxt-vscode.addApi"
},
{
"title": "Add Page",
"category": "✨ Nuxt",
"command": "nuxt-vscode.addPage"
},
{
"title": "Upgrade",
"category": "⚙️ Nuxt Utilities",
"command": "nuxt-vscode.upgrade"
},
{
"title": "Prepare types",
"category": "⚙️ Nuxt Utilities",
"command": "nuxt-vscode.prepare"
},
{
"title": "Info",
"category": "⚙️ Nuxt Utilities",
"command": "nuxt-vscode.info"
}
],
"menus": {
"explorer/context": [
{
"when": "ext.hasNuxtConfig && explorerResourceIsFolder && resourceFilename == 'components'",
"command": "nuxt-vscode.addComponent",
"group": "2_workspace"
},
{
"when": "ext.hasNuxtConfig && explorerResourceIsFolder && resourceFilename == 'layouts'",
"command": "nuxt-vscode.addLayout",
"group": "2_workspace"
},
{
"when": "ext.hasNuxtConfig && explorerResourceIsFolder && resourceFilename == 'plugins'",
"command": "nuxt-vscode.addPlugin",
"group": "2_workspace"
},
{
"when": "ext.hasNuxtConfig && explorerResourceIsFolder && resourceFilename == 'composables'",
"command": "nuxt-vscode.addComposable",
"group": "2_workspace"
},
{
"when": "ext.hasNuxtConfig && explorerResourceIsFolder && resourceFilename == 'pages'",
"command": "nuxt-vscode.addPage",
"group": "2_workspace"
},
{
"when": "ext.hasNuxtConfig && explorerResourceIsFolder && resourceFilename == 'middleware'",
"command": "nuxt-vscode.addMiddleware",
"group": "2_workspace"
},
{
"when": "ext.hasNuxtConfig && explorerResourceIsFolder && resourceFilename == 'api' || resourceFilename == 'server'",
"command": "nuxt-vscode.addApi",
"group": "2_workspace"
}
]
}
},
"scripts": {
"build": "tsup",
"dev": "tsup --watch src",
"lint": "eslint --ext .ts .",
"lint:fix": "eslint --ext .ts . --fix",
"publish": "esno ./scripts/publish.ts"
},
"devDependencies": {
"@types/fs-extra": "^11.0.1",
"@types/node": "^18.11.19",
"@types/vscode": "^1.75.0",
"@typescript-eslint/eslint-plugin": "^5.50.0",
"@typescript-eslint/parser": "^5.50.0",
"defu": "^6.1.2",
"destr": "^1.2.2",
"eslint": "^8.33.0",
"esno": "^0.16.3",
"execa": "^6.1.0",
"fs-extra": "^11.1.0",
"jiti": "^1.16.2",
"pathe": "^1.1.0",
"prettier": "^2.8.3",
"tsup": "^6.5.0"
}
}