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

grunt-sentry-source-maps

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

grunt-sentry-source-maps

Automatically creates release info for and pushes JS source maps to Sentry.io.

  • 0.1.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2
Maintainers
1
Weekly downloads
 
Created
Source

grunt-sentry-source-maps

Automatically creates release info for and pushes JS source maps to Sentry.io.

Getting Started

This plugin requires Grunt ~0.4.5

If you haven't used Grunt before, be sure to check out the Getting Started guide, as it explains how to create a Gruntfile as well as install and use Grunt plugins. Once you're familiar with that process, you may install this plugin with this command:

yarn add grunt-sentry-source-maps --dev || npm install grunt-sentry-source-maps --save-dev

Once the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:

grunt.loadNpmTasks('grunt-sentry-source-maps');

The "sentry_source_maps" task

Overview

In your project's Gruntfile, add a section named sentry_source_maps to the data object passed into grunt.initConfig().

grunt.initConfig({
  sentry_source_maps: {
    options: {
      sourceFiles: ['array'],
      scriptsUrl: 'https://yourwebsite.com/path/to/scripts',
      repo: 'your-git-username/your-repo-name',
      orgSlug: 'your-sentry-org-name',
      projectSlug: 'your-sentry-project-slug',
      token: 'your-sentry-api-token'
    },
  },
});

Options

options.sourceFiles

Type: Array

An array of filenames for your bundled scripts that have source maps.

options.scriptsUrl

Type: String

The full path to your online scripts folder.

options.repo

Type: String

The name of your Git repository.

options.orgSlug

Type: String

Your Sentry organization name.

options.projectSlug

Type: String

Your Sentry project name.

options.token

Type: String

Your Sentry API token.

Tests

Sorry, tests not presently configured.

Keywords

FAQs

Package last updated on 21 Jul 2017

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