UNPKG

2.55 kBJavaScriptView Raw
1module.exports = {
2 // es2015
3 "transform-es2015-arrow-functions": {
4 features: [
5 "arrow functions",
6 ],
7 },
8 "transform-es2015-block-scoped-functions": {
9 features: [
10 "block-level function declaration"
11 ],
12 },
13 "transform-es2015-block-scoping": {
14 features: [
15 "const",
16 "let",
17 ],
18 },
19 "transform-es2015-classes": {
20 features: [
21 "class",
22 "super",
23 ],
24 },
25 "transform-es2015-computed-properties": {
26 features: [
27 "object literal extensions / computed properties",
28 ],
29 },
30 "check-es2015-constants": {
31 features: [
32 "const",
33 ],
34 },
35 "transform-es2015-destructuring": {
36 features: [
37 "destructuring, assignment",
38 "destructuring, declarations",
39 "destructuring, parameters",
40 ],
41 },
42 "transform-es2015-for-of": {
43 features: [
44 "for..of loops",
45 ],
46 },
47 "transform-es2015-function-name": {
48 features: [
49 "function \"name\" property",
50 ]
51 },
52 "transform-es2015-literals": {
53 features: [
54 "Unicode code point escapes",
55 ],
56 },
57 "transform-es2015-object-super": {
58 features: [
59 "super",
60 ],
61 },
62 "transform-es2015-parameters": {
63 features: [
64 "default function parameters",
65 "rest parameters",
66 ],
67 },
68 "transform-es2015-shorthand-properties": {
69 features: [
70 "object literal extensions / shorthand properties",
71 ],
72 },
73 "transform-es2015-spread": {
74 features: [
75 "spread (...) operator",
76 ],
77 },
78 "transform-es2015-sticky-regex": {
79 features: [
80 "RegExp \"y\" and \"u\" flags / \"y\" flag, lastIndex",
81 "RegExp \"y\" and \"u\" flags / \"y\" flag",
82 ],
83 },
84 "transform-es2015-template-literals": {
85 features: [
86 "template literals",
87 ],
88 },
89 "transform-es2015-typeof-symbol": {
90 features: [
91 "Symbol / typeof support"
92 ],
93 },
94 "transform-es2015-unicode-regex": {
95 features: [
96 "RegExp \"y\" and \"u\" flags / \"u\" flag, case folding",
97 "RegExp \"y\" and \"u\" flags / \"u\" flag, Unicode code point escapes",
98 "RegExp \"y\" and \"u\" flags / \"u\" flag",
99 ],
100 },
101 "transform-regenerator": {
102 features: [
103 "generators",
104 ],
105 },
106
107 // es2016
108 "transform-exponentiation-operator": {
109 features: [
110 "exponentiation (**) operator",
111 ],
112 },
113
114 // es2017
115 "transform-async-to-generator": {
116 features: [
117 "async functions",
118 ],
119 },
120 "syntax-trailing-function-commas": {
121 features: [
122 "trailing commas in function syntax",
123 ],
124 }
125};