Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hughsk/installify
A browserify transform that automatically installs your missing dependencies for you
https://github.com/hughsk/installify
Last synced: 12 days ago
JSON representation
A browserify transform that automatically installs your missing dependencies for you
- Host: GitHub
- URL: https://github.com/hughsk/installify
- Owner: hughsk
- License: other
- Created: 2013-07-10T02:17:12.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2017-07-10T12:57:40.000Z (over 7 years ago)
- Last Synced: 2024-10-17T16:38:08.190Z (22 days ago)
- Language: JavaScript
- Size: 289 KB
- Stars: 70
- Watchers: 7
- Forks: 10
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# installify #
A [browserify](http://browserify.org/) transform for the lazy JavaScripter: installify automatically installs missing dependencies when bundling for quick
and dirty prototyping.## Installation ##
``` bash
npm install -g installify
```## Usage ##
Just include `-t installify` when using browserify from the command-line:
``` bash
browserify -t installify index.js
```If you want a really quick project, you should install
[beefy](http://github.com/chrisdickinson/beefy). Then starting a new project is
as simple as:``` bash
npm init
touch index.js
beefy index.js -- -t installify
```## Options ##
```
--save-dev, -D This will install a in your devDependencies.
--save-exact, -E This installs the package as an exact version.
--save-optional, -O This will install a in your optionalDependencies.
--save, -S save installs as a dependency
--save-dev, -D save installs as a devDependency
--yarn use yarn instead of npm
```Please note when using yarn the `package.json` will always be updated.
## yarn add options ##
All [yarn add](https://yarnpkg.com/en/docs/cli/add) options are supported:
```
--save-dev, -D This will install a in your devDependencies.
--save-exact, -E This installs the package as an exact version.
--save-optional, -O This will install a in your optionalDependencies.
--peer This will install a in your peerDependencies.
--tilde This installs the most recent release of the package that has the same minor version.
```You can use the subarg syntax for CLI options, like this:
``` bash
beefy index.js -- -t [ installify --save ]
```Enjoy!