New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

gulp-npawify

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gulp-npawify

Gulp builder that packs browserify with sourcemaps, uglify and license

  • 1.0.3
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
13
decreased by-13.33%
Maintainers
1
Weekly downloads
 
Created
Source

gulp-npawify

js-standard-style

Gulp builder that packs browserify with sourcemaps, uglify and license

Install

npm install --save-dev gulp-npawify

Use

var gulp = require('gulp')
var npawify = require('gulp-npawify')

var options = {
  entry: 'src/youboralib.js',
  output: 'youboralib.min.js'
}

gulp.task('build', npawify(options))
gulp.task('watch', npawify(npawify.assign({}, options, { watch: true }))
gulp.task('default', ['build'])

Options

npawify receives an options object, that can receive:

  • entry: Name of the entry file. Default: 'src/index.js'.
  • output: Name of the output file. Default: 'app.min.js'.
  • dest: Name of the output folder. Default: 'dist/'.
  • standalone: Browserify standalone option. Default: undefined.
  • watch: If true, generated task will use watchify. Default: false.
  • uglify: If true, generated task file will be uglified. Default: true.
  • license: String containing license text. Default: undefined.

npawify.assign

npawify comes with npawify.assign() which is a clone of Object.assign function for its use with older Node versions

Keywords

FAQs

Package last updated on 27 Dec 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc