# babel-preset-ptah

> Babel preset for Ptah projects

Latest version **1.3.0** (published 2021-02-08) · MIT license · 0 weekly downloads

## Install

```sh
npm install babel-preset-ptah
pnpm add babel-preset-ptah
yarn add babel-preset-ptah
bun add babel-preset-ptah
```

## 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 | 1.3.0 |
| Published | 2021-02-08 |
| First published | 2021-02-03 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 14 |
| Unpacked size | 5.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | etc-tiago |

## Links

- npm: https://www.npmjs.com/package/babel-preset-ptah
- Repository: https://github.com/etcdigital/babel-preset-ptah
- Homepage: https://github.com/etcdigital/babel-preset-ptah#readme
- Issues: https://github.com/etcdigital/babel-preset-ptah/issues
- npm.io page: https://npm.io/package/babel-preset-ptah

## Dependencies (14)

- [@babel/core](https://npm.io/package/@babel/core.md) ^7.12.10
- [babel-eslint](https://npm.io/package/babel-eslint.md) ^10.1.0
- [@babel/preset-env](https://npm.io/package/@babel/preset-env.md) ^7.12.11
- [@babel/preset-react](https://npm.io/package/@babel/preset-react.md) ^7.12.10
- [@babel/preset-typescript](https://npm.io/package/@babel/preset-typescript.md) ^7.12.7
- [@babel/plugin-transform-runtime](https://npm.io/package/@babel/plugin-transform-runtime.md) ^7.12.10
- [@babel/plugin-transform-parameters](https://npm.io/package/@babel/plugin-transform-parameters.md) ^7.12.1
- [@babel/plugin-transform-regenerator](https://npm.io/package/@babel/plugin-transform-regenerator.md) ^7.12.1
- [@babel/plugin-proposal-class-properties](https://npm.io/package/@babel/plugin-proposal-class-properties.md) ^7.12.1
- [@babel/plugin-proposal-optional-chaining](https://npm.io/package/@babel/plugin-proposal-optional-chaining.md) ^7.12.13
- [@babel/plugin-transform-modules-commonjs](https://npm.io/package/@babel/plugin-transform-modules-commonjs.md) ^7.12.1
- [@babel/plugin-proposal-object-rest-spread](https://npm.io/package/@babel/plugin-proposal-object-rest-spread.md) ^7.12.1
- [@babel/plugin-transform-template-literals](https://npm.io/package/@babel/plugin-transform-template-literals.md) ^7.12.13
- [@babel/plugin-proposal-nullish-coalescing-operator](https://npm.io/package/@babel/plugin-proposal-nullish-coalescing-operator.md) ^7.12.13

## Recent versions

- 1.3.0 (latest) — 2021-02-08
- 1.2.0 — 2021-02-05
- 1.1.0 — 2021-02-05
- 1.0.2 — 2021-02-03

## README

# babel-preset-ptah

This package includes the [Babel](https://babeljs.io) preset used by [Ptah](https://github/com/etcdigital/ptah)

## Usage in Ptah Projects

The easiest way to use this configuration is with Ptah, which includes it by default. **You don’t need to install it separately in Ptah projects.**

## Usage Outside of Ptah

If you want to use this Babel preset in a project not built with Ptah, you can install it with the following steps.

First, [install Babel](https://babeljs.io/docs/setup/).

Then create a file named `.babelrc` with following contents in the root folder of your project:

  ```js
  {
    "presets": ["ptah"]
  }
  ```

This preset uses the `useBuiltIns` option with [transform-object-rest-spread](http://babeljs.io/docs/plugins/transform-object-rest-spread/), which assumes that `Object.assign` is available or polyfilled.

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