diff --git a/.DS_Store b/.DS_Store deleted file mode 100644 index 6611d78b..00000000 Binary files a/.DS_Store and /dev/null differ diff --git a/.babelrc b/.babelrc index 4f1c7815..182428a6 100644 --- a/.babelrc +++ b/.babelrc @@ -1,13 +1,29 @@ { - "presets": [ - ["@babel/preset-env", { - "modules": false - }], - "@babel/preset-react" - ], - "plugins": [ - ["@babel/plugin-proposal-decorators", { "legacy": true }], - ["@babel/plugin-syntax-dynamic-import"], - ["@babel/plugin-proposal-class-properties", { "loose" : true }], - ] -} + "presets": [ + "@babel/preset-react", + [ + "@babel/preset-env", + { + "targets": { + "browsers": [ + "last 2 versions", + "ios_saf >= 8", + "not IE <= 10", + "chrome >= 49", + "firefox >= 49", + "> 1%" + ] + }, + "loose": true, + "useBuiltIns": "usage", + "corejs": "2.6.5", + } + ] + ], + "plugins": [ + ["@babel/plugin-proposal-decorators", { "legacy": true }], + ["@babel/plugin-syntax-dynamic-import"], + ["@babel/plugin-proposal-object-rest-spread", { "useBuiltIns": "usage", "corejs": "2.6.5" }], + ["@babel/plugin-proposal-class-properties", { "useBuiltIns": "usage", "corejs": "2.6.5", "loose": true }] + ] +} \ No newline at end of file diff --git a/.eslintrc.js b/.eslintrc.js index 7e5186dc..74c6721a 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -6,12 +6,16 @@ module.exports = { amd : true, jquery : true, jest : true, + jasmine: true, }, globals: { Blockly: false, trackJs: false, jest: false, - dataLayer: false + dataLayer: false, + goog: false, + google: false, + gapi: false, }, rules: { camelcase : 0, diff --git a/travis.yml b/.travis.yml similarity index 100% rename from travis.yml rename to .travis.yml diff --git a/examples/.DS_Store b/examples/.DS_Store deleted file mode 100644 index a367de10..00000000 Binary files a/examples/.DS_Store and /dev/null differ diff --git a/examples/cli-examples/.DS_Store b/examples/cli-examples/.DS_Store deleted file mode 100644 index ab0ccbcc..00000000 Binary files a/examples/cli-examples/.DS_Store and /dev/null differ diff --git a/index.html b/index.html index a81b4524..2c4ddc47 100644 --- a/index.html +++ b/index.html @@ -8,7 +8,10 @@
- - + + + + -