# babel-preset-spaceship

> Babel preset to get a project off the ground fast.

Latest version **0.8.3** (published 2017-03-14) · MIT license · 0 weekly downloads

## Install

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

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.8.3 |
| Published | 2017-03-14 |
| First published | 2017-02-15 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=6.5 |
| Dependencies | 11 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Marius Craciunoiu |
| Maintainers | mariusc23 |
| Keywords | babel, spaceship |

## Links

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

## Dependencies (11)

- [babel-preset-env](https://npm.io/package/babel-preset-env.md) ^1.2.1
- [babel-preset-react](https://npm.io/package/babel-preset-react.md) ^6.23.0
- [babel-plugin-istanbul](https://npm.io/package/babel-plugin-istanbul.md) ^4.0.0
- [babel-plugin-module-resolver](https://npm.io/package/babel-plugin-module-resolver.md) ^2.5.0
- [babel-plugin-transform-runtime](https://npm.io/package/babel-plugin-transform-runtime.md) ^6.23.0
- [babel-plugin-syntax-dynamic-import](https://npm.io/package/babel-plugin-syntax-dynamic-import.md) ^6.18.0
- [babel-plugin-transform-regenerator](https://npm.io/package/babel-plugin-transform-regenerator.md) ^6.22.0
- [babel-plugin-syntax-async-functions](https://npm.io/package/babel-plugin-syntax-async-functions.md) ^6.13.0
- [babel-plugin-transform-async-to-generator](https://npm.io/package/babel-plugin-transform-async-to-generator.md) ^6.22.0
- [babel-plugin-transform-object-rest-spread](https://npm.io/package/babel-plugin-transform-object-rest-spread.md) ^6.23.0
- [babel-plugin-syntax-trailing-function-commas](https://npm.io/package/babel-plugin-syntax-trailing-function-commas.md) ^6.22.0

## Alternatives

- [@openai/codex-sdk](https://npm.io/package/@openai/codex-sdk.md) — 731.4K weekly downloads
- [babel-plugin-transform-react-jsx](https://npm.io/package/babel-plugin-transform-react-jsx.md) — 565.0K weekly downloads
- [babel-helper-remove-or-void](https://npm.io/package/babel-helper-remove-or-void.md) — 508.5K weekly downloads
- [@pnpm/store-controller-types](https://npm.io/package/@pnpm/store-controller-types.md) — 186.9K weekly downloads
- [react-native-signature-canvas](https://npm.io/package/react-native-signature-canvas.md) — 155.6K weekly downloads

## Recent versions

- 0.8.3 (latest) — 2017-03-14
- 0.8.2 — 2017-03-14
- 0.8.1 — 2017-03-14
- 0.8.0 — 2017-03-14
- 0.7.0 — 2017-03-14
- 0.6.0 — 2017-03-10
- 0.5.0 — 2017-03-10
- 0.4.1 — 2017-03-09
- 0.4.0 — 2017-03-09
- 0.3.0 — 2017-03-09
- 0.2.0 — 2017-03-09
- 0.1.1 — 2017-03-08
- 0.1.0 — 2017-02-15

## README

# babel-preset-spaceship

[![npm](https://img.shields.io/npm/v/babel-preset-spaceship.svg)](https://www.npmjs.com/package/babel-preset-spaceship)

The goal of this project is to provide minimal transformations on the server and all required transformations on the client.

## Installation

    npm install --save-dev babel-preset-spaceship

## Usage

Add to `.babelrc`

```json
{
  "presets": ["spaceship"],
  "plugins": ["transform-runtime"]
}
```

Set `BABEL_ENV` to one of the following:

- `client` for browsers
- `webpack` for webpack
- `server` for node (v6+)
- `test` for mocha/istanbul

Example:

    BABEL_ENV=client NODE_ENV=production babel src -d ./build -s --copy-files

## License

Copyright (c) 2017 Marius Craciunoiu. Licensed under the MIT license.

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