Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bonitasoft/babel-preset-bonita
https://github.com/bonitasoft/babel-preset-bonita
delivery-npm lifecycle-independent published-partial transitive-dep
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/bonitasoft/babel-preset-bonita
- Owner: bonitasoft
- License: gpl-3.0
- Created: 2016-01-20T13:27:50.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2020-12-08T08:55:25.000Z (about 4 years ago)
- Last Synced: 2024-10-23T03:51:41.686Z (2 months ago)
- Topics: delivery-npm, lifecycle-independent, published-partial, transitive-dep
- Language: JavaScript
- Homepage:
- Size: 15.6 KB
- Stars: 0
- Watchers: 11
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# babel-preset-bonita
> Babel preset for all Bonita plugins.
## Install
```sh
$ npm install --save-dev babel-preset-bonita
```## Usage
### Via `.babelrc` (Recommended)
**.babelrc**
```json
{
"presets": ["bonita"]
}
```### Via CLI
```sh
$ babel script.js --presets bonita
```### Via Node API
```javascript
require("babel-core").transform("code", {
presets: ["bonita"]
});
```