https://github.com/cinderblock/install-vscode-extensions
npm binary to read and install all necessary vscode extentions
https://github.com/cinderblock/install-vscode-extensions
Last synced: 2 months ago
JSON representation
npm binary to read and install all necessary vscode extentions
- Host: GitHub
- URL: https://github.com/cinderblock/install-vscode-extensions
- Owner: cinderblock
- Created: 2018-10-03T03:16:35.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-10-03T05:48:13.000Z (over 7 years ago)
- Last Synced: 2025-03-02T05:19:39.190Z (over 1 year ago)
- Language: JavaScript
- Homepage: HomePage
- Size: 2.93 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# `install-vscode-extensions`
Simple binary that installs vscode extentions
## Install
```shell
npm install --save-dev install-vscode-extensions
```
```shell
yarn add --dev install-vscode-extensions
```
## Usage
The intended use for this is as a setup script when preparing a development environment.
Add a `postinstall` or `prepare` script that runs `install-vscode-extensions` (or `ive`) and your (VSCode)development environment will be ready to go:
```json
{
"name": "my-awesome-package",
"scripts": {
"prepare": "install-vscode-extensions"
},
"devDependencies": {
"install-vscode-extensions": "^1.0.0"
}
}
```
`install-vscode-extensions` will find the `.vscode` folder in the current working directory, load the `extensions.json` file, and run `code --install-package ${package}` for each recommended package.
Now VSCode extensions that your package recommends are installed automatically when new developers run `npm install` or `yarn`.