fix es2015-instanceof and es2015-typeof-symbol packages and add README

This commit is contained in:
Sebastian McKenzie 2015-11-03 19:36:51 +00:00
parent a9ac3b0c94
commit 4ad8a1dc83
3 changed files with 37 additions and 4 deletions

View File

@ -0,0 +1,33 @@
# babel-plugin-transform-es2015-instanceof
## Installation
```sh
$ npm install babel-plugin-transform-es2015-instanceof
```
## Usage
### Via `.babelrc` (Recommended)
**.babelrc**
```json
{
"plugins": ["transform-es2015-instanceof"]
}
```
### Via CLI
```sh
$ babel --plugins transform-es2015-instanceof script.js
```
### Via Node API
```javascript
require("babel-core").transform("code", {
plugins: ["transform-es2015-instanceof"]
});
```

View File

@ -1,8 +1,8 @@
{
"name": "babel-plugin-transform-es2015-typeof-symbol",
"name": "babel-plugin-transform-es2015-instanceof",
"version": "6.0.15",
"description": "",
"repository": "https://github.com/babel/babel/tree/master/packages/babel-plugin-transform-es2015-typeof-symbol",
"repository": "https://github.com/babel/babel/tree/master/packages/babel-plugin-transform-es2015-instanceof",
"license": "MIT",
"main": "lib/index.js",
"keywords": [

View File

@ -1,8 +1,8 @@
{
"name": "babel-plugin-transform-es2015-instanceof",
"name": "babel-plugin-transform-es2015-typeof-symbol",
"version": "6.0.15",
"description": "",
"repository": "https://github.com/babel/babel/tree/master/packages/babel-plugin-transform-es2015-instanceof",
"repository": "https://github.com/babel/babel/tree/master/packages/babel-plugin-transform-es2015-typeof-symbol",
"license": "MIT",
"main": "lib/index.js",
"keywords": [