Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@madisonreed/gulp-raygun-sourcemaps

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@madisonreed/gulp-raygun-sourcemaps

Uploads sourcemaps from gulp into Raygun

  • 1.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

gulp-raygun-sourcemaps

Uploads source maps and source files from gulp to Raygun.

To install
npm install gulp-raygun-sourcemaps --save-dev
Using
.pipe(raygunUpload.upload({
   app: '' // Your app id,
   key: '' // Your external access token (https://app.raygun.io/user),
   root: __dirname // This probably doesn't need changing,
   minified: 'dist' // The directory that has your minified JS and .map files in it,
   src: 'src/' // Where your unminified source lives,
   url: 'http://localhost:8000/' // The URL of your site
}))
Complete gulpfile.js sample
var gulp = require('gulp');

var uglify = require('gulp-uglify');
var sourcemaps = require('gulp-sourcemaps');
var raygunUpload = require('gulp-raygun-sourcemaps');

gulp.task('default', function() {
	gulp.src('src/*.js')
		.pipe(sourcemaps.init())
		.pipe(uglify())
		.pipe(sourcemaps.write('.', {
			sourceRoot: '/src/'
		}))
		.pipe(gulp.dest('dist'))
		.pipe(raygunUpload.upload({
			app: '123456',
			key: '12345678912345678923456789',
			root: __dirname,
			minified: 'dist',
			src: 'src/',
			url: 'http://localhost:8000/'
		}));
});

Keywords

FAQs

Package last updated on 30 Apr 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