npm.io
0.3.5 • Published 6 years agoCLI

arab

Licence
MIT
Version
0.3.5
Deps
29
Size
28 kB
Vulns
0
Weekly
0
Stars
4

arab

NPM version NPM downloads Node.js CI codecov

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

  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 under Richlab Team, Released under the MIT License.