# @lanethegreat/electron-prebuilt-compile

> electron-prebuilt that automatically understands Babel + React + LESS

Latest version **4.0.0-beta.11** (published 2019-12-18) · MIT license · 0 weekly downloads

## Install

```sh
npm install @lanethegreat/electron-prebuilt-compile
pnpm add @lanethegreat/electron-prebuilt-compile
yarn add @lanethegreat/electron-prebuilt-compile
bun add @lanethegreat/electron-prebuilt-compile
```

Provides the command `electron`.

## 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 | 4.0.0-beta.11 |
| Published | 2019-12-18 |
| First published | 2019-11-21 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 8 |
| Unpacked size | 415.8 KB |
| Known vulnerabilities | 0 (+60 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Paul Betts |
| Maintainers | lanethegreat |
| Keywords | electron, electron-compile, sass, less, babel, typescript, coffeescript, jade, pug |

## Links

- npm: https://www.npmjs.com/package/@lanethegreat/electron-prebuilt-compile
- Repository: https://github.com/LanetheGreat/electron-prebuilt-compile
- Issues: https://github.com/LanetheGreat/electron-prebuilt-compile/issues
- npm.io page: https://npm.io/package/@lanethegreat/electron-prebuilt-compile

## Dependencies (8)

- [yargs](https://npm.io/package/yargs.md) ^15.0.0
- [electron](https://npm.io/package/electron.md) 4.0.0-beta.11
- [@babel/preset-env](https://npm.io/package/@babel/preset-env.md) ^7.0.0
- [@babel/preset-react](https://npm.io/package/@babel/preset-react.md) ^7.0.0
- [babel-plugin-array-includes](https://npm.io/package/babel-plugin-array-includes.md) ^2.0.3
- [@lanethegreat/electron-compile](https://npm.io/package/@lanethegreat/electron-compile.md) *
- [@lanethegreat/electron-compilers](https://npm.io/package/@lanethegreat/electron-compilers.md) *
- [@babel/plugin-transform-async-to-generator](https://npm.io/package/@babel/plugin-transform-async-to-generator.md) ^7.0.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

- 4.0.0-beta.11 (latest) — 2019-12-18
- 4.0.0-beta.10u1 — 2019-12-18
- 4.0.0-beta.10 — 2019-11-21

## README

## (Unofficially) UNDEPRECATED: electron-prebuilt-compile

[![Unofficially Maintained](https://img.shields.io/badge/Unofficially%20Maintained%3F-yes-green.svg)](https://GitHub.com/Naereen/StrapDown.js/graphs/commit-activity)

This project is now (unofficially) maintained by Lane Shaw, new pull requests will be reviewed (as time permits) or merged and new issues can be reported here.

---

electron-prebuilt-compile is a drop-in replacement for [electron](https://github.com/electron/electron) (previously was [electron-prebuilt](https://github.com/mafintosh/electron-prebuilt)) that natively understands ES6/ES7 + React + LESS + some other languages, powered by [@lanethegreat/electron-compile](https://github.com/LanetheGreat/electron-compile).

## Installation

Download and install the latest build of `@lanethegreat/electron-prebuilt-compile` for your OS and add it to your project's `package.json` as a `devDependency`:

```
npm install @lanethegreat/electron-prebuilt-compile --save-dev
```

Now you can just run `electron` to run electron:

```
electron
```

Electron will now understand ES6/ES7 and React components out-of-the-box, even in inline HTML:

```html
<head>
  <link rel="stylesheet" type="text/less" href="main.less" />
</head>

<body id="host">
  <script type="application/javascript">
  import React from 'react';
  import ReactDOM from 'react-dom';
  import TodoApp from './components/TodoApp';
  
  ReactDOM.render(React.createComponent(TodoApp), document.getElementById('host'));
  </script>
</body>
</html>
```

---
_Source: https://npm.io/package/@lanethegreat/electron-prebuilt-compile · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
