1 | usage: viralify <path> <options>
|
2 |
|
3 | Inject browserify transform(s) into the package.json files of all packages at and below the given path.
|
4 |
|
5 | OPTIONS:
|
6 |
|
7 | -t, --transform transform(s) to inject
|
8 | -f, --front if set, the transform(s) are injected in the front of the transform field so they run first
|
9 |
|
10 | EXAMPLES:
|
11 |
|
12 | Inject 'browserify-swap' transform for package in current directory and all its dependencies
|
13 |
|
14 | viralify . -t browserify-swap
|
15 |
|
16 | Inject 'envify' and 'es6ify' transforms in front for all dependencies found in ./node_modules
|
17 |
|
18 | viralify ./node_modules --transform envify --transform es6ify --front
|