ti.es6

1.1.7 • Public • Published

ti.es6 License

This module is a plugin for Appcelerator Titanium CLI that brings es6 into an Alloy project. It works thanks to Babel and Polyfill in order to transpile Alloy sources into fully a code that is ES5-compatible.

How to install it?

npm install -g ti.es6

How to use it?

You can either add the option --es6 with your build command:

appc run --es6 or ti build --es6

or, you may also define a boolean property in your tiapp.xml and avoid giving the option each time:

    ...
    <property name="es6" type="bool">true</property>
    ...

Changelog

  • 1.1 Avoid deleting and replacing original sources
  • 1.0 First version

Package Sidebar

Install

npm i ti.es6

Weekly Downloads

0

Version

1.1.7

License

MIT

Last publish

Collaborators

  • ktorz