This repository was archived by the owner on Feb 25, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpackage.json
More file actions
129 lines (129 loc) · 3.75 KB
/
package.json
File metadata and controls
129 lines (129 loc) · 3.75 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
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
{
"name": "hide-node-modules",
"displayName": "Hide Node Modules",
"description": "Hide the node_modules folder within the Explorer view",
"icon": "images/hideNodeModules128.png",
"license": "MIT",
"keywords": [
"node",
"nodejs",
"node modules",
"node_modules",
"npm",
"yarn",
"show",
"hide",
"file",
"explorer"
],
"galleryBanner": {
"color": "#000000",
"theme": "dark"
},
"version": "1.3.0",
"publisher": "chrisbibby",
"author": {
"name": "Chris Bibby"
},
"repository": {
"type": "git",
"url": "https://github.com/ChrisBibby/vscode_hide-node-modules.git"
},
"homepage": "https://github.com/ChrisBibby/vscode_hide-node-modules",
"bugs": "https://github.com/ChrisBibby/vscode_hide-node-modules/issues",
"engines": {
"vscode": "^1.104.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onStartupFinished"
],
"capabilities": {
"virtualWorkspaces": true
},
"main": "./dist/extension.js",
"contributes": {
"configuration": {
"title": "Hide Node Modules",
"properties": {
"hide-node-modules.enable": {
"type": "boolean",
"default": false,
"markdownDescription": "Hide `node_modules` when opening new projects",
"scope": "application"
},
"hide-node-modules.user-setting": {
"type": "boolean",
"default": false,
"markdownDescription": "Store `node_modules` exclusion setting within user settings (default is per workspace)",
"scope": "application"
}
}
},
"commands": [
{
"command": "hide-node-modules.hide",
"title": "Hide Node Modules",
"when": "!hide-node-modules:isHidden && hide-node-modules:containsPackageJson"
},
{
"command": "hide-node-modules.show",
"title": "Show Node Modules",
"when": "hide-node-modules:isHidden && hide-node-modules:containsPackageJson"
}
],
"menus": {
"explorer/context": [
{
"command": "hide-node-modules.show",
"group": "1_copypath@999",
"when": "hide-node-modules:isHidden && hide-node-modules:containsPackageJson"
},
{
"command": "hide-node-modules.hide",
"group": "1_copypath@999",
"when": "!hide-node-modules:isHidden && hide-node-modules:containsPackageJson"
}
]
},
"keybindings": [
{
"command": "hide-node-modules.hide",
"key": "ctrl+alt+n",
"mac": "cmd+alt+n",
"when": "!hide-node-modules:isHidden && hide-node-modules:containsPackageJson"
},
{
"command": "hide-node-modules.show",
"key": "ctrl+alt+n",
"mac": "cmd+alt+n",
"when": "hide-node-modules:isHidden && hide-node-modules:containsPackageJson"
}
]
},
"scripts": {
"deploy": "vsce publish",
"lint": "eslint \"src/**/*.{ts,tsx}\" --max-warnings=0",
"fix:prettier": "prettier \"**/*.ts\" --write",
"package": "vsce package",
"vscode:prepublish": "npm run fix:prettier && npm run lint && npm run esbuild-base -- --minify",
"esbuild-base": "esbuild ./src/extension.ts --bundle --outfile=dist/extension.js --external:vscode --format=cjs --platform=node",
"esbuild": "npm run esbuild-base -- --sourcemap",
"esbuild-watch": "npm run esbuild-base -- --sourcemap --watch"
},
"devDependencies": {
"@types/node": "^24.4.0",
"@types/vscode": "^1.104.0",
"@typescript-eslint/eslint-plugin": "^8.43.0",
"@typescript-eslint/parser": "^8.43.0",
"@vscode/vsce": "^3.6.0",
"esbuild": "^0.19.8",
"eslint": "^9.35.0",
"eslint-config-prettier": "^9.1.2",
"prettier": "^3.6.2",
"ts-loader": "^9.5.4",
"typescript": "^5.9.2"
}
}