Awesome
brackets-npm-registry
Extension to install other extensions with npm
How to install brackets-npm-registry
It's recommended to have node.js or io.js installed.
mac
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
windows
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
linux
cd ~/.config/Brackets/extensions/user
git clone https://github.com/zaggino/brackets-npm-registry.git brackets-npm-registry
cd brackets-npm-registry
npm install
How to use brackets-npm-registry
You'll get a new icon in the right toolbar to open this extensions registry.
How to upload extensions so the brackets-npm-registry is able to find them
- 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
How to hack on brackets-npm-registry
This extension is written in ES6, so you'll need a few handy gulp tasks when doing any modifications to it.
gulp tasks
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