browserify-sa
Advanced tools
Comparing version 2.0.6 to 2.0.7
14
cli.js
@@ -11,3 +11,2 @@ #!/usr/bin/env node | ||
if (m.get('help') || m.get('h')) { | ||
console.log('help'); | ||
m.helpMessage(); | ||
@@ -17,4 +16,7 @@ process.exit() | ||
var infoAry = new Array(); | ||
infoAry.push("Package: " + json.name); | ||
infoAry.push("Version: " + json.version); | ||
@@ -33,2 +35,12 @@ if (json.license) { | ||
// The name of the build | ||
// Else it is just the package name | ||
if (m.get('name')) { | ||
json.name = m.get('name') | ||
} | ||
if (m.get('n')) { | ||
json.name = m.get('n') | ||
} | ||
var infoStr = infoAry.join('. ') | ||
@@ -35,0 +47,0 @@ |
{ | ||
"name": "browserify-sa", | ||
"version": "2.0.6", | ||
"version": "2.0.7", | ||
"description": "Run browserify-sa in a npm package and make a standalone build of the package.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -29,8 +29,8 @@ # browserify-sa | ||
Only option is `--uglify` or `-u` - which will shorten and uglify the `dist` build. Uglify will | ||
not always work with e.g. `string literals`. Therefor it is needed to | ||
specify it: | ||
`n` or `name` is the name of the export. | ||
browserify-sa -u | ||
`--uglify` or `-u` - will shorten and uglify the `dist` build. Uglify will not always work with e.g. `string literals`. | ||
browserify-sa -u --n helloWorld | ||
In order to use `uglify`, you will need `uglify.js` installed global. | ||
@@ -37,0 +37,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
2953
48