Extension to install other extensions with npm
It's recommended to have node.js or io.js installed.
cd ~/Library/Application\ Support/Brackets/extensions/user/
git clone https://github.com/zaggino/brackets-npm-registry.git brackets-npm-registry
cd brackets-npm-registry
npm install
cd /D %HOMEDRIVE%%HOMEPATH%\AppData\Roaming\Brackets\extensions\user
git clone https://github.com/zaggino/brackets-npm-registry.git brackets-npm-registry
cd brackets-npm-registry
npm install
cd ~/.config/Brackets/extensions/user
git clone https://github.com/zaggino/brackets-npm-registry.git brackets-npm-registry
cd brackets-npm-registry
npm install
You'll get a new icon in the right toolbar to open this extensions registry.
- package.json needs to have
"brackets-extension"
defined in"keywords"
- package.json needs to have
"brackets": "<version>"
defined in"engines"
- see sample package.json
- use
npm publish
to upload the extension to the npm - installation works in the same way
npm install
does, all dependencies are downloaded andinstall
script is executed
This extension is written in ES6, so you'll need a few handy gulp tasks when doing any modifications to it.
gulp build
- build your ES6 files into ES5 so Brackets is able to run them
gulp watch
- watch files for changes and compile them as you work
gulp test
- lint your sources with ESLint