browserify-standalone
Version:
Browserify standalone (UMD) build based on values in your package.json (`name` and `main`).
43 lines (27 loc) • 1.33 kB
Markdown
# browserify-standalone
[](https://travis-ci.org/wilmoore/browserify-standalone) [](https://www.npmjs.org/package/browserify-standalone) [](https://www.npmjs.org/package/browserify-standalone) [](license)
> Browserify standalone (UMD) build based on values in your package.json (`name` and `main`).
$ npm install browserify-standalone --save-dev
## usage
Usage: browserify-standalone [options]
Options:
-h, --help output usage information
-V, --version output the version number
-d, --directory [directory] package directory
## example
% ./node_modules/.bin/browserify-standalone
## package.json
Given the following `package.json`, the file `somepackage.js` will be created.
{
"name": "somepackage",
"version": "1.0.0",
"description": "some package",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "",
"license": "MIT"
}
## License
[MIT](license)