Socket
Socket
Sign inDemoInstall

@madisonreed/gulp-raygun-sourcemaps

Package Overview
Dependencies
103
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @madisonreed/gulp-raygun-sourcemaps

Uploads sourcemaps from gulp into Raygun


Version published
Weekly downloads
4
Maintainers
1
Install size
4.58 MB
Created
Weekly downloads
 

Readme

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

Last updated on 30 Apr 2016

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc