Package detail

arab

rich-lab12MIT0.3.5

A zero-config library transarab based on baarab (Transpile only & No Bundle)

readme

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.

changelog

0.3.5 (2020-04-10)

Features

  • remove app to esm - set useBuiltIns to false under esm mode. (1a1a0d6)

0.3.4 (2020-04-01)

Bug Fixes

0.3.3 (2020-03-20)

Features

  • add shortcut -w for --watch flag. (d89efd8)
  • do not use "gulpOutputFilesLogger" under watch mode. (d162f9d)
  • replace original content to error log for build failed files. (315d021)

0.3.2 (2020-03-17)

Bug Fixes

  • watched main stream should be closed when process received SIGINT or SIGTERM. (1344d04)

0.3.1 (2020-03-17)

Bug Fixes

  • watcher should be closed when process exits. (a771ccb)

0.3.0 (2020-03-12)

Features

  • removing gulp-typescript implement generating d.ts (c96e1ea)

0.2.0 (2020-03-12)

Features

  • generate d.ts and speed up build for monorepo. (7a8f4c0)

0.1.2 (2020-03-10)

Features

  • set default node to 8.6.0 for cli preset (f85b371)

0.1.1 (2020-03-10)

Bug Fixes

  • incorrect bin name & config name. (be55419)

0.1.0 (2020-03-10)

Features