vscd
v1.1.0
Published
vscd utility
Downloads
27
Readme
vscd
Visual Studio Code package merger (vscd
).
The package.json
file is getting rather large for big extensions. This command line tool will search for all contributes.json
files in current working directory to build up the package.json
.
Each contributes.json
file must contain the contributes
property. That is the only property that gets looked at.
Arguments
--clean
(optional, recommended) - the existingpackage.json
contributions will be ignored and will be re-built from thecontributes.json
files.-d <dir>
(optional) - forcevscd
to use another directory other than your working directory.
Guide
- Install
vscd
as adevDependency
:npm i vscd --save-dev
- Update your build process to invoke
vscd
:
"scripts": {
"package": "vsce package",
"vscode:prepublish": "rm -rf dist && npm run build",
"webpack": "vscd --clean && webpack --mode development",
},