# @fxone/babel-preset

> babel config with typescript support

Latest version **1.0.1** (published 2021-12-05) · MIT license · 0 weekly downloads

## Install

```sh
npm install @fxone/babel-preset
pnpm add @fxone/babel-preset
yarn add @fxone/babel-preset
bun add @fxone/babel-preset
```

## Health

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

Positive: no vulnerabilities; high maintenance score.

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

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2021-12-05 |
| First published | 2021-09-04 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 13 |
| Unpacked size | 2.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | fxOne |
| Maintainers | fxone |

## Links

- npm: https://www.npmjs.com/package/@fxone/babel-preset
- Repository: https://github.com/fxOne/tools
- Homepage: https://github.com/fxOne/tools#readme
- Issues: https://github.com/fxOne/tools/issues
- npm.io page: https://npm.io/package/@fxone/babel-preset

## Dependencies (13)

- [@babel/cli](https://npm.io/package/@babel/cli.md) ^7.16.0
- [@babel/core](https://npm.io/package/@babel/core.md) ^7.16.0
- [@babel/node](https://npm.io/package/@babel/node.md) ^7.16.0
- [@babel/preset-env](https://npm.io/package/@babel/preset-env.md) ^7.16.4
- [@babel/preset-typescript](https://npm.io/package/@babel/preset-typescript.md) ^7.16.0
- [@babel/plugin-proposal-class-properties](https://npm.io/package/@babel/plugin-proposal-class-properties.md) ^7.14.5
- [@babel/plugin-proposal-optional-chaining](https://npm.io/package/@babel/plugin-proposal-optional-chaining.md) ^7.16.0
- [@babel/plugin-proposal-object-rest-spread](https://npm.io/package/@babel/plugin-proposal-object-rest-spread.md) ^7.15.6
- [@babel/plugin-proposal-export-default-from](https://npm.io/package/@babel/plugin-proposal-export-default-from.md) ^7.16.0
- [@babel/plugin-transform-async-to-generator](https://npm.io/package/@babel/plugin-transform-async-to-generator.md) ^7.14.5
- [@babel/plugin-proposal-export-namespace-from](https://npm.io/package/@babel/plugin-proposal-export-namespace-from.md) ^7.16.0
- [@babel/plugin-proposal-async-generator-functions](https://npm.io/package/@babel/plugin-proposal-async-generator-functions.md) ^7.16.4
- [@babel/plugin-proposal-nullish-coalescing-operator](https://npm.io/package/@babel/plugin-proposal-nullish-coalescing-operator.md) ^7.16.0

## Recent versions

- 1.0.1 (latest) — 2021-12-05
- 1.0.0 — 2021-09-04

## README

# Bebel preset

_This is a preset for babel with TypeScript support_

## Usage

Installation with yarn:

```bash
$ yarn add @fxone/babel-preset -D
```

Add some scripts to your `package.json`:

```json
{
  // ...
  "scripts": {
    "build": "babel src --extensions \".es6,.js,.es,.jsx,.mjs,.ts,.tsx\" --ignore *.spec.js --out-dir dist --copy-files --source-maps --verbose"
  }
}
```

Create a `babel.config.js` in your project directory, and set it up like so:

```js
module.exports = {
  presets: ['@fxone/babel-preset'],
};
```

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