# babel-preset-beidou-client

> Babel preset for Beidou Client.

Latest version **2.1.0** (published 2019-04-26) · MIT license · 0 weekly downloads

## Install

```sh
npm install babel-preset-beidou-client
pnpm add babel-preset-beidou-client
yarn add babel-preset-beidou-client
bun add babel-preset-beidou-client
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.1.0 |
| Published | 2019-04-26 |
| First published | 2017-01-06 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 13 |
| Unpacked size | 6.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2731 |
| Maintainers | devrsi0n, njugray, weichunpeng |

## Links

- npm: https://www.npmjs.com/package/babel-preset-beidou-client
- Repository: https://github.com/alibaba/beidou/tree/master/packages/babel-preset-beidou-client
- npm.io page: https://npm.io/package/babel-preset-beidou-client

## Dependencies (13)

- [@babel/core](https://npm.io/package/@babel/core.md) ^7.1.2
- [codependency](https://npm.io/package/codependency.md) ^2.1.0
- [@babel/preset-env](https://npm.io/package/@babel/preset-env.md) ^7.1.0
- [@babel/preset-react](https://npm.io/package/@babel/preset-react.md) ^7.0.0
- [@babel/preset-typescript](https://npm.io/package/@babel/preset-typescript.md) ^7.1.0
- [@babel/plugin-transform-runtime](https://npm.io/package/@babel/plugin-transform-runtime.md) ^7.1.0
- [babel-plugin-add-module-exports](https://npm.io/package/babel-plugin-add-module-exports.md) ^1.0.0
- [@babel/plugin-proposal-decorators](https://npm.io/package/@babel/plugin-proposal-decorators.md) ^7.1.2
- [@babel/plugin-proposal-function-sent](https://npm.io/package/@babel/plugin-proposal-function-sent.md) ^7.1.0
- [@babel/plugin-proposal-class-properties](https://npm.io/package/@babel/plugin-proposal-class-properties.md) ^7.1.0
- [@babel/plugin-proposal-numeric-separator](https://npm.io/package/@babel/plugin-proposal-numeric-separator.md) ^7.0.0
- [@babel/plugin-proposal-throw-expressions](https://npm.io/package/@babel/plugin-proposal-throw-expressions.md) ^7.0.0
- [@babel/plugin-proposal-export-namespace-from](https://npm.io/package/@babel/plugin-proposal-export-namespace-from.md) ^7.0.0

## Recent versions

- 2.1.0 (latest) — 2019-04-26
- 2.0.0-beta.0 (next) — 2019-01-11
- 2.0.1 — 2019-01-29
- 2.0.0 — 2019-01-16
- 2.0.0-alpha.1 — 2019-01-08
- 2.0.0-alpha.0 — 2018-12-26
- 1.1.0 — 2018-12-18
- 1.0.9 — 2018-09-17
- 1.0.8 — 2018-08-11
- 1.0.0 — 2018-03-23
- 1.0.0-beta.3 — 2018-03-22
- 1.0.0-beta.2 — 2018-03-15
- 1.0.0-beta.1 — 2018-03-09
- 1.0.0-beta.0 — 2018-03-09
- 1.0.0-alpha.5 — 2018-03-01
- … 10 more at https://npm.io/package/babel-preset-beidou-client/versions

## README

# babel-preset-beidou-client

This preset includes the following plugins:

- @babel/preset-env
- @babel/preset-react
- @babel/preset-typescript [optional]
- @babel/plugin-proposal-function-sent
- @babel/plugin-proposal-decorators
- @babel/plugin-proposal-class-properties
- @babel/plugin-proposal-export-namespace-from
- @babel/plugin-proposal-numeric-separator
- @babel/plugin-proposal-throw-expressions
- babel-plugin-add-module-exports
- react-hot-loader/babel [only for dev]

## Install

Install the preset

```sh
npm install --save-dev babel-preset-beidou-client
```

## Configuration

This preset support dynamic compile browser targets, set [browserslist](https://github.com/ai/browserslist) in your package.json

```json
{
  "browserslist": ["> 1%", "last 2 versions"]
}
```

Or using default browserslist `['>1%', 'last 4 versions', 'not ie < 9']`.

### Config in `.babelrc`

```json
{
  "presets": [["babel-preset-beidou-client", { "typescript": true }]]
}
```

**Options**

- typescript: enable typescript
- env: config passed to preset-env

---
_Source: https://npm.io/package/babel-preset-beidou-client · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
