vscd
v1.1.0
Published
vscd utility
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.jsoncontributions will be ignored and will be re-built from thecontributes.jsonfiles.-d <dir>(optional) - forcevscdto use another directory other than your working directory.
Guide
- Install
vscdas 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",
},