|
| 1 | +{ |
| 2 | + "presets": [ |
| 3 | + ["env", { |
| 4 | + "targets": { |
| 5 | + "browsers": ["last 3 versions", "Chrome >= 41", "Firefox >= 34", "Explorer >= 9", "Safari >= 9"] |
| 6 | + }, |
| 7 | + "exclude": [ |
| 8 | + "transform-regenerator", |
| 9 | + "es6.typed.array-buffer", |
| 10 | + "es6.typed.data-view", |
| 11 | + "es6.typed.int8-array", |
| 12 | + "es6.typed.uint8-array", |
| 13 | + "es6.typed.uint8-clamped-array", |
| 14 | + "es6.typed.int16-array", |
| 15 | + "es6.typed.uint16-array", |
| 16 | + "es6.typed.int32-array", |
| 17 | + "es6.typed.uint32-array", |
| 18 | + "es6.typed.float32-array", |
| 19 | + "es6.typed.float64-array", |
| 20 | + "es6.reflect.apply", |
| 21 | + "es6.reflect.construct", |
| 22 | + "es6.reflect.define-property", |
| 23 | + "es6.reflect.delete-property", |
| 24 | + "es6.reflect.get", |
| 25 | + "es6.reflect.get-own-property-descriptor", |
| 26 | + "es6.reflect.get-prototype-of", |
| 27 | + "es6.reflect.has", |
| 28 | + "es6.reflect.is-extensible", |
| 29 | + "es6.reflect.own-keys", |
| 30 | + "es6.reflect.prevent-extensions", |
| 31 | + "es6.reflect.set", |
| 32 | + "es6.reflect.set-prototype-of", |
| 33 | + "es6.math.acosh", |
| 34 | + "es6.math.acosh", |
| 35 | + "es6.math.asinh", |
| 36 | + "es6.math.atanh", |
| 37 | + "es6.math.cbrt", |
| 38 | + "es6.math.clz32", |
| 39 | + "es6.math.cosh", |
| 40 | + "es6.math.expm1", |
| 41 | + "es6.math.fround", |
| 42 | + "es6.math.hypot", |
| 43 | + "es6.math.imul", |
| 44 | + "es6.math.log1p", |
| 45 | + "es6.math.log10", |
| 46 | + "es6.math.log2", |
| 47 | + "es6.math.sign", |
| 48 | + "es6.math.sinh", |
| 49 | + "es6.math.tanh", |
| 50 | + "es6.math.tanh", |
| 51 | + "es6.math.trunc", |
| 52 | + "web.timers" |
| 53 | + ], |
| 54 | + "modules": false, |
| 55 | + "debug": false, |
| 56 | + "useBuiltIns": true |
| 57 | + }] |
| 58 | + ], |
| 59 | + "plugins": [ |
| 60 | + ["transform-object-rest-spread", {"useBuiltIns": true}] |
| 61 | + ], |
| 62 | + "env": { |
| 63 | + "commonjs": { |
| 64 | + "plugins": [ |
| 65 | + ["transform-es2015-modules-commonjs", {"loose": true}] |
| 66 | + ] |
| 67 | + }, |
| 68 | + "commonjs_dist": { |
| 69 | + "plugins": [ |
| 70 | + ["transform-es2015-modules-commonjs", {"loose": true}], |
| 71 | + ["babel-plugin-transform-require-ignore", {"extensions": [".css"]}] |
| 72 | + ] |
| 73 | + }, |
| 74 | + "commonjs_e2e": { |
| 75 | + "presets": [ |
| 76 | + ["env", { |
| 77 | + "targets": { |
| 78 | + "browsers": ["last 3 versions", "Chrome >= 41", "Firefox >= 34", "Explorer >= 9", "Safari >= 9"] |
| 79 | + }, |
| 80 | + "exclude": [ |
| 81 | + "es6.typed.array-buffer", |
| 82 | + "es6.typed.data-view", |
| 83 | + "es6.typed.int8-array", |
| 84 | + "es6.typed.uint8-array", |
| 85 | + "es6.typed.uint8-clamped-array", |
| 86 | + "es6.typed.int16-array", |
| 87 | + "es6.typed.uint16-array", |
| 88 | + "es6.typed.int32-array", |
| 89 | + "es6.typed.uint32-array", |
| 90 | + "es6.typed.float32-array", |
| 91 | + "es6.typed.float64-array", |
| 92 | + "es6.reflect.apply", |
| 93 | + "es6.reflect.construct", |
| 94 | + "es6.reflect.define-property", |
| 95 | + "es6.reflect.delete-property", |
| 96 | + "es6.reflect.get", |
| 97 | + "es6.reflect.get-own-property-descriptor", |
| 98 | + "es6.reflect.get-prototype-of", |
| 99 | + "es6.reflect.has", |
| 100 | + "es6.reflect.is-extensible", |
| 101 | + "es6.reflect.own-keys", |
| 102 | + "es6.reflect.prevent-extensions", |
| 103 | + "es6.reflect.set", |
| 104 | + "es6.reflect.set-prototype-of", |
| 105 | + "es6.math.acosh", |
| 106 | + "es6.math.acosh", |
| 107 | + "es6.math.asinh", |
| 108 | + "es6.math.atanh", |
| 109 | + "es6.math.cbrt", |
| 110 | + "es6.math.clz32", |
| 111 | + "es6.math.cosh", |
| 112 | + "es6.math.expm1", |
| 113 | + "es6.math.fround", |
| 114 | + "es6.math.hypot", |
| 115 | + "es6.math.imul", |
| 116 | + "es6.math.log1p", |
| 117 | + "es6.math.log10", |
| 118 | + "es6.math.log2", |
| 119 | + "es6.math.sign", |
| 120 | + "es6.math.sinh", |
| 121 | + "es6.math.tanh", |
| 122 | + "es6.math.tanh", |
| 123 | + "es6.math.trunc", |
| 124 | + "web.timers" |
| 125 | + ], |
| 126 | + "modules": false, |
| 127 | + "debug": false, |
| 128 | + "useBuiltIns": true |
| 129 | + }] |
| 130 | + ], |
| 131 | + "plugins": [ |
| 132 | + ["transform-es2015-modules-commonjs", {"loose": true}], |
| 133 | + ["babel-plugin-forbidden-imports", { |
| 134 | + "allowedModules": [ |
| 135 | + "window", |
| 136 | + "jasmine-co", |
| 137 | + "core-js/*", |
| 138 | + "regenerator-runtime/runtime", |
| 139 | + "./common", |
| 140 | + "./jasmine", |
| 141 | + "./MemoryLeakTest" |
| 142 | + ] |
| 143 | + }] |
| 144 | + ] |
| 145 | + }, |
| 146 | + "es": { |
| 147 | + "plugins": [ |
| 148 | + ["babel-plugin-transform-require-ignore", {"extensions": [".css"]}] |
| 149 | + ] |
| 150 | + } |
| 151 | + }, |
| 152 | + "ignore": [ |
| 153 | + "src/3rdparty/walkontable/dist/*", |
| 154 | + "src/3rdparty/walkontable/test/dist/*" |
| 155 | + ] |
| 156 | +} |
0 commit comments