https://github.com/ulivz/arab
A zero-config library transpiler based on babel (Transpile only & No Bundle)
https://github.com/ulivz/arab
Last synced: 7 months ago
JSON representation
A zero-config library transpiler based on babel (Transpile only & No Bundle)
- Host: GitHub
- URL: https://github.com/ulivz/arab
- Owner: ulivz
- License: mit
- Created: 2020-03-10T03:23:14.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-04-01T14:05:49.000Z (over 5 years ago)
- Last Synced: 2025-03-24T10:55:07.120Z (7 months ago)
- Language: JavaScript
- Homepage:
- Size: 59.6 KB
- Stars: 4
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# arab
[](https://npmjs.com/package/arab) [](https://npmjs.com/package/arab)  [](https://codecov.io/gh/rich-lab/arab)
## Install
```bash
tnpm install arab --save-dev
```## Usage
```bash
arab # Build for client library.
arab --preset=cli # Build Node CLI.
arab --monorepo # Enable monorepo build.
```## Options
### preset
- Type: `'app' | 'cli'`
- Description: build preset.The internal presets have following meanings:
- `'app'`: transpiled to ES Modules, and using the appropriate babel config for mobile application, tagets: `{ ios: 8, android: 4 }`;
- `'cli'`: transpiled to CommonJS Modules, and set targets to `{ node: 8 }`;### monorepo
- Type: `boolean`
- Description: whether to enable build for monorepo.## Contributing
1. Fork it!
2. Create your feature branch: `git checkout -b my-new-feature`
3. Commit your changes: `git commit -am 'Add some feature'`
4. Push to the branch: `git push origin my-new-feature`
5. Submit a pull request :D## Author
**arab** © [ULIVZ](https://github.com/ulivz) under [Richlab Team](https://www.yuque.com/richlab/join-us/invitation), Released under the [MIT](./LICENSE) License.