Comparing version 0.1.0 to 0.2.0
{ | ||
"name": "viralify", | ||
"version": "0.1.0", | ||
"version": "0.2.0", | ||
"description": "Injects one or more browserify transforms into all dependencies of a package recursively.", | ||
"main": "index.js", | ||
"bin": { | ||
"viralify": "bin/viralify.js" | ||
}, | ||
"scripts": { | ||
@@ -20,3 +23,5 @@ "test-main": "tap test/*.js", | ||
"glob": "~3.2.7", | ||
"runnel": "~0.5.1" | ||
"runnel": "~0.5.1", | ||
"minimist": "0.0.5", | ||
"ansicolors": "~0.3.2" | ||
}, | ||
@@ -23,0 +28,0 @@ "devDependencies": { |
@@ -5,2 +5,6 @@ # viralify [![build status](https://secure.travis-ci.org/thlorenz/viralify.png)](http://travis-ci.org/thlorenz/viralify) | ||
```sh | ||
viralify . -t browserify-swap | ||
``` | ||
```js | ||
@@ -20,2 +24,24 @@ var viralify = require('viralify'); | ||
## Usage | ||
``` | ||
viralify <path> <options> | ||
Inject browserify transform(s) into the package.json files of all packages at and below the given path. | ||
OPTIONS: | ||
-t, --transform transform(s) to inject | ||
-f, --front if set, the transform(s) are injected in the front of the transform field so they run first | ||
EXAMPLES: | ||
Inject 'browserify-swap' transform for package in current directory and all its dependencies | ||
viralify . -t browserify-swap | ||
Inject 'envify' and 'es6ify' transforms in front for all dependencies found in ./node_modules | ||
viralify ./node_modules --transform envify --transform es6ify --front | ||
``` | ||
## API | ||
@@ -22,0 +48,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
20294
13
368
141
4
3
+ Addedansicolors@~0.3.2
+ Addedminimist@0.0.5
+ Addedansicolors@0.3.2(transitive)
+ Addedminimist@0.0.5(transitive)