arab
Install
tnpm install arab --save-dev
Usage
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
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D
Author
arab © ULIVZ under Richlab Team, Released under the MIT License.