@dreipol/babel-preset-google-apps-script
v1.0.3
Published
Babel preset for Google Apps Script (surprise!)
Downloads
7
Keywords
Readme
babel-preset-google-apps-script
Babel preset for Google Apps Script (surprise!). The plugin is based on babel-preset-google-apps-script, and adapted for babel7 support.
Installation
npm install --save-dev @dreipol/babel-preset-google-apps-script
Usage
Via .babelrc
(recommended)
.babelrc
{
"presets": ["@dreipol/babel-preset-google-apps-script"]
}
Used plugins
- :white_check_mark: Used
- :o: Not used (not necessary)
- :x: Not used (failure)
- :grey_question: Unknown / untested
ES3
- :white_check_mark: member-expression-literals
- :white_check_mark: property-literals
- :grey_question: reserved-words
ES5
ES2015
- :white_check_mark: arrow-functions
- :white_check_mark: block-scoped-functions
- :white_check_mark: block-scoping
- :white_check_mark: classes
- :white_check_mark: computed-properties
- :white_check_mark: destructuring
- :white_check_mark: duplicate-keys
- :white_check_mark: for-of
- :white_check_mark: function-name
- :grey_question: instanceof
- :white_check_mark: literals
- :grey_question: new-target
- :white_check_mark: object-super
- :white_check_mark: parameters
- :white_check_mark: shorthand-properties
- :white_check_mark: spread
- :o: sticky-regex
- :white_check_mark: template-literals
- :x: typeof-symbol
- :white_check_mark: unicode-regex
ES2016
- :white_check_mark: exponentiation-operator
ES2017
ES2018
- :grey_question: async-generator-functions
- :grey_question: dotall-regex
- :grey_question: named-capturing-groups-regex
- :grey_question: object-rest-spread
- :grey_question: optional-catch-binding
- :grey_question: unicode-property-regex