-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
95 lines (95 loc) · 2.39 KB
/
package.json
File metadata and controls
95 lines (95 loc) · 2.39 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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
{
"name": "nextjs-client-server-indicator",
"displayName": "Next.js Client/Server Indicator",
"description": "VS Code extension to indicate whether a Next.js file is a client or server component",
"version": "0.0.1",
"publisher": "ChrisLally",
"repository": {
"type": "git",
"url": "https://github.com/ChrisLally/Next.js_Client-Server_Detector.git"
},
"icon": "media/CLIENT-SERVER-128.png",
"engines": {
"vscode": "^1.74.0"
},
"categories": [
"Programming Languages",
"Visualization",
"Formatters",
"Other"
],
"keywords": [
"nextjs",
"react",
"client",
"server",
"components",
"indicator",
"typescript",
"javascript"
],
"activationEvents": [
"onLanguage:javascript",
"onLanguage:typescript",
"onLanguage:javascriptreact",
"onLanguage:typescriptreact"
],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "nextjs-client-server-indicator.showClientFiles",
"title": "Show Client Files"
}
],
"configuration": {
"title": "Next.js Client/Server Indicator",
"properties": {
"nextjs-client-server-indicator.clientColor": {
"type": "string",
"default": "",
"description": "Color for Client components in the status bar",
"format": "color"
},
"nextjs-client-server-indicator.serverColor": {
"type": "string",
"default": "",
"description": "Color for Server components in the status bar",
"format": "color"
},
"nextjs-client-server-indicator.showBadges": {
"type": "boolean",
"default": true,
"description": "Show 'C' and 'S' badges on file icons"
},
"nextjs-client-server-indicator.showStatusBar": {
"type": "boolean",
"default": true,
"description": "Show 'Client' or 'Server' indicator in the status bar"
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && npm run lint",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js --verbose"
},
"devDependencies": {
"@types/glob": "^8.0.0",
"@types/mocha": "^10.0.1",
"@types/node": "16.x",
"@types/sinon": "^17.0.3",
"@types/vscode": "^1.74.0",
"@typescript-eslint/eslint-plugin": "^5.62.0",
"@typescript-eslint/parser": "^5.62.0",
"@vscode/test-electron": "^2.2.0",
"eslint": "^8.57.0",
"glob": "^8.0.3",
"mocha": "^10.1.0",
"typescript": "^4.9.3"
}
}