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

@instructure/babel-plugin-transform-class-display-name

Package Overview
Dependencies
Maintainers
19
Versions
606
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@instructure/babel-plugin-transform-class-display-name - npm Package Compare versions

Comparing version 4.0.0-beta.0 to 4.0.0

2

package.json
{
"name": "@instructure/babel-plugin-transform-class-display-name",
"version": "4.0.0-beta.0",
"version": "4.0.0",
"description": "A babel plugin to add a displayName property to React component class declarations",

@@ -5,0 +5,0 @@ "author": "Instructure, Inc. Engineering and Product Design",

@@ -0,1 +1,5 @@

---
category: packages
---
## @instructure/babel-plugin-transform-class-display-name

@@ -8,6 +12,20 @@

A transform to add a displayName to React components. This is required for
[@instructure/ui-themeable](#ui-themeable) because it uses the displayName to
scope the CSS variables.
### Installation
```sh
npm install @instructure/babel-plugin-transform-class-display-name
yarn add --dev @instructure/babel-plugin-transform-class-display-name
```
### Usage
In your `.babelrc` file:
```json
{
"plugins": ["@instructure/babel-plugin-transform-class-display-name"]
}
```
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