UNPKG

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