@babel/plugin-syntax-class-properties
Advanced tools
Comparing version 7.0.0-beta.49 to 7.0.0-beta.50
{ | ||
"name": "@babel/plugin-syntax-class-properties", | ||
"version": "7.0.0-beta.49", | ||
"version": "7.0.0-beta.50", | ||
"description": "Allow parsing of class properties", | ||
@@ -12,3 +12,3 @@ "repository": "https://github.com/babel/babel/tree/master/packages/babel-plugin-syntax-class-properties", | ||
"dependencies": { | ||
"@babel/helper-plugin-utils": "7.0.0-beta.49" | ||
"@babel/helper-plugin-utils": "7.0.0-beta.50" | ||
}, | ||
@@ -19,4 +19,4 @@ "peerDependencies": { | ||
"devDependencies": { | ||
"@babel/core": "7.0.0-beta.49" | ||
"@babel/core": "7.0.0-beta.50" | ||
} | ||
} |
# @babel/plugin-syntax-class-properties | ||
> Allow parsing of class properties. | ||
> Allow parsing of class properties | ||
## Installation | ||
See our website [@babel/plugin-syntax-class-properties](https://new.babeljs.io/docs/en/next/babel-plugin-syntax-class-properties.html) for more information. | ||
```sh | ||
npm install --save-dev @babel/plugin-syntax-class-properties | ||
``` | ||
## Install | ||
## Usage | ||
Using npm: | ||
### Via `.babelrc` (Recommended) | ||
**.babelrc** | ||
```json | ||
{ | ||
"plugins": ["@babel/plugin-syntax-class-properties"] | ||
} | ||
```sh | ||
npm install --save @babel/plugin-syntax-class-properties | ||
``` | ||
### Via CLI | ||
or using yarn: | ||
```sh | ||
babel --plugins @babel/plugin-syntax-class-properties script.js | ||
yarn add --save @babel/plugin-syntax-class-properties | ||
``` | ||
### Via Node API | ||
```javascript | ||
require("@babel/core").transform("code", { | ||
plugins: ["@babel/plugin-syntax-class-properties"] | ||
}); | ||
``` |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1469
3
20
+ Added@babel/helper-plugin-utils@7.0.0-beta.50(transitive)
- Removed@babel/helper-plugin-utils@7.0.0-beta.49(transitive)